![]() ![]() Since every machine learning model requires the exact mathematical and statistical computation,in order to show the relevant predictions.These predictions can only be achieved if one has a numerical datatype in its columns.Therefore Label Encoding and One Hot Encoding are the renowned techniques which are frequently opted by most of the macine learning experts. But Why?.īeing a object datatype or a string based categorical term can pass out the hindrance while applying different machine learning techniques. Firstly we need to understand while building a machine learning models, we need to convert our data from object datatype to int/float based value. ![]() One hot encoding/Label Encoder is a process by which categorical variables(string based values) are converted into a form that could be provided to ML algorithms to do a better job in prediction. This could look like a much more verbose or a hyperbole term, but indeed it performs a mightiest of task in just a two lines of codes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |