LoslegenKostenlos starten

Running a Python model

In the previous exercise, we installed the packages necessary to run a Python model script. In this exercise, we'll run a pre-written Python script create_model.py which will output two things: a Python model in a saved .pkl file and the predicted scores in a saved .csv file.

Diese Übung ist Teil des Kurses

<Kurs>Data Processing in Shell</Kurs>
Kurs ansehen

Interaktive praktische Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Re-install requirements
pip install -r requirements.txt

# Preview Python model script for import dependencies
cat create_model.py

# Verify that dependencies are installed
pip ___
Code bearbeiten und ausführen