Skip to content
Snippets Groups Projects
Commit 31f2741f authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

Small mod

parent ef0c86ee
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ def gridSearch(X_train, y_train, nbFolds=4, metric=["accuracy_score", None], nIt ...@@ -45,7 +45,7 @@ def gridSearch(X_train, y_train, nbFolds=4, metric=["accuracy_score", None], nIt
# scorer = metricModule.get_scorer(**metricKWARGS) # scorer = metricModule.get_scorer(**metricKWARGS)
# grid = RandomizedSearchCV(pipeline, n_iter=nIter, param_distributions=param,refit=True,n_jobs=nbCores,scoring=scorer,cv=nbFolds) # grid = RandomizedSearchCV(pipeline, n_iter=nIter, param_distributions=param,refit=True,n_jobs=nbCores,scoring=scorer,cv=nbFolds)
# detector = grid.fit(X_train, y_train) # detector = grid.fit(X_train, y_train)
desc_estimators = [5] desc_estimators = [4]
return desc_estimators return desc_estimators
......
...@@ -735,7 +735,7 @@ def getModifiedMultiOmicDBcsv(features, path, name, NB_CLASS, LABELS_NAMES): ...@@ -735,7 +735,7 @@ def getModifiedMultiOmicDBcsv(features, path, name, NB_CLASS, LABELS_NAMES):
def getModifiedMultiOmicDBhdf5(features, path, name, NB_CLASS, LABELS_NAMES): def getModifiedMultiOmicDBhdf5(features, path, name, NB_CLASS, LABELS_NAMES):
datasetFile = h5py.File(path+"ModifiedMultiOmic.hdf5", "r") datasetFile = h5py.File(path+"ModifiedMultiOmicb.hdf5", "r")
labelDictionary = {0:"No", 1:"Yes"} labelDictionary = {0:"No", 1:"Yes"}
return datasetFile, labelDictionary return datasetFile, labelDictionary
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment