ApplyModel
ApplyModel(in_dataset, model, id_column, desc_columns, out_folder=’./ApplyModel/’, verbose=False, save_parameters=False, overwrite=False)
Apply Model
Apply a model to a dataset. Features in the dataset will be scaled prior to applying the model.
Currently Supported Models
- SEMopy
- FactorAnalyzer
- sklearn
Example Usage
ApplyModel –in-dataset dataset.xlsx –model model.pkl –id-column ID –desc-columns 1 –out-folder ./output -v -f -s
Parameters
in_dataset : List of input datasets.
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.