public class LightGBMBinaryClassificationModel extends Object implements com.feedzai.openml.model.ClassificationMLModel
| Modifier and Type | Method and Description |
|---|---|
int |
classify(com.feedzai.openml.data.Instance instance) |
void |
close() |
String[] |
getBoosterFeatureNames() |
int |
getBoosterNumFeatures() |
int |
getBoosterNumIterations() |
double[] |
getClassDistribution(com.feedzai.openml.data.Instance instance) |
com.feedzai.openml.data.schema.DatasetSchema |
getSchema() |
boolean |
isModelBinary() |
boolean |
save(Path dir,
String name) |
public double[] getClassDistribution(com.feedzai.openml.data.Instance instance)
getClassDistribution in interface com.feedzai.openml.model.ClassificationMLModelpublic int classify(com.feedzai.openml.data.Instance instance)
classify in interface com.feedzai.openml.model.ClassificationMLModelpublic boolean save(Path dir, String name)
save in interface com.feedzai.openml.model.MachineLearningModelpublic com.feedzai.openml.data.schema.DatasetSchema getSchema()
getSchema in interface com.feedzai.openml.model.MachineLearningModelpublic void close()
throws Exception
close in interface AutoCloseableExceptionpublic int getBoosterNumFeatures()
public String[] getBoosterFeatureNames()
public int getBoosterNumIterations()
public boolean isModelBinary()
Copyright © 2022 Feedzai. All rights reserved.