Skip to content
Snippets Groups Projects
Commit c301e584 authored by bbauvin's avatar bbauvin
Browse files

Trying to fix segmentation fault

parent 70db5a19
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,7 @@ def ExecMonoview(X, Y, name, learningRate, nbFolds, nbCores, databaseType, path,
logging.debug("Start:\t Determine Train/Test split")
testIndices = ClassifMonoView.splitDataset(Y, nbClass, learningRate, datasetLength)
trainIndices = [i for i in range(datasetLength) if i not in testIndices]
print "poulet"
print sparse.eye(347)*X
X_train = X[trainIndices]#ClassifMonoView.extractSet(X, trainIndices)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment