PacktPublishing/Artificial-Intelligence-with-Python

missing preprocessing.py

invegat opened this issue · 1 comments

There is no preprocessing.py in "Chapter 02" or any other chapters of the downloaded code. In the Safari Books Online ebook at the end of chapter 2 [Preprocessing data]: "The code for this entire section is given in the preprocessing.py file."

hi, you can import preprocessing from sklearn. to install sklearn you can use pip in terminal:

pip install sklearn

and then in your python file:

from sklearn import preprocessing