ben519 / mltools

Exploratory and diagnostic machine learning tools for R
Other
72 stars 26 forks source link

Make one_hot() work for vector input #8

Open ben519 opened 7 years ago

ben519 commented 7 years ago

one_hot(x) should work if x is a factor vector, not just if it's a data.table