2


This term we will try to work in “Pods” of 3-5 …
Research shows that there is tremendous benefits in students working (and struggling) together!
Students ask better and more insightful questions, engage more deeply with the work, and it adds a social element to class.
We will try this in CPSC 330 this term!
Understandably, not everyone is a fan of group work - I understand that!
So you will never be forced to work in groups If you would like to opt-out, move to the far left and far right sides of the room so we know you prefer to work individually.
If everyone moves to the side of the room, we will re-evaluate this approach 😂
There are no marks or points associated with these groups, and everyone should work on their own laptops as well
Form a Pod of 3-5 people sitting close to you.
Each person should answer the following questions:
Then, as a group, answer the following question:
What is the most interesting (good or bad) example of Machine Learning in society?

Eva is among one of you. She has some experience in Python programming. She knows machine learning as a buzz word. During her recent internship, she has developed some interest and curiosity in the field. She wants to learn what is it and how to use it. She is a curious person and usually has a lot of questions!
By the end of this lesson, you will be able to:
Explain the difference between AI, ML, and DL
Describe what machine learning is and when it is appropriate to use ML-based solutions.
Briefly describe supervised learning.
Differentiate between traditional programming and machine learning.
Evaluate whether a machine learning solution is suitable for your problem or whether a rule-based or human-expert solution is more appropriate.
Navigate the course materials and get familiar with the course syllabus and policies.
Course Jupyter book: https://ubc-cs.github.io/cpsc330-book/
Course Website: https://ubc-cs.github.io/cpsc330-2026W1
Course GitHub repository: https://github.com/UBC-CS/cpsc330-2026W1
Important
Course website: https://ubc-cs.github.io/cpsc330-2026W1 is the most important link. You can access the course website from Canvas.

Please read everything on there!
You can find the source code for everything we do here: https://ubc-cs.github.io/cpsc330-2026W1.
Important
Make sure you go through the syllabus thoroughly and complete the syllabus quiz before next class!
Important
Use the 2026W1 course website for schedules, announcements, and policies. Read the syllabus carefully. The separate course book contains our shared notes.
Important
Make sure you go through the syllabus thoroughly and complete the syllabus quiz before Sept 19th at 11:59pm.
What I quickly came to realize was that publicly not knowing wasn’t a indicator of stupidity, it was an indicator of understanding. And from what I’ve seen, it is one of the clearest indicators of success in people — more than school prestige, more than GPA.
If you would prefer to write notes and ask questions later, you are more than welcome to do that also! Use Ed Discussion.
Important
Please go through this document carefully before contacting your instructors about these issues. Even then, we are very unlikely to be able to help with registration, waitlist or prerequisite issues.
.ipynb..ipynb files - but has since been replaced by Jupyter Lab.
Raise your hand if you’ve ever copied code from StackOverflow.

Please read our full Generative AI usage policy.
TL;DR: use AI to support, not substitute, your work. If you use a tool:
Important
Please read this entire document about asking for help. TLDR: Be respectful.
What I quickly came to realize was that publicly not knowing wasn’t a indicator of stupidity, it was an indicator of understanding. And from what I’ve seen, it is one of the clearest indicators of success in people — more than school prestige, more than GPA.
Important
Please read this entire document about asking for help. TLDR: Be nice.
We will use the following tools throughout the course:
Python, with either Jupyter Lab or VS Codegit and GitHubPrairieLearnEd DiscussionPrairieLearnWhat does a typical week look like?
Before class: Watch pre-lecture videos or preview notes
In class: Interactive Lectures with questions, activities, and live demos
Support: Weekly tutorials and office hours
Practice: Weekly assignments (x2)
Attend lectures regularly and ask questions
Start homework early. Hands-on practice is essential
Use Generative AI tools responsibly. No blind copy-pasting
Always question your data, methods, and results — justify your choices
.ipynb..ipynb files - but has since been replaced by Jupyter lab.
For example:
print statements.In this course, we will primarily be using Python , git, GitHub, Canvas, Gradescope, Ed DIscussion, and PrairieLearn.
uv on your computer.We will primarily use Python in this course.
Here is the basic Python knowledge you’ll need for the course:
Homework 1 is all about Python.
Note
We do not have time to teach all the Python we need but you can find some useful Python resources here.
Read https://ubc-cs.github.io/cpsc330-2026W1/docs/330_vs_340 which explains the difference between two courses.
TLDR:
Discuss with you neighbour


