FindBestModel¶
-
class
FindBestModel.BestModel(java_model=None)[source]¶ Bases:
mmlspark.Utils.ComplexParamsMixin,pyspark.ml.wrapper.JavaModel,pyspark.ml.util.JavaMLWritable,pyspark.ml.util.JavaMLReadableModel fitted by
FindBestModel.This class is left empty on purpose. All necessary methods are exposed through inheritance.
-
class
FindBestModel.FindBestModel(evaluationMetric='accuracy', models=None)[source]¶ Bases:
mmlspark.Utils.ComplexParamsMixin,pyspark.ml.util.JavaMLReadable,pyspark.ml.util.JavaMLWritable,pyspark.ml.wrapper.JavaEstimatorEvaluates and chooses the best model from a list of models.
Parameters: -
getEvaluationMetric()[source]¶ Returns: Metric to evaluate models with (default: accuracy) Return type: str
-