More Related Content
Similar to Machine Learning in Python - PyLadies Stockholm (20)
More from Dhiana Deva (7)
Machine Learning in Python - PyLadies Stockholm
- 2. Agenda
Goal: Encourage you to use Machine Learning… today!
‣ Aboutme
‣ MachineLearning
Misconceptions
Concepts
Problems andAlgorithms
‣ ML+Python
PythonToolbox
Code Snippets
Spotify<3 Python
- 8. Supervised Learning
23, 45, 67, 78
12, 48, 68, 22
…
34, 58, 77, 19
3
2
…
5
20, 39, 59, 68 3
♥
Items Features Labels Algorithm
New Item PredictionFeatures Model
- 12. Detecting particles
Online electron detection
based on more than 1500
detector cells using
Neural Networks
(GeV)TE
0 10 20 30 40 50 60 70 80
o(%)a
~
Prob.deRejeic
20
30
40
50
60
70
80
90
100
Ringer
T2Calo
smicosoC
η
-2 -1 0 1 2
o(%)a
~
Prob.deRejeic
80
85
90
95
100
Ringer
T2Calo
φ
-3 -2 -1 0 1 2 3
o(%)a
~
Prob.deRejeic
90
92
94
96
98
100
Ringer
T2Calo
- 13. Unsupervised Learning
23, 45, 67, 78
12, 48, 68, 22
…
34, 58, 77, 19
20, 39, 59, 68
♥
Items Features Algorithm
New Item
Better
RepresentationFeatures Model
- 20. Classification
>>> classifier = RandomForestClassifier().fit(X_train,Y_train)
>>>Y_test = classifier.predict(X_test)
23, 45, 67, 78
12, 48, 68, 22
…
34, 58, 77, 19
A
B
…
B
20, 39, 59, 68 A
♥
Items Features Labels Algorithm
New Item PredictionFeatures Model
- 21. 23, 45, 67, 78
12, 48, 68, 22
…
34, 58, 77, 19
♥
Items Features Algorithm
Better
RepresentationModel
Dimensionality Reduction
>>> embedding =TSNE().fit_transform(X_train)