deepsulci.pattern_classification.capsul.svm_labeling.PatternSVMLabeling

PatternSVMLabeling

Process to recognize a searched fold pattern using a Support Vector Machine (SVM) classifier.

Note

  • Type ‘PatternSVMLabeling.help()’ for a full description of this process parameters.
  • Type ‘<PatternSVMLabeling>.get_input_spec()’ for a full description of this process input trait types.
  • Type ‘<PatternSVMLabeling>.get_output_spec()’ for a full description of this process output trait types.

Inputs

[Mandatory]

graphs: a legal value ([‘List_File’] - mandatory)
graphs to classify
clf_file: a file name ([‘File’] - mandatory)
file (.sav) storing the trained SVM classifier
scaler_file: a file name ([‘File’] - mandatory)
file (.sav) storing the scaler
param_file: a file name ([‘File’] - mandatory)
file (.json) storing the hyperparameters (C, gamma, initial tranlations)

Outputs

result_file: a file name ([‘File (filename: input)’] - mandatory)
file (.csv) with predicted class (y_pred) for each of the input graphs