Skip to content

Commit 99eaf6f

Browse files
committed
added intro to machine learning
1 parent bd12cd6 commit 99eaf6f

13 files changed

+3989
-0
lines changed

09_machine_learning/01_supervised_machine_learning.ipynb

Lines changed: 725 additions & 0 deletions
Large diffs are not rendered by default.

09_machine_learning/02_scikit_learn_random_forest_pixel_classifier.ipynb

Lines changed: 614 additions & 0 deletions
Large diffs are not rendered by default.

09_machine_learning/03_apoc_object_segmenter.ipynb

Lines changed: 346 additions & 0 deletions
Large diffs are not rendered by default.
4.17 MB
Binary file not shown.
64.2 KB
Binary file not shown.

09_machine_learning/data/blobs.tif

63.6 KB
Binary file not shown.
254 KB
Binary file not shown.
1.46 KB
Binary file not shown.
1.21 KB
Binary file not shown.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
def generate_biomodal_2d_data():
2+
import numpy as np
3+
4+
rs = np.random.RandomState(seed=0)
5+
6+
x1 = rs.normal(3, 1, (150,2))
7+
x2 = rs.normal(8, 1.5, (150,2))
8+
9+
x_all = np.concatenate((x1, x2), axis=0)
10+
rs.shuffle(x_all)
11+
return x_all

0 commit comments

Comments
 (0)