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

Text classification : Target 4294967295 is out of bounds #6534

Open
LittleLittleCloud opened this issue Jan 5, 2023 · 2 comments
Open

Text classification : Target 4294967295 is out of bounds #6534

LittleLittleCloud opened this issue Jan 5, 2023 · 2 comments
Milestone

Comments

@LittleLittleCloud
Copy link
Contributor

System Information (please complete the following information):

  • ML.NET Version: 2.0

Describe the bug

Detailed info can be found in
#dotnet/machinelearning-modelbuilder#2369

@ghost ghost added the untriaged New issue has not been triaged label Jan 5, 2023
@LittleLittleCloud
Copy link
Contributor Author

It seems that if label's value is NaN or any values that not appear in ValueToKey term mapper, that label will be mapped to 0.

public override ValueMapper<T, uint> GetKeyMapper()

So maybe a fix can be proccessing data and filter out the rows where label is null before training in text classification?

@michaelgsharp michaelgsharp added this to the ML.NET 3.0 milestone Feb 6, 2023
@ghost ghost removed the untriaged New issue has not been triaged label Feb 6, 2023
@michaelgsharp
Copy link
Member

Yeah, the torch sharp model is 1 based. I don't know if they have an "unknown" value or not. If they do we need to map 0 to that correctly. If not we need to filter it out before we pass it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants