Skip to content

Latest commit

 

History

History
176 lines (129 loc) · 3.88 KB

Add-LightGbmRankingTrainer.md

File metadata and controls

176 lines (129 loc) · 3.88 KB

Add-LightGbmRankingTrainer

Train a boosted decision tree ranking model using LightGBM.

Description

Train a boosted decision tree ranking model using LightGBM.

Syntax

Add-LightGbmRankingTrainer [[-LabelColumn] <String>] [[-FeatureColumn] <String>] [[-RowGroupColumn] <String>] [[-ExampleWeightColumn] <String>] [-Leaves <Nullable<Int32>>] [-MinExampleCountPerLeaf <Nullable<Int32>>] [-LearningRate <Nullable<Double>>] [-Iterations <Int32>] [-AppendTo <EstimatorChain<ITransformer>>] [-AppendScope <TransformerScope>] [-Context <MLContext>] [<CommonParameters>]

Parameters

-LabelColumn

The name of the label column. The column data must be Single or KeyDataViewType.

Type: System.String
Required: False
Position: 0
Default value: Label
Accept pipeline input: False
Accept wildcard characters: False

-FeatureColumn

The name of the feature column. The column data must be a known-sized vector of Single.

Type: System.String
Required: False
Position: 1
Default value: Features
Accept pipeline input: False
Accept wildcard characters: False

-RowGroupColumn

The name of the group column.

Type: System.String
Required: False
Position: 2
Default value: GroupId
Accept pipeline input: False
Accept wildcard characters: False

-ExampleWeightColumn

The name of the example weight column (optional).

Type: System.String
Required: False
Position: 3
Default value: null
Accept pipeline input: False
Accept wildcard characters: False

-Leaves

The maximum number of leaves in one tree.

Type: System.Int32
Required: False
Position: named
Default value: null
Accept pipeline input: False
Accept wildcard characters: False

-MinExampleCountPerLeaf

The minimal number of data points required to form a new tree leaf.

Type: System.Int32
Required: False
Position: named
Default value: null
Accept pipeline input: False
Accept wildcard characters: False

-LearningRate

The learning rate.

Type: System.Double
Required: False
Position: named
Default value: null
Accept pipeline input: False
Accept wildcard characters: False

-Iterations

The number of boosting iterations. A new tree is created in each iteration, so this is equivalent to the number of trees.

Type: System.Int32
Required: False
Position: named
Default value: 100
Accept pipeline input: False
Accept wildcard characters: False

-AppendTo

Append the created estimator to the end of this chain.

Type: Microsoft.ML.Data.EstimatorChain<Microsoft.ML.ITransformer>
Required: False
Position: named
Default value: null
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-AppendScope

The scope allows for 'tagging' the estimators (and subsequently transformers) in the chain to be used 'only for training', 'for training and evaluation' etc.

Type: Microsoft.ML.Data.TransformerScope
Required: False
Position: named
Default value: Everything
Accept pipeline input: False
Accept wildcard characters: False

-Context

The context on which to perform the action. If omitted, the current (cached) context will be used.

Type: Microsoft.ML.MLContext
Required: False
Position: named
Default value: Current context
Accept pipeline input: False
Accept wildcard characters: False

Common parameters

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.

Inputs

Type Description
Microsoft.ML.Data.EstimatorChain<Microsoft.ML.ITransformer> You can pipe the EstimatorChain to append to this cmdlet.

Outputs

Type Description
Microsoft.ML.Data.EstimatorChain<Microsoft.ML.ITransformer> This cmdlet returns the appended EstimatorChain.