You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am testing about document classification.
It return only single label.
I want to list of prediction with weight.
It would look like below,
public class DocumentPrediction
{
[ColumnName("PredictedLabel")]
public string Label {get;set;}
public float Weight {get;set;}
}
,
PredictionModel<DocumentData , List<DocumentPrediction>>
Is that possible with StochasticDualCoordinateAscentClassifier? How can I do that?
There is no ref about this.
Seems like you want scores for all the classes. If that is the case add a column of type float[] and then add a ColumnName attribute on it called "Score", this will give you all the scores. To get scores to label names use TryGetScoreLabelNames as shown in the scenario example.
Yes, it is not part of the current public nuget but will be part of the next one. In the meantime you can clone master branch and generate nuget locally to use this API. You can test this locally by doing the following:
build.cmd
build.cmd -buildPackages
Activity
codemzs commentedon May 28, 2018
Hi @ecofee ,
Seems like you want scores for all the classes. If that is the case add a column of type float[] and then add a ColumnName attribute on it called "Score", this will give you all the scores. To get scores to label names use TryGetScoreLabelNames as shown in the scenario example.
ecofee commentedon May 28, 2018
Thanks. But, There is no TryGetScoreLabelNames in ML.
.net framework 4.7.1
Microsoft.ML 0.1.0(Nuget)
codemzs commentedon May 28, 2018
Yes, it is not part of the current public nuget but will be part of the next one. In the meantime you can clone master branch and generate nuget locally to use this API. You can test this locally by doing the following:
build.cmd
build.cmd -buildPackages
Please delete the bin folder before doing this.
ecofee commentedon May 28, 2018
It helped me. Thanks again.
shauheen commentedon May 31, 2018
@ecofee you can also use the myget feed for daily nugets. Please let us know if we can close the issue. Thanks.
abgoswam commentedon Oct 18, 2018
DRI RESPONSE: Issue seems to have been answered. I plan to close the issue withing the next few days.
Private preview final API changes (dotnet#250)
code migration from machinelearning-automl to machinelearning repo fe…
Private preview final API changes (dotnet#250)
Added onnx export functionality for LpNormNormalizingTransformer (#4161)
Added Onnx export functionality to PCATransformer (#4188)