Share via


AutoCatalog.BinaryClassification Method

Definition

Create a list of SweepableEstimator for binary classification.

public Microsoft.ML.AutoML.SweepablePipeline BinaryClassification (string labelColumnName = "Label", string featureColumnName = "Features", string exampleWeightColumnName = default, bool useFastForest = true, bool useLgbm = true, bool useFastTree = true, bool useLbfgsLogisticRegression = true, bool useSdcaLogisticRegression = true, Microsoft.ML.AutoML.CodeGen.FastTreeOption fastTreeOption = default, Microsoft.ML.AutoML.CodeGen.LgbmOption lgbmOption = default, Microsoft.ML.AutoML.CodeGen.FastForestOption fastForestOption = default, Microsoft.ML.AutoML.CodeGen.LbfgsOption lbfgsLogisticRegressionOption = default, Microsoft.ML.AutoML.CodeGen.SdcaOption sdcaLogisticRegressionOption = default, Microsoft.ML.SearchSpace.SearchSpace<Microsoft.ML.AutoML.CodeGen.FastTreeOption> fastTreeSearchSpace = default, Microsoft.ML.SearchSpace.SearchSpace<Microsoft.ML.AutoML.CodeGen.LgbmOption> lgbmSearchSpace = default, Microsoft.ML.SearchSpace.SearchSpace<Microsoft.ML.AutoML.CodeGen.FastForestOption> fastForestSearchSpace = default, Microsoft.ML.SearchSpace.SearchSpace<Microsoft.ML.AutoML.CodeGen.LbfgsOption> lbfgsLogisticRegressionSearchSpace = default, Microsoft.ML.SearchSpace.SearchSpace<Microsoft.ML.AutoML.CodeGen.SdcaOption> sdcaLogisticRegressionSearchSpace = default);
member this.BinaryClassification : string * string * string * bool * bool * bool * bool * bool * Microsoft.ML.AutoML.CodeGen.FastTreeOption * Microsoft.ML.AutoML.CodeGen.LgbmOption * Microsoft.ML.AutoML.CodeGen.FastForestOption * Microsoft.ML.AutoML.CodeGen.LbfgsOption * Microsoft.ML.AutoML.CodeGen.SdcaOption * Microsoft.ML.SearchSpace.SearchSpace<Microsoft.ML.AutoML.CodeGen.FastTreeOption> * Microsoft.ML.SearchSpace.SearchSpace<Microsoft.ML.AutoML.CodeGen.LgbmOption> * Microsoft.ML.SearchSpace.SearchSpace<Microsoft.ML.AutoML.CodeGen.FastForestOption> * Microsoft.ML.SearchSpace.SearchSpace<Microsoft.ML.AutoML.CodeGen.LbfgsOption> * Microsoft.ML.SearchSpace.SearchSpace<Microsoft.ML.AutoML.CodeGen.SdcaOption> -> Microsoft.ML.AutoML.SweepablePipeline
Public Function BinaryClassification (Optional labelColumnName As String = "Label", Optional featureColumnName As String = "Features", Optional exampleWeightColumnName As String = Nothing, Optional useFastForest As Boolean = true, Optional useLgbm As Boolean = true, Optional useFastTree As Boolean = true, Optional useLbfgsLogisticRegression As Boolean = true, Optional useSdcaLogisticRegression As Boolean = true, Optional fastTreeOption As FastTreeOption = Nothing, Optional lgbmOption As LgbmOption = Nothing, Optional fastForestOption As FastForestOption = Nothing, Optional lbfgsLogisticRegressionOption As LbfgsOption = Nothing, Optional sdcaLogisticRegressionOption As SdcaOption = Nothing, Optional fastTreeSearchSpace As SearchSpace(Of FastTreeOption) = Nothing, Optional lgbmSearchSpace As SearchSpace(Of LgbmOption) = Nothing, Optional fastForestSearchSpace As SearchSpace(Of FastForestOption) = Nothing, Optional lbfgsLogisticRegressionSearchSpace As SearchSpace(Of LbfgsOption) = Nothing, Optional sdcaLogisticRegressionSearchSpace As SearchSpace(Of SdcaOption) = Nothing) As SweepablePipeline

Parameters

labelColumnName
String

label column name.

featureColumnName
String

feature column name.

exampleWeightColumnName
String

example weight column name.

useFastForest
Boolean

true if use fast forest as available trainer.

useLgbm
Boolean

true if use lgbm as available trainer.

useFastTree
Boolean

true if use fast tree as available trainer.

useLbfgsLogisticRegression
Boolean

true if use LbfgsLogisticRegressionBinaryTrainer as available trainer.

useSdcaLogisticRegression
Boolean

true if use SdcaLogisticRegressionBinaryTrainer as available trainer.

fastTreeOption
FastTreeOption

if provided, use it as initial option for fast tree, otherwise the default option will be used.

lgbmOption
LgbmOption

if provided, use it as initial option for lgbm, otherwise the default option will be used.

fastForestOption
FastForestOption

if provided, use it as initial option for fast forest, otherwise the default option will be used.

lbfgsLogisticRegressionOption
LbfgsOption

if provided, use it as initial option for lbfgsLogisticRegressionSearchSpace, otherwise the default option will be used.

sdcaLogisticRegressionOption
SdcaOption

if provided, use it as initial option for sdcaLogisticRegressionSearchSpace, otherwise the default option will be used.

fastTreeSearchSpace
SearchSpace<FastTreeOption>

if provided, use it as search space for fast tree, otherwise the default search space will be used.

lgbmSearchSpace
SearchSpace<LgbmOption>

if provided, use it as search space for lgbm, otherwise the default search space will be used.

fastForestSearchSpace
SearchSpace<FastForestOption>

if provided, use it as search space for fast forest, otherwise the default search space will be used.

lbfgsLogisticRegressionSearchSpace
SearchSpace<LbfgsOption>

if provided, use it as search space for LbfgsLogisticRegressionBinaryTrainer, otherwise the default search space will be used.

sdcaLogisticRegressionSearchSpace
SearchSpace<SdcaOption>

if provided, use it as search space for SdcaLogisticRegressionBinaryTrainer, otherwise the default search space will be used.

Returns

Applies to