原书出处
Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)
# group by target column to ensure we train on data # that contains all target labels: test_data = data.groupby('DEFAULT') \ .apply(lambda df: df.head(10)) \ .reset_index(drop=True) pipeline = train_model(test_data) predictions = pipeline.predict(test_data) valid_predictions = {0, 1} assert valid_predictions.issubset(predictions) In your terminal, you can run the training smoke test by executing the following command:3 ./batect --output=all smoke-test-model-training In one of our previous projects, we had an
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)/_epub-src/OEBPS/ch05.html
EPUB SHA-256:d98501f374a474910f195f0adfd53c1d895ae8ddc5822476c05cd7ba006ac63d