| Image ID | Whiskers Present | Ear Size | Face Shape | Fur Color | Eye Shape | Label |
|---|---|---|---|---|---|---|
| 1 | Yes | Large | Round | Mixed | Round | Cat |
| 2 | Yes | Medium | Round | Brown | Almond | Cat |
| 3 | Yes | Large | Pointed | Red | Narrow | Fox |
| 4 | Yes | Large | Pointed | Red | Narrow | Fox |
| 5 | Yes | Small | Round | Mixed | Round | Cat |
| 6 | Yes | Large | Pointed | Red | Narrow | Fox |
| 7 | Yes | Small | Round | Grey | Round | Cat |
| 8 | Yes | Small | Round | Black | Round | Cat |
| 9 | Yes | Large | Pointed | Red | Narrow | Fox |



| Approach | Best for |
|---|---|
| Traditional Programming | Rules are known, data is clean/predictable |
| Machine Learning | Rules are complex/unknown, data is noisy |
| Age | Total_Bilirubin | Direct_Bilirubin | Alkaline_Phosphotase | Alamine_Aminotransferase | Aspartate_Aminotransferase | Total_Protiens | Albumin | Albumin_and_Globulin_Ratio | Target |
|---|---|---|---|---|---|---|---|---|---|
| 40 | 14.5 | 6.4 | 358 | 50 | 75 | 5.7 | 2.1 | 0.50 | Disease |
| 33 | 0.7 | 0.2 | 256 | 21 | 30 | 8.5 | 3.9 | 0.80 | Disease |
| 24 | 0.7 | 0.2 | 188 | 11 | 10 | 5.5 | 2.3 | 0.71 | No Disease |
| 60 | 0.7 | 0.2 | 171 | 31 | 26 | 7.0 | 3.5 | 1.00 | No Disease |
| 18 | 0.8 | 0.2 | 199 | 34 | 31 | 6.5 | 3.5 | 1.16 | No Disease |
LGBMClassifier(random_state=123, verbose=-1)In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
| random_state | 123 | |
| verbose | -1 | |
| boosting_type | 'gbdt' | |
| num_leaves | 31 | |
| max_depth | -1 | |
| learning_rate | 0.1 | |
| n_estimators | 100 | |
| subsample_for_bin | 200000 | |
| objective | None | |
| class_weight | None | |
| min_split_gain | 0.0 | |
| min_child_weight | 0.001 | |
| min_child_samples | 20 | |
| subsample | 1.0 | |
| subsample_freq | 0 | |
| colsample_bytree | 1.0 | |
| reg_alpha | 0.0 | |
| reg_lambda | 0.0 | |
| n_jobs | None | |
| importance_type | 'split' |
| Name | Type | Value |
|---|---|---|
| best_iteration_ | int | 0 |
| best_score_ | defaultdict | defaultdict(<...redDict'>, {}) |
| booster_ | Booster | <lightgbm.bas...x7fb541a0ea50> |
| classes_ | ndarray[object](2,) | ['Disease','No Disease'] |
| evals_result_ | dict | {} |
| feature_importances_ | ndarray[int32](9,) | [356,178,127,...,209,240,176] |
| feature_name_ | list | ['Age', 'To...in', 'Di...in', 'Al...se', ...] |
| feature_names_in_ | ndarray[<U26](9,) | ['Age','Total_Bilirubin','Direct_Bilirubin',...,'Total_Protiens','Albumin', 'Albumin_and_Globulin_Ratio'] |
| fitted_ | bool | True |
| n_classes_ | int | 2 |
| n_estimators_ | int | 100 |
| n_features_ | int | 9 |
| n_features_in_ | int | 9 |
| n_iter_ | int | 100 |
| objective_ | str | 'binary' |
| Age | Total_Bilirubin | Direct_Bilirubin | Alkaline_Phosphotase | Alamine_Aminotransferase | Aspartate_Aminotransferase | Total_Protiens | Albumin | Albumin_and_Globulin_Ratio |
|---|---|---|---|---|---|---|---|---|
| 19 | 1.4 | 0.8 | 178 | 13 | 26 | 8.0 | 4.6 | 1.30 |
| 12 | 1.0 | 0.2 | 719 | 157 | 108 | 7.2 | 3.7 | 1.00 |
| 60 | 5.7 | 2.8 | 214 | 412 | 850 | 7.3 | 3.2 | 0.78 |
| 42 | 0.5 | 0.1 | 162 | 155 | 108 | 8.1 | 4.0 | 0.90 |
| Predicted_target | Age | Total_Bilirubin | Direct_Bilirubin | Alkaline_Phosphotase | Alamine_Aminotransferase | Aspartate_Aminotransferase | Total_Protiens | Albumin | Albumin_and_Globulin_Ratio |
|---|---|---|---|---|---|---|---|---|---|
| No Disease | 19 | 1.4 | 0.8 | 178 | 13 | 26 | 8.0 | 4.6 | 1.30 |
| Disease | 12 | 1.0 | 0.2 | 719 | 157 | 108 | 7.2 | 3.7 | 1.00 |
| Disease | 60 | 5.7 | 2.8 | 214 | 412 | 850 | 7.3 | 3.2 | 0.78 |
| Disease | 42 | 0.5 | 0.1 | 162 | 155 | 108 | 8.1 | 4.0 | 0.90 |
Suppose we want to predict housing prices given a number of attributes associated with houses. The target here is continuous and not discrete.
| target | bedrooms | bathrooms | sqft_living | sqft_lot | floors | waterfront | view | condition | grade | sqft_above | sqft_basement | yr_built | yr_renovated | zipcode | lat | long | sqft_living15 | sqft_lot15 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 509000.0 | 2 | 1.50 | 1930 | 3521 | 2.0 | 0 | 0 | 3 | 8 | 1930 | 0 | 1989 | 0 | 98007 | 47.6092 | -122.146 | 1840 | 3576 |
| 675000.0 | 5 | 2.75 | 2570 | 12906 | 2.0 | 0 | 0 | 3 | 8 | 2570 | 0 | 1987 | 0 | 98075 | 47.5814 | -122.050 | 2580 | 12927 |
| 420000.0 | 3 | 1.00 | 1150 | 5120 | 1.0 | 0 | 0 | 4 | 6 | 800 | 350 | 1946 | 0 | 98116 | 47.5588 | -122.392 | 1220 | 5120 |
| 680000.0 | 8 | 2.75 | 2530 | 4800 | 2.0 | 0 | 0 | 4 | 7 | 1390 | 1140 | 1901 | 0 | 98112 | 47.6241 | -122.305 | 1540 | 4800 |
| 357823.0 | 3 | 1.50 | 1240 | 9196 | 1.0 | 0 | 0 | 3 | 8 | 1240 | 0 | 1968 | 0 | 98072 | 47.7562 | -122.094 | 1690 | 10800 |
| Predicted_target | bedrooms | bathrooms | sqft_living | sqft_lot | floors | waterfront | view | condition | grade | sqft_above | sqft_basement | yr_built | yr_renovated | zipcode | lat | long | sqft_living15 | sqft_lot15 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 345831.740542 | 4 | 2.25 | 2130 | 8078 | 1.0 | 0 | 0 | 4 | 7 | 1380 | 750 | 1977 | 0 | 98055 | 47.4482 | -122.209 | 2300 | 8112 |
| 601042.018745 | 3 | 2.50 | 2210 | 7620 | 2.0 | 0 | 0 | 3 | 8 | 2210 | 0 | 1994 | 0 | 98052 | 47.6938 | -122.130 | 1920 | 7440 |
| 311310.186024 | 4 | 1.50 | 1800 | 9576 | 1.0 | 0 | 0 | 4 | 7 | 1800 | 0 | 1977 | 0 | 98045 | 47.4664 | -121.747 | 1370 | 9576 |
| 597555.592401 | 3 | 2.50 | 1580 | 1321 | 2.0 | 0 | 2 | 3 | 8 | 1080 | 500 | 2014 | 0 | 98107 | 47.6688 | -122.402 | 1530 | 1357 |
We are predicting continuous values here as apposed to discrete values in disease vs. no disease example.
| target | sms |
|---|---|
| spam | LookAtMe!: Thanks for your purchase of a video clip from LookAtMe!, you've been charged 35p. Think you can do better? Why not send a video in a MMSto 32323. |
| ham | Aight, I'll hit you up when I get some cash |
| ham | Don no da:)whats you plan? |
| ham | Going to take your babe out ? |
| ham | No need lar. Jus testing e phone card. Dunno network not gd i thk. Me waiting 4 my sis 2 finish bathing so i can bathe. Dun disturb u liao u cleaning ur room. |
Pipeline(steps=[('countvectorizer', CountVectorizer(max_features=5000)),
('logisticregression', LogisticRegression(max_iter=5000))])In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. | Name | Type | Value |
|---|---|---|
| classes_ classes_: ndarray of shape (n_classes,) The classes labels. Only exist if the last step of the pipeline is a classifier. |
ndarray[object](2,) | ['ham','spam'] |
| Name | Type | Value |
|---|---|---|
| fixed_vocabulary_ fixed_vocabulary_: bool True if a fixed vocabulary of term to indices mapping is provided by the user. |
bool | False |
| vocabulary_ vocabulary_: dict A mapping of terms to feature indices. |
dict | {'00': np.int64(0), '000': np.int64(1), '00...06': np.int64(2), '0089': np.int64(3), ...} |
| 00 |
| 000 |
| 008704050406 |
| 0089 |
| 0121 |
| 01223585236 |
| 01223585334 |
| 0125698789 |
| 02 |
| 0207 |
| 02072069400 |
| 02073162414 |
| 02085076972 |
| 021 |
| 03 |
| 04 |
| 0430 |
| 05 |
| 050703 |
| 0578 |
| 06 |
| 07 |
| 07123456789 |
| 07734396839 |
| 07742676969 |
| 0776xxxxxxx |
| 07781482378 |
| 07786200117 |
| 07821230901 |
| 07xxxxxxxxx |
| 0800 |
| 08000407165 |
| 08000776320 |
| 08000839402 |
| 08000930705 |
| 08000938767 |
| 08001950382 |
| 08002888812 |
| 08002986906 |
| 08006344447 |
| 0808 |
| 08081560665 |
| 0825 |
| 0844 |
| 0845 |
| 08452810073 |
| 08452810075over18 |
| 0870 |
| 08700621170150p |
| 08701417012 |
| 08701417012150p |
| 0870241182716 |
| 08702840625 |
| 08707509020 |
| 08708034412 |
| 08709222922 |
| 0871 |
| 08712101358 |
| 08712300220 |
| 08712317606 |
| 08712402050 |
| 08712405020 |
| 08712405022 |
| 08712460324 |
| 08715705022 |
| 0871750 |
| 08717898035 |
| 08718720201 |
| 08718726270 |
| 087187262701 |
| 08718727868 |
| 08718727870 |
| 08718730666 |
| 08719180248 |
| 08719181513 |
| 09 |
| 09050001808 |
| 09050002311 |
| 09050003091 |
| 09050090044 |
| 09056242159 |
| 09058091854 |
| 09058094565 |
| 09058094599 |
| 09058099801 |
| 09061209465 |
| 09061221061 |
| 09061221066 |
| 09061702893 |
| 09061743806 |
| 09061744553 |
| 09061790121 |
| 09063458130 |
| 09064011000 |
| 09064012160 |
| 09064019014 |
| 09065174042 |
| 09066350750 |
| 09066358152 |
| 09066362231 |
| sms | |
|---|---|
| 3245 | Funny fact Nobody teaches volcanoes 2 erupt, tsunamis 2 arise, hurricanes 2 sway aroundn no 1 teaches hw 2 choose a wife Natural disasters just happens |
| 944 | I sent my scores to sophas and i had to do secondary application for a few schools. I think if you are thinking of applying, do a research on cost also. Contact joke ogunrinde, her school is one m... |
| 1044 | We know someone who you know that fancies you. Call 09058097218 to find out who. POBox 6, LS15HB 150p |
| 2484 | Only if you promise your getting out as SOON as you can. And you'll text me in the morning to let me know you made it in ok. |
The model is accurately predicting labels for the unseen text messages above!
| sms | spam_predictions | |
|---|---|---|
| 3245 | Funny fact Nobody teaches volcanoes 2 erupt, tsunamis 2 arise, hurricanes 2 sway aroundn no 1 teaches hw 2 choose a wife Natural disasters just happens | ham |
| 944 | I sent my scores to sophas and i had to do secondary application for a few schools. I think if you are thinking of applying, do a research on cost also. Contact joke ogunrinde, her school is one me the less expensive ones | ham |
| 1044 | We know someone who you know that fancies you. Call 09058097218 to find out who. POBox 6, LS15HB 150p | spam |
| 2484 | Only if you promise your getting out as SOON as you can. And you'll text me in the morning to let me know you made it in ok. | ham |
from transformers import pipeline, AutoModelForTokenClassification, AutoTokenizer
# Sentiment analysis pipeline
analyzer = pipeline("sentiment-analysis", model='distilbert-base-uncased-finetuned-sst-2-english')
analyzer(["I asked my model to predict my future, and it said '404: Life not found.'",
'''Machine learning is just like cooking—sometimes you follow the recipe,
and other times you just hope for the best!.'''])[{'label': 'NEGATIVE', 'score': 0.995707631111145},
{'label': 'POSITIVE', 'score': 0.9994770884513855}]
['im feeling rather rotten so im not very ambitious right now',
'im updating my blog because i feel shitty',
'i never make her separate from me because i don t ever want her to feel like i m ashamed with her',
'i left with my bouquet of red and yellow tulips under my arm feeling slightly more optimistic than when i arrived',
'i was feeling a little vain when i did this one',
'i cant walk into a shop anywhere where i do not feel uncomfortable',
'i felt anger when at the end of a telephone call',
'i explain why i clung to a relationship with a boy who was in many ways immature and uncommitted despite the excitement i should have been feeling for getting accepted into the masters program at the university of virginia',
'i like to have the same breathless feeling as a reader eager to see what will happen next',
'i jest i feel grumpy tired and pre menstrual which i probably am but then again its only been a week and im about as fit as a walrus on vacation for the summer']
from transformers import AutoTokenizer
from transformers import pipeline
import torch
#Load the pretrained model
model_name = "facebook/bart-large-mnli"
classifier = pipeline('zero-shot-classification', model=model_name)
exs = dataset["test"]["text"][10:20]
candidate_labels = ["sadness", "joy", "love","anger", "fear", "surprise"]
outputs = classifier(exs, candidate_labels)
| sequence | labels | scores | |
|---|---|---|---|
| 0 | i don t feel particularly agitated | [surprise, anger, joy, sadness, fear, love] | [0.36008885502815247, 0.30189985036849976, 0.11901344358921051, 0.11381492018699646, 0.06039227545261383, 0.044790636748075485] |
| 1 | i feel beautifully emotional knowing that these women of whom i knew just a handful were holding me and my baba on our journey | [joy, love, surprise, fear, sadness, anger] | [0.36994174122810364, 0.28871557116508484, 0.25608009099960327, 0.04292367771267891, 0.033449284732341766, 0.008889690972864628] |
| 2 | i pay attention it deepens into a feeling of being invaded and helpless | [fear, surprise, sadness, anger, joy, love] | [0.3414686620235443, 0.3088071346282959, 0.25616884231567383, 0.07989883422851562, 0.00784479919821024, 0.005811708047986031] |
| 3 | i just feel extremely comfortable with the group of people that i dont even need to hide myself | [joy, surprise, love, sadness, anger, fear] | [0.33052176237106323, 0.2947240471839905, 0.15343186259269714, 0.07691384106874466, 0.07596739381551743, 0.06844105571508408] |
| 4 | i find myself in the odd position of feeling supportive of | [surprise, joy, fear, love, sadness, anger] | [0.8287976384162903, 0.043179500848054886, 0.039774056524038315, 0.03141346573829651, 0.03141259402036667, 0.025422710925340652] |
| 5 | i was feeling as heartbroken as im sure katniss was | [sadness, surprise, fear, love, anger, joy] | [0.7667971849441528, 0.1818472295999527, 0.02587108314037323, 0.011756720021367073, 0.008171574212610722, 0.005556137766689062] |
| 6 | i feel a little mellow today | [surprise, joy, love, fear, sadness, anger] | [0.4937352240085602, 0.26321956515312195, 0.11367983371019363, 0.06402171403169632, 0.05095481872558594, 0.014388881623744965] |
| 7 | i feel like my only role now would be to tear your sails with my pessimism and discontent | [sadness, anger, surprise, fear, joy, love] | [0.6992781162261963, 0.20048806071281433, 0.061859458684921265, 0.032874543219804764, 0.003646912518888712, 0.0018528864020481706] |
| 8 | i feel just bcoz a fight we get mad to each other n u wanna make a publicity n let the world knows about our fight | [anger, surprise, sadness, fear, joy, love] | [0.6029905080795288, 0.19827142357826233, 0.10198788344860077, 0.08116979151964188, 0.010117072612047195, 0.005463318899273872] |
| 9 | i feel like reds and purples are just so rich and kind of perfect | [joy, surprise, love, anger, fear, sadness] | [0.3644149601459503, 0.3051210343837738, 0.19462528824806213, 0.0555657297372818, 0.05413530021905899, 0.026137715205550194] |
Downloading: "https://download.pytorch.org/models/vgg16-397923af.pth" to /home/runner/.cache/torch/hub/checkpoints/vgg16-397923af.pth

