freeCodeCamp project
-
import the required libraries.
-
download the data and set key variables.
-
create data(train, validation and test) generator use
ImageDataGeneratorImageDataGeneratorto read and decode the images and convert them into floating point tensors.shuffle=Falsetest_dirsubdirectory orflow_from_directoryexpects a directory with a subdirectory by class. -
create a model use the Keras Sequential model.
-
use
fitmethod to train and validate the network. -
test the model.
- load, extract data and import csv data into dataframes.
- handle and clean data(remove and drop dumplicates).
- merge and transform date to matrix format(KNN input param format).
- train the KNN model
- Query and get recommand data.
- Test.
- Covert categorical data to numbers.
- Spilt train and test data.
- Train the model and ajust the parameters.
- test and evaluate the model.