Error of running example_model.py in Kaggle

Hi all, i want to run latest example_model.py, collected from: https://github.com/numerai/example-scripts/blob/master/example_model.py, under kaggle notebook and encounter some basic error related to utlis

i have installed utils: !pip install utils
but still encountered error to following instruction:

from utils import save_model, load_model, neutralize, get_biggest_change_features, validation_metrics, download_data

error: ImportError: cannot import name ‘save_model’ from ‘utils’ (/opt/conda/lib/python3.7/site-packages/utils/init.py)

Any suggestion here to fix it ? thanks.

utils is a py-script, not a package

What does it mean ? And how I can fix it under kaggle environment ?

The functions you are trying to import can be found in this module

2 Likes

Thanks for that advice. Problem solved.