Create a Project
The scripts for this example are available in the Python template project that ships with Cloudera Data Science Workbench.
- 
                First, create a new project from the Python template:
                

 - 
                Once you've created the project, go to the project's
                        Files page.
                The following files are used for the demo:
- 
                            
cdsw-build.sh- A custom build script used for models and experiments. Pip installs our dependencies, primarily thescikit-learnlibrary. - 
                            
fit.py- A model training example to be run as an experiment. Generates themodel.pklfile that contains the fitted parameters of our model. - 
                            
predict.py- A sample function to be deployed as a model. Usesmodel.pklproduced byfit.pyto make predictions about petal width. 
 - 
                            
 
