Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggested changes to the ML training material #51

Open
surbhigoel77 opened this issue May 14, 2024 · 3 comments
Open

Suggested changes to the ML training material #51

surbhigoel77 opened this issue May 14, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request training

Comments

@surbhigoel77
Copy link
Member

surbhigoel77 commented May 14, 2024

Proposed sequence of topics

  1. How ML works
  2. Steps involved in developing a model - loading data, preprocessing, model definition (algorithm, optimiser, loss), training, prediction)
  3. Pytorch intro (data type it works with - tensors, other key concepts)
  4. Types of problems - Regression and Classification
  5. Hands-on with a Regression example
  6. Hands-on with Classification example

Algorithm used: Neural Network

@surbhigoel77 surbhigoel77 added enhancement New feature or request training labels May 14, 2024
@surbhigoel77 surbhigoel77 changed the title Suggestion for change in the current ML training material Suggestion for changes in the current ML training material May 14, 2024
@jatkinson1000
Copy link
Member

I would encourage you to build on the existing slides here as they already cover some of these:

They could definitely be improved.
You can edit them as markdown using the files in this repo here: https://github.com/Cambridge-ICCS/ml-training-material/tree/main/slides

They are linked to a GitHub action that will automatically deploy them to the links I posted above.

@surbhigoel77
Copy link
Member Author

Pier Luigi's session requirements:

Module imports:

import torch
import torch.nn as nn
import torch.optim as optim
from torch.utils.data import DataLoader, TensorDataset
from sklearn.model_selection import train_test_split
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import cartopy.crs as ccrs

Tasks:

  1. Load data from csv files
  2. Dataframe of the data
  3. Plot distribution of the variables
  4. Training and Loss function
  5. Visualisation using matplotlib and cartopy (maps of standard deviation, mean of differences between reference (ocean model) and ML output, correlation coefficient between reference and ML output.)

@jdenholm
Copy link
Collaborator

I'd be disinclined to call a neural network an algorithm, because it's just a function (once its domain has been defined). You might be better calling it a model. If you were fitting a polynomial function, for example, you wouldn't call it an algorithm, but it would be okay to call it a model.

@ma595 ma595 changed the title Suggestion for changes in the current ML training material Suggestted changes to the ML training material Jul 5, 2024
@ma595 ma595 changed the title Suggestted changes to the ML training material Suggested changes to the ML training material Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request training
Projects
None yet
Development

No branches or pull requests

4 participants