Skip to content

NA Handling #515

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

Closed
satish860 opened this issue Jul 10, 2018 · 5 comments
Closed

NA Handling #515

satish860 opened this issue Jul 10, 2018 · 5 comments
Labels
documentation Related to documentation of ML.NET good first issue Good for newcomers

Comments

@satish860
Copy link

System information

  • OS version/distro: Windows
  • .NET Version (eg., dotnet --info): 2.1.1

Issue

  • What did you do?
    I was trying to work on Titanic kaggle problem and trying to train and I am looking for an example of how to handle Null values.
    I have seen handling option but not able to find how to use it in Pipeline.

Between one difference I have seen between Python interfaces and .net is the ability to experiment easily and I am finding it bit harder to do here. If you have any practices it will be helpful if we can discuss here.

@jwood803
Copy link
Contributor

I may be mistaken, but I think you should be able to use the NADrop and/or the NAReplace transforms.

public sealed class NADropTransform : OneToOneTransformBase

public sealed partial class NAReplaceTransform : OneToOneTransformBase

@satish860
Copy link
Author

Unfortunately, both of them has not implemented the ILearningPipeLineItem interface. So I was not able to use the same.

@zeahmed
Copy link
Contributor

zeahmed commented Jul 10, 2018

The name is different in C# API. it is MissingValueHandler. We have a work item #371 where we are going to remove higher level abstraction and use the components directly as mentioned by @jwood803. But for now MissingValueHandler will do your job.

Python and C# are totally two different environments. Since you are accustom to Python, you feel bit uneasy in C#/ML.Net. Once you get familiar with ML.Net environment I believe you will find it more convenient than Python.

Let me know where you are facing difficulty I will be able to help...:)

@CESARDELATORRE
Copy link
Contributor

CESARDELATORRE commented Jul 10, 2018

Additionally, for the ability to experiment easily we're researching and developing additional approaches/UIs for experiments, data transforms and trainings, so it'll be a lot easier than just by using the APIs.
That will be coming in future releases, we still cannot comment any further until we make further announcements in previews.
Our goal is to have "the ability to experiment easily" as best in class. Stay tuned! 👍

@sfilipi
Copy link
Member

sfilipi commented Dec 7, 2018

This will be called complete after adding a sample for MissingValueHandling/Indicator/Replacing transforms.

@sfilipi sfilipi added help wanted good first issue Good for newcomers documentation Related to documentation of ML.NET labels Dec 7, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Related to documentation of ML.NET good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants