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

Minor change

parent ce4ed2b8
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ def initConstants(args, X, classificationIndices, labelsNames, name, directory): ...@@ -32,7 +32,7 @@ def initConstants(args, X, classificationIndices, labelsNames, name, directory):
feat = X.attrs["name"] feat = X.attrs["name"]
CL_type = kwargs["CL_type"] CL_type = kwargs["CL_type"]
X = getValue(X) X = getValue(X)
learningRate = len(classificationIndices[0]) / (len(classificationIndices[0]) + len(classificationIndices[1])) learningRate = float(len(classificationIndices[0])) / (len(classificationIndices[0]) + len(classificationIndices[1]))
labelsString = "-".join(labelsNames) labelsString = "-".join(labelsNames)
timestr = time.strftime("%Y%m%d-%H%M%S") timestr = time.strftime("%Y%m%d-%H%M%S")
CL_type_string = CL_type CL_type_string = CL_type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment