Learn machine Learning - 1 - Jupyter & sklearn
Machine Learning tutorial Link
Main steps:
- Import data
- Clean data
- Split data into Training & Test sets
- Create a model
- train the model
- Make predictions
- evaluate and improve
(JupyterLab Documentation)[https://jupyterlab.readthedocs.io/en/latest/] to start jupyter lab, run command '''jupyter lab'''
Shortcuts in both modes:
- Shift + Enter run the current cell, select below
- Ctrl + Enter run selected cells
- Alt + Enter run the current cell, insert below
- Ctrl + S save and checkpoint
While in command mode (press Esc to activate):
- Enter take you into edit mode
- H show all shortcuts
- Up select cell above
- Down select cell below
- A insert cell above
- B insert cell below
- X cut selected cells
- C copy selected cells
- V paste cells below
- D, D (press the key twice) delete selected cells
- Z undo cell deletion
- S Save and Checkpoint
- P open the command palette.
Command Palette
- Shift + Space scroll notebook up
- Space scroll notebook down
- While in edit mode (pressEnter to activate)
- Tab code completion or indent
- Shift + Tab tooltip
- Ctrl + ] indent
- Ctrl + [ dedent
- Ctrl + Z undo
- Ctrl + Shift + Z or Ctrl + Y redo
Main packages:
- Numpy
- Pandas
- matplotlib
- scikit-learn
- jupyterlab for notebooks etc..