deepsulci.pattern_classification.capsul.snipe_labeling.PatternSnipeLabeling¶
PatternSnipeLabeling¶
Process to recognize a searched fold pattern using the Scoring by Non-local Image PAtch Estimator (SNIPE) based model (Coupé et al., 2012).
Note
Type ‘PatternSnipeLabeling.help()’ for a full description of this process parameters.
Type ‘<PatternSnipeLabeling>.get_input_spec()’ for a full description of this process input trait types.
Type ‘<PatternSnipeLabeling>.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
- traindata_file: a string or os.PathLike object ([‘File’] - mandatory)
file (.json) storing the data extracted from the training base graphs
- param_file: a string or os.PathLike object ([‘File’] - mandatory)
file (.json) storing the hyperparameters (OPM number, patch sizes)
[Optional]
- num_cpu: an integer ([‘Int’] - optional)
number of processes that can be used to parallel the calculations
Outputs¶
- result_file: a string or os.PathLike object ([‘File (filename: input)’] - mandatory)
file (.csv) with predicted class (y_pred) for each of the input graphs