cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Mr__E
by Contributor II
  • 2232 Views
  • 2 replies
  • 2 kudos

Resolved! OneHotEncoder fails with 'Cannot have an empty string for name'

I have followed the basic guide on using OneHotEncoder, matching the syntax exactly with my own data tables. The tables have enumerated string values. I first run a StringIndexer (both with and without handleInvalid set):indexer = StringIndexer( ...

  • 2232 Views
  • 2 replies
  • 2 kudos
Latest Reply
EliasHaydar
New Contributor II
  • 2 kudos

Nice catch ! Indeed, the error is misleading. In my case, it was a specific column that had a string with just whitespaces.

  • 2 kudos
1 More Replies
Anonymous
by Not applicable
  • 704 Views
  • 0 replies
  • 0 kudos

Feature Discovery

How would one discover features here and also know how to make sense of these features?Ideally, we can trace the usage of features in code as well.

  • 704 Views
  • 0 replies
  • 0 kudos
Labels