-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add XML to LBFGS Maximum Entropy Classifier #3389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 10 commits
003209c
3284e6a
36038ad
ba43372
ee7e56b
0dc6331
614412a
81e745b
ea73b99
3422aaa
ed07175
8031c70
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
### Input and Output Columns | ||
The input label column data must be [key-typed](xref:Microsoft.ML.Data.KeyDataViewType) and the feature column must be a known-sized vector of <xref:System.Single>. | ||
|
||
This trainer outputs the following columns: | ||
|
||
| Output Column Name | Column Type | Description| | ||
| -- | -- | -- | | ||
| `Score` | vector of <xref:System.Single> | The scores of all classes. Higher value means higher probability to fall into the associated class. If the i-th element has the largest value, the predicted label index would be i. Note that i is zero-based index. | | ||
| `PredictedLabel` | <xref:System.UInt32> | The predicted label's index. If it's value is i, the actual label would be the i-th category in the key-valued input label type. Note that i is zero-based index. | |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -521,8 +521,8 @@ public static OnlineGradientDescentTrainer OnlineGradientDescent(this Regression | |
/// Predict a target using a linear binary classification model trained with the <see cref="Trainers.LbfgsLogisticRegressionBinaryTrainer"/> trainer. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Create , which predicts a ... #Resolved There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is binary classifier. I shouldn't touch it. Thanks! In reply to: 277117848 [](ancestors = 277117848) |
||
/// </summary> | ||
/// <param name="catalog">The binary classification catalog trainer object.</param> | ||
/// <param name="labelColumnName">The name of the label column.</param> | ||
/// <param name="featureColumnName">The name of the feature column.</param> | ||
/// <param name="labelColumnName">The name of the label column. The column data must be <see cref="Microsoft.ML.Data.KeyDataViewType"/>.</param> | ||
/// <param name="featureColumnName">The name of the feature column. The column data must be a known-sized vector of <see cref="System.Single"/>.</param> | ||
/// <param name="exampleWeightColumnName">The name of the example weight column (optional).</param> | ||
/// <param name="enforceNonNegativity">Enforce non-negative weights.</param> | ||
/// <param name="l1Regularization">The L1 <a href='https://en.wikipedia.org/wiki/Regularization_(mathematics)'>regularization</a> hyperparameter. Higher values will tend to lead to more sparse model.</param> | ||
|
@@ -626,11 +626,11 @@ public static LbfgsPoissonRegressionTrainer LbfgsPoissonRegression(this Regressi | |
} | ||
|
||
/// <summary> | ||
/// Predict a target using a maximum entropy classification model trained with the L-BFGS method implemented in <see cref="LbfgsMaximumEntropyMulticlassTrainer"/>. | ||
/// Create <see cref="LbfgsMaximumEntropyMulticlassTrainer"/>, which predicts a target using a maximum entropy classification model trained with the L-BFGS method. | ||
/// </summary> | ||
/// <param name="catalog">The <see cref="MulticlassClassificationCatalog.MulticlassClassificationTrainers"/>.</param> | ||
/// <param name="labelColumnName">The name of the label column.</param> | ||
/// <param name="featureColumnName">The name of the feature column.</param> | ||
/// <param name="labelColumnName">The name of the label column. The column data must be <see cref="Microsoft.ML.Data.KeyDataViewType"/>.</param> | ||
/// <param name="featureColumnName">The name of the feature column. The column data must be a known-sized vector of <see cref="System.Single"/>.</param> | ||
/// <param name="exampleWeightColumnName">The name of the example weight column (optional).</param> | ||
/// <param name="enforceNonNegativity">Enforce non-negative weights.</param> | ||
/// <param name="l1Regularization">The L1 <a href='https://en.wikipedia.org/wiki/Regularization_(mathematics)'>regularization</a> hyperparameter. Higher values will tend to lead to more sparse model.</param> | ||
|
@@ -659,7 +659,7 @@ public static LbfgsMaximumEntropyMulticlassTrainer LbfgsMaximumEntropy(this Mult | |
} | ||
|
||
/// <summary> | ||
/// Predict a target using a maximum entropy classification model trained with the L-BFGS method implemented in <see cref="LbfgsMaximumEntropyMulticlassTrainer"/>. | ||
/// Create <see cref="LbfgsMaximumEntropyMulticlassTrainer"/> with advanced options, which predicts a target using a maximum entropy classification model trained with the L-BFGS method. | ||
/// </summary> | ||
/// <param name="catalog">The <see cref="MulticlassClassificationCatalog.MulticlassClassificationTrainers"/>.</param> | ||
/// <param name="options">Advanced arguments to the algorithm.</param> | ||
|
Uh oh!
There was an error while loading. Please reload this page.