public class LightGBMModelCreator extends Object implements com.feedzai.openml.provider.model.MachineLearningModelTrainer<LightGBMBinaryClassificationModel>
| Modifier and Type | Field and Description |
|---|---|
static String |
MODEL_BINARY_RESOURCE_FILE_NAME
LightGBM model resource file name inside the mode folder, when model is saved/loaded in/from directory.
|
| Constructor and Description |
|---|
LightGBMModelCreator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
LightGBMBinaryClassificationModel |
fit(com.feedzai.openml.data.Dataset dataset,
Random random,
Map<String,String> params) |
LightGBMBinaryClassificationModel |
loadModel(Path modelPath,
com.feedzai.openml.data.schema.DatasetSchema schema) |
com.feedzai.openml.data.schema.DatasetSchema |
loadSchema(Path modelPath) |
List<com.feedzai.openml.provider.descriptor.fieldtype.ParamValidationError> |
validateForFit(Path pathToPersist,
com.feedzai.openml.data.schema.DatasetSchema schema,
Map<String,String> params) |
List<com.feedzai.openml.provider.descriptor.fieldtype.ParamValidationError> |
validateForLoad(Path modelPath,
com.feedzai.openml.data.schema.DatasetSchema schema,
Map<String,String> params) |
public static final String MODEL_BINARY_RESOURCE_FILE_NAME
public LightGBMModelCreator()
public LightGBMBinaryClassificationModel fit(com.feedzai.openml.data.Dataset dataset, Random random, Map<String,String> params)
fit in interface com.feedzai.openml.provider.model.MachineLearningModelTrainer<LightGBMBinaryClassificationModel>public List<com.feedzai.openml.provider.descriptor.fieldtype.ParamValidationError> validateForFit(Path pathToPersist, com.feedzai.openml.data.schema.DatasetSchema schema, Map<String,String> params)
validateForFit in interface com.feedzai.openml.provider.model.MachineLearningModelTrainer<LightGBMBinaryClassificationModel>public LightGBMBinaryClassificationModel loadModel(Path modelPath, com.feedzai.openml.data.schema.DatasetSchema schema) throws com.feedzai.openml.provider.exception.ModelLoadingException
loadModel in interface com.feedzai.openml.provider.model.MachineLearningModelLoader<LightGBMBinaryClassificationModel>com.feedzai.openml.provider.exception.ModelLoadingExceptionpublic List<com.feedzai.openml.provider.descriptor.fieldtype.ParamValidationError> validateForLoad(Path modelPath, com.feedzai.openml.data.schema.DatasetSchema schema, Map<String,String> params)
validateForLoad in interface com.feedzai.openml.provider.model.MachineLearningModelLoader<LightGBMBinaryClassificationModel>public com.feedzai.openml.data.schema.DatasetSchema loadSchema(Path modelPath) throws com.feedzai.openml.provider.exception.ModelLoadingException
loadSchema in interface com.feedzai.openml.provider.model.MachineLearningModelLoader<LightGBMBinaryClassificationModel>com.feedzai.openml.provider.exception.ModelLoadingExceptionCopyright © 2022 Feedzai. All rights reserved.