Computer scienceData scienceInstrumentsScikit-learnScikit-learn basics

Training a model with scikit-learn

Digits

Report a typo

Let's say you need to import the digits dataset. You can do so using the load_digits() function.

Write one line of code to load the feature matrix/ target values from the dataset and assign them to the variables X and y. You can assume that load_digits() has already been imported from sklearn.datasets.

Your answer should be in the following format:

X, y = ...
Enter a short text
___

Create a free account to access the full topic