Class Probability score
macaque 0.885
patas, hussar monkey, Erythrocebus patas 0.062
proboscis monkey, Nasalis larvatus 0.015
titi, titi monkey 0.010
--------------------------------------------------------------

Class Probability score
tiger cat 0.636
tabby, tabby cat 0.174
Pembroke, Pembroke Welsh corgi 0.081
lynx, catamount 0.011
--------------------------------------------------------------

Class Probability score
Walker hound, Walker foxhound 0.582
English foxhound 0.144
beagle 0.068
EntleBucher 0.059
--------------------------------------------------------------

Class Probability score
cheetah, chetah, Acinonyx jubatus 0.994
leopard, Panthera pardus 0.005
jaguar, panther, Panthera onca, Felis onca 0.001
snow leopard, ounce, Panthera uncia 0.000
--------------------------------------------------------------
:::

Downloading: "https://download.pytorch.org/models/densenet121-a639ec97.pth" to /home/runner/.cache/torch/hub/checkpoints/densenet121-a639ec97.pth
KMeans(n_clusters=5, random_state=123)In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
| Name | Type | Value |
|---|---|---|
| cluster_centers_ cluster_centers_: ndarray of shape (n_clusters, n_features) Coordinates of cluster centers. If the algorithm stops before fully converging (see ``tol`` and ``max_iter``), these will not be consistent with ``labels_``. |
ndarray[float32](5, 1024) | [[0. ,0.01,0. ,...,1.2 ,0.26,0.9 ], [0. ,0.01,0. ,...,1.79,0.68,0.34], [0. ,0. ,0. ,...,1.38,0.44,0.54], [0. ,0.01,0. ,...,1.06,0.41,0.64], [0. ,0.01,0. ,...,0.55,0.37,1.04]] |
| inertia_ inertia_: float Sum of squared distances of samples to their closest cluster center, weighted by the sample weights if provided. |
float | 7.529e+04 |
| labels_ labels_: ndarray of shape (n_samples,) Labels of each point |
ndarray[int32](283,) | [0,4,0,...,0,1,3] |
| n_features_in_ n_features_in_: int Number of features seen during :term:`fit`. .. versionadded:: 0.24 |
int | 1024 |
| n_iter_ n_iter_: int Number of iterations run. |
int | 11 |
| kmeans0 |
| kmeans1 |
| kmeans2 |
| kmeans3 |
| kmeans4 |
Select all that apply: Which problems are suitable for ML?
| Approach | Best Used When… |
|---|---|
| Machine Learning | The dataset is large and complex, and the decision rules are unknown, fuzzy, or too complex to define explicitly |
| Rule-based System | The logic is clear and deterministic, and the rules or thresholds are known and stable |
| Human Expert | The problem involves ethics, creativity, emotion, or ambiguity that can’t be formalized easily |
Think of a problem you have come across in the past which could be solved using machine learning.
Here are some typical learning problems.
Machine learning uses computer programs to model data. It can be used to extract hidden patterns, make predictions in new situation, or generate novel content.
A field of study that gives computers the ability to learn without being explicitly programmed.
– Arthur Samuel (1959)

Let’s look at some examples.
Discuss with your neighbour for which of the following problems you would use machine learning
Here are some typical learning problems.

At this point, Eva is wondering about many questions.
It’s great to think about these questions right now. But Eva has to be patient. By the end of this course you’ll know answers to many of these questions!
It is very important that you watch the assigned pre-lecture videos before class!
