Skip to content
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

Add feature request, Multilabel classification and predict_proba #3909

Open
agerewines opened this issue Jun 26, 2019 · 2 comments
Open

Add feature request, Multilabel classification and predict_proba #3909

agerewines opened this issue Jun 26, 2019 · 2 comments
Labels
enhancement New feature or request onnx Exporting ONNX models or loading ONNX models P2 Priority of the issue for triage purpose: Needs to be fixed at some point.

Comments

@agerewines
Copy link

System information

  • OS version/distro: Windows 10
  • .NET Version (eg., dotnet --info): 2.1.602
  • ML.NET Version: 1.1.0

Hi everyone,
I'm looking for help. I developed some ML models in Python and I'm now trying to import them in ML.NET because my final app is in .NET Core.

I started reading some tutorials and follow step-by-step tutorials from Microsoft. But I can't find out if there is a simple way to implement some features, like:

  • multilabel classification: I need to predict a label which can have different values that can be right.
  • predict probabilities of classes: in multiclass I can't find a way to implement the predict_proba() of sklearn, where I get in return the probabilities of every class. So that I can show the first two or three most probable classes.

If anyone has some tutorials on how to do this things, or knows if they are planned in the next updates of the library.

Otherwise is there a way to easily implements my python models in a .NET core app?

Thanks,
Alessandro

@gvashishtha
Copy link
Contributor

@ImGere have you tried exporting your Python models to ONNX and loading them with an ONNX Transformer? https://docs.microsoft.com/en-us/dotnet/api/microsoft.ml.transforms.onnx.onnxtransformer?view=ml-dotnet

@gvashishtha gvashishtha added the enhancement New feature or request label Dec 10, 2019
@migratingcub
Copy link

Is there an update on if ML.Net will support Multi-label classification out of the box?

@Lynx1820 Lynx1820 added the P2 Priority of the issue for triage purpose: Needs to be fixed at some point. label Jan 10, 2020
@harishsk harishsk added the onnx Exporting ONNX models or loading ONNX models label Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request onnx Exporting ONNX models or loading ONNX models P2 Priority of the issue for triage purpose: Needs to be fixed at some point.
Projects
None yet
Development

No branches or pull requests

5 participants