Google Colab with scikit-learn
Google Colab is a free, browser-based Jupyter notebook from Google. Your code runs on a Google machine and your notebooks save to your Google Drive. It comes with scikit-learn (the machine-learning library), pandas (tables), NumPy (fast math on arrays), and matplotlib (charts) preinstalled, and every lesson in this course runs on its free CPU machines. Learners who prefer to work offline can use JupyterLab on their own computer with the same code.
Google Colab with scikit-learn
FreeGoogle Colab is a free, browser-based Jupyter notebook from Google. Your code runs on a Google machine and your notebooks save to your Google Drive. It comes with scikit-learn (the machine-learning library), pandas (tables), NumPy (fast math on arrays), and matplotlib (charts) preinstalled, and every lesson in this course runs on its free CPU machines. Learners who prefer to work offline can use JupyterLab on their own computer with the same code. Every lesson is readable text with copyable code, keyboard-friendly quizzes and step-throughs, and videos with YouTube captions.
- Sign in to a Google account (a personal account is safest, since some schools turn Colab off).
- Go to colab.research.google.com and click New notebook, or use File → New notebook in Drive.
- Rename the notebook from Untitled0.ipynb to something like m1-setup.ipynb.
- In the first cell, run: import sklearn, pandas, numpy, matplotlib and print sklearn.__version__.
- Press Shift + Enter to run the cell.