You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're interested in my content, check out the following links. I'm a Data Scientist Advocate with 4 years of experience, and I love teaching people about Machine Learning (ML) in unique ways that make people learn better.
14
+
15
+
Follow me if you're interested in ML content. I promise, everything I do goes opensource.
16
+
17
+
## 🏆 My Stats
18
+
19
+

[](https://github.com/oracle-devrel/leagueoflegends-optimizer)
-[League of Legends Machine Learning with OCI - Data Extraction](https://oracle-devrel.github.io/leagueoflegends-optimizer/hols/workshops/dataextraction/index.html) - About Data Extraction & Engineering!
46
+
-[League of Legends Machine Learning with OCI - Model Building with scikit-learn and AutoGluon](https://oracle-devrel.github.io/leagueoflegends-optimizer/hols/workshops/mlwithoci/index.html) - Illustrates the whole AI process once we have data available
47
+
-[League of Legends Machine Learning with OCI - Introduction to Neural Networks](https://oracle-devrel.github.io/leagueoflegends-optimizer/hols/workshops/nn/index.html) - A very basic introduction to all Neural Network concepts, like learning rate, backpropagation... etc.
48
+
49
+
#### Topic-specific Articles
50
+
51
+
-[League of Legends Optimizer using Oracle Cloud Infrastructure: Data Extraction & Processing](https://github.com/oracle-devrel/leagueoflegends-optimizer/blob/main/articles/article1.md)
52
+
-[League of Legends Optimizer using Oracle Cloud Infrastructure: Data Extraction & Processing 2](https://github.com/oracle-devrel/leagueoflegends-optimizer/blob/main/articles/article2.md)
53
+
-[League of Legends Optimizer using Oracle Cloud Infrastructure: Building an Adversarial League of Legends AI Model](https://github.com/oracle-devrel/leagueoflegends-optimizer/blob/main/articles/article3.md)
54
+
-[League of Legends Optimizer using Oracle Cloud Infrastructure: Real-Time predictions](https://github.com/oracle-devrel/leagueoflegends-optimizer/blob/main/articles/article4.md)
55
+
-[League of Legends Optimizer using Oracle Cloud Infrastructure: Real-Time predictions 2](https://github.com/oracle-devrel/leagueoflegends-optimizer/blob/main/articles/article5.md)
-[Oracle x RedBull AI conference](https://github.com/oracle-devrel/redbull-analytics-hol)
61
+
-[Connecting F1 2021 Telemetry with Oracle JET](https://medium.com/oracledevs/connecting-f1-2021-telemetry-with-oracle-jet-a73714768c34)
62
+
63
+
### My Computer Vision (Health ML) Content
64
+
65
+
-[Creating a CMask Detection Model on OCI with YOLOv5: Data Labeling with RoboFlow](https://medium.com/oracledevs/creating-a-cmask-detection-model-on-oci-with-yolov5-data-labeling-with-roboflow-5cff89cf9b0b)
66
+
67
+
-[Creating a Mask Model on OCI with YOLOv5: Training and Real-Time Inference](https://medium.com/oracledevs/creating-a-mask-model-on-oci-with-yolov5-training-and-real-time-inference-3534c7f9eb21)
68
+
69
+
-[YOLOv5 and OCI: Implementing Custom PyTorch Code From Scratch](https://medium.com/oracledevs/yolov5-and-oci-implementing-custom-pytorch-code-from-scratch-7c6b82b0b6b1)
70
+
71
+
### My General ML Content
72
+
73
+
-[Benchmarking TensorFlow on OCI](https://medium.com/oracledevs/benchmarking-tensorflow-on-oci-70c781287b7d)
74
+
-[Benchmarking PyTorch on OCI and EfficientNet Models](https://medium.com/oracledevs/benchmarking-pytorch-on-oci-and-efficientnet-models-1d729b45d503)
75
+
-[Working with Data in TensorFlow](https://medium.com/oracledevs/working-with-data-in-tensorflow-a0656f616f4f)
76
+
-[Working with Data in PyTorch](https://medium.com/oracledevs/working-with-data-in-pytorch-fa2641e37d17)
77
+
-[Getting Started with PyTorch on OCI](https://medium.com/oracledevs/getting-started-with-pytorch-on-oci-dbaa5e7a40ef)
78
+
79
+
### Articles in which I'm Featured
80
+
81
+
-[Team up with Red Bull Racing Honda and Oracle for Hands-on Lab teaching machine learning with racing data](https://medium.com/oracledevs/team-up-with-red-bull-racing-honda-and-oracle-for-hands-on-lab-teaching-machine-learning-with-70eafcf78383)
7. Generate a SSH key pair, by default it will create a private key on _`~/.ssh/id_rsa`_ and a public key _`~/.ssh/id_rsa.pub`_.
93
94
It will ask to enter the path, a passphrase and confirm again the passphrase; type _[ENTER]_ to continue all three times.
94
95
95
-
```
96
+
```bash
96
97
<copy>ssh-keygen -t rsa</copy>
97
98
```
98
99
@@ -104,7 +105,7 @@ Estimated Time: 15 minutes
104
105
105
106
8. We need the public key in our notes, so keep the result of the content of the following command in your notes.
106
107
107
-
```
108
+
```bash
108
109
<copy>cat ~/.ssh/id_rsa.pub</copy>
109
110
```
110
111
@@ -115,11 +116,11 @@ Estimated Time: 15 minutes
115
116
10. Save the file in the Code Editor.
116
117

117
118
118
-
119
119
## Task 3: Start Deployment
120
120
121
121
1. Run the `start.sh` script
122
-
```
122
+
123
+
```bash
123
124
<copy>./start.sh</copy>
124
125
```
125
126
@@ -137,18 +138,17 @@ Estimated Time: 15 minutes
137
138
138
139
> Note: login credentials for the Data Science notebook are the same as the ones used to access Oracle Cloud Infrastructure.
139
140
140
-
141
141
## Task 4: Accessing Notebook
142
142
143
143
Having just created our OCI Data Science environment, we need to install the necessary Python dependencies to execute our code. For that, we'll access our environment.
144
144
145
-
- The easiest way is to access into the notebook **through the URL** that we previously copied from Terraform's output.
145
+
* The easiest way is to access into the notebook **through the URL** that we previously copied from Terraform's output.
146
146
147
147

148
148
149
149
If you have done it this way, make sure to **skip through to the next task**.
150
150
151
-
- (Optionally) We can also access to the notebook via the OCI console, on the top left burger menu:
151
+
* (Optionally) We can also access to the notebook via the OCI console, on the top left burger menu:
152
152
153
153

154
154
@@ -168,51 +168,49 @@ Having just created our OCI Data Science environment, we need to install the nec
168
168
169
169

170
170
171
-
172
171
## Task 5: Setting up Data Science Environment
173
172
174
173
We now need to load our notebook into our environment.
174
+
175
175
1. Opening a **Terminal** inside the _'Other'_ section the console and re-downloading the repository again:
We should now see the repository / files in our file explorer:
@@ -253,7 +247,7 @@ We should now see the repository / files in our file explorer:
253
247
254
248
We navigate to the _`leagueoflegends-optimizer/notebooks/`_ directory and the notebook [_`neural_networks_lol.ipynb`_](https://github.com/oracle-devrel/leagueoflegends-optimizer/blob/livelabs/notebooks/neural_networks_lol.ipynb) is the one we will review during this workshop.
255
249
256
-
Let's open both of them and get to work.
250
+
Let's open both of them and get to work.
257
251
258
252
You may now [proceed to the next lab](#next).
259
253
@@ -262,4 +256,4 @@ You may now [proceed to the next lab](#next).
262
256
263
257
***Author** - Nacho Martinez, Data Science Advocate @ DevRel
264
258
***Contributors** - Victor Martin - Product Strategy Director
Copy file name to clipboardExpand all lines: neural_networks_hero/the_problem/problem.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,8 @@ This generated a lot of visualizations for me, that gave me an idea of what's ne
125
125
126
126
We can see that the loss of our ML model is low enough for our model to have taken the correct approach to predict the target variable. We can confirm that the model is telling us the most important variables by checking other models' predictions as well.
127
127
128
+
> **Note**: beware of **overfitting** if the validation metrics are too good!
129
+
128
130
As we can see, the model is able to deduce whether we're going to win or not by just looking at four or five weighted variables. By comparing these stats to what we already have in the Live Client API, we'll determine which variables we can use from that data structure to arrive at the conclusion.
129
131
130
132
Considering that we're working with time-dependent data, from the variables mentioned above, we can extract the same statistics (deaths, kills)... per minute. This will introduce the time dimension into our dataset:
Copy file name to clipboardExpand all lines: neural_networks_hero/understand_nn/understand_nns.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,11 +26,6 @@ This is a huge renovation that happens in your brain.
26
26
- By the time we're teens it's gone a long way, but it hasn't finished.
27
27
- And the part of the brain that's considered to develop last (up until 25 years old) is the very front, whith happens to be the part of the brain that sort of makes us human.
28
28
29
-
The frontal cortex is a part of your brain that controls rational thought and reasoning
30
-
31
-
So, when a teenager is confronted with a decision, this rational area is slower at communicating with other parts of their brain.
32
-
So those other parts end up taking the lead. Especially the amygdala.
33
-
34
29
## Task 1: What is a Neural Network
35
30
36
31
A neural network is a method in Machine Learning that *simulates* the human brain's way of thinking, and teaches computers how to process data in a way that *looks* human.
@@ -68,7 +63,7 @@ We'll also take a look at [another open-source tool](https://poloclub.github.io/
The example that we can see in this Neural Network is very simple and only has one input layer, one hidden layer, and one output layer.
66
+
The example that we can see in this Neural Network is very simple and only has one input layer, one hidden layer, and one output layer.
72
67
73
68
In cases like text or image analysis, things get a bit more complicated, and usually, several pre-built layers (groups of layers that work very well together) are used to analyze this kind of data (image, text):
0 commit comments