Mulai sekarangMulai gratis

Load the pre-trained model

You're a data scientist at an animal conservation company. You've been given a pre-trained machine learning model that predicts penguin species.

Your task is to load this model so it can be used in an API. The model has been saved using joblib.

A pre-trained ML model is stored in the pickle file: penguin_classifier.pkl

Write a script to load the pickle file as a model. Test your script by running python3 solution.py in the terminal.

Latihan ini merupakan bagian dari kursus

Deploying AI into Production with FastAPI

Lihat Kursus

Latihan interaktif langsung

Ubah teori menjadi aksi dengan salah satu latihan interaktif kami

Mulai latihan