Apache Spark 2:Data Processing and Real-Time Analytics
上QQ阅读APP看书,第一时间看更新

Transformers

Let's start with something simple. One of the most common tasks in machine learning data preparation is string indexing and one-hot encoding of categorical values. Let's see how this can be done.