cli.ApplyModel
ApplyModel(in_dataset, model, id_column, desc_columns, out_folder=‘./ApplyModel/’, verbose=False, save_parameters=False, overwrite=False)
Section titled “ApplyModel(in_dataset, model, id_column, desc_columns, out_folder=‘./ApplyModel/’, verbose=False, save_parameters=False, overwrite=False)”Apply Model
Section titled “Apply Model”Apply a model to a dataset. Features in the dataset will be scaled prior to applying the model.
Currently Supported Models
Section titled “Currently Supported Models”- SEMopy
- FactorAnalyzer
- sklearn
Example Usage
Section titled “Example Usage”ApplyModel –in-dataset dataset.xlsx –model model.pkl –id-column ID –desc-columns 1 –out-folder ./output -v -f -s
Parameters
Section titled “Parameters”in_dataset : Input dataset.
model : Path to the model to apply.
id_column : Column name to use as index.
desc_columns : Number of columns to use as descriptors.
out_folder : Output folder.
verbose : Increase verbosity.
save_parameters : Save parameters to a file.
overwrite : Overwrite output folder if it already exists.