Skip to content

Commit

Permalink
Lecture 4
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoughlin committed Jul 28, 2022
1 parent cc08904 commit 86f38b4
Show file tree
Hide file tree
Showing 139 changed files with 21,951 additions and 0 deletions.
2,044 changes: 2,044 additions & 0 deletions lectures/03/lecture03b_solutions.ipynb

Large diffs are not rendered by default.

2,095 changes: 2,095 additions & 0 deletions lectures/03/lecture03c_solutions.ipynb

Large diffs are not rendered by default.

5,502 changes: 5,502 additions & 0 deletions lectures/04/data/SDSS_morphology.fit

Large diffs are not rendered by default.

601 changes: 601 additions & 0 deletions lectures/04/data/colormag.csv

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions lectures/04/data/kilonova_BNS_lc.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
,jd,mag,mag_unc,filter,limmag,programid
0,44244.113369130835,99.0,99.0,g,18.21371906989749,0.0
1,44244.70684135382,21.114898545290394,0.1955542224943361,g,25.0,0.0
2,44244.744364553626,99.0,99.0,r,20.60827474567957,0.0
3,44245.70684135382,21.369738879242895,0.1826491816423234,g,25.0,0.0
4,44245.744364453974,20.909103503130474,0.1976432121581404,r,25.0,0.0
5,44247.04836643266,99.0,99.0,i,20.239548040018107,0.0
6,44247.160767473564,99.0,99.0,r,19.67915619609671,0.0
7,44247.210130873886,99.0,99.0,g,20.605447027468216,0.0
8,44250.07842016939,99.0,99.0,i,20.879482295920027,0.0
9,44251.09035531528,99.0,99.0,r,20.208483704763527,0.0
10,44251.15080671528,99.0,99.0,g,19.290275961309714,0.0
11,44253.06599357421,99.0,99.0,g,20.208111695193715,0.0
12,44255.05123516779,99.0,99.0,g,18.68929025931697,0.0
13,44255.07187176777,99.0,99.0,r,20.896198725693388,0.0
14,44256.04523613792,99.0,99.0,i,20.017771193393486,0.0
15,44257.072409996785,99.0,99.0,g,19.854722552579638,0.0
16,44257.093243296746,99.0,99.0,r,18.969306583299,0.0
17,44259.06611827594,99.0,99.0,i,19.656528005963516,0.0
18,44259.125448376195,99.0,99.0,g,20.70495650580374,0.0
19,44259.15448767624,99.0,99.0,r,19.634641378802172,0.0
20,44262.09997414945,99.0,99.0,r,19.850666968752396,0.0
21,44262.15416394927,99.0,99.0,g,20.975450621234096,0.0
19 changes: 19 additions & 0 deletions lectures/04/data/nugent_hyper_lc.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
,jd,mag,mag_unc,filter,limmag,programid
0,44244.17342518064,99.0,99.0,g,21.083217649522812,0.0
1,44245.17342518064,20.21183867168855,0.24485190418865163,g,25.0,0.0
2,44245.210936680705,18.90003089259465,0.1417147507819809,r,25.0,0.0
3,44245.37199784838,19.973090348804188,0.03821930351694311,g,25.0,0.0
4,44245.419023348244,18.723111559569254,0.07174711543541243,r,25.0,0.0
5,44247.33862192684,99.0,99.0,r,17.022668305630955,0.0
6,44247.43070425161,17.93377748682118,0.049341095237860226,i,25.3,0.0
7,44249.34550891565,17.925074673337445,0.024638459759587717,r,25.0,0.0
8,44253.3517901555,17.448075968440445,0.011484657653487933,r,25.0,0.0
9,44253.41578315546,18.378578969021916,0.10333455320156483,g,25.0,0.0
10,44257.34492930213,16.87149649374657,0.019257191635468116,r,25.0,0.0
11,44257.38580890235,18.110522854115118,0.049805790725116525,g,25.0,0.0
12,44259.3571144702,16.902755617878732,0.02615363738841519,r,25.0,0.0
13,44259.49380427004,17.68219633237147,0.026186068763577493,g,25.0,0.0
14,44261.30823585768,16.66713009508105,0.00648836789334397,r,25.0,0.0
15,44261.35108305751,17.707623699015805,0.032234180449359946,g,25.0,0.0
16,44263.256100033876,17.54879088298362,0.052413319320412176,g,25.0,0.0
17,44263.31427133363,16.63544032735057,0.005558787998642815,r,25.0,0.0
419 changes: 419 additions & 0 deletions lectures/04/data/titanic_test.csv

Large diffs are not rendered by default.

892 changes: 892 additions & 0 deletions lectures/04/data/titanic_train.csv

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions lectures/04/data/weather_nominal.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
outlook,temperature,humidity,windy,play
sunny,hot,high,FALSE,no
sunny,hot,high,TRUE,no
overcast,hot,high,FALSE,yes
rainy,mild,high,FALSE,yes
rainy,cool,normal,FALSE,yes
rainy,cool,normal,TRUE,no
overcast,cool,normal,TRUE,yes
sunny,mild,high,FALSE,no
sunny,cool,normal,FALSE,yes
rainy,mild,normal,FALSE,yes
sunny,mild,normal,TRUE,yes
overcast,mild,high,TRUE,yes
overcast,hot,normal,FALSE,yes
rainy,mild,high,TRUE,no
Binary file added lectures/04/figures/1960_preceptron.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/EM-density-data.svg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/Figure1_183.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/Figure1_183.pdf
Binary file not shown.
Binary file added lectures/04/figures/GAIA_DR2_clusters.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/HLINK-density-data.svg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/Hierarchical-clustering-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/IsolationForest1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/KMeans-density-data.svg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/KyleBoone_CM.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/LOF.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/MWD.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/McCulloughPitts1943.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/ObservatoryAerialCover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/activation_functions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/adaline_vs_perceptron.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/bioneuron.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/bioneuron2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/classification_workflow.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/corner_comp_GWGRBKN_GWKN.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lectures/04/figures/dnn1.png
Binary file added lectures/04/figures/dnn2.png
Binary file added lectures/04/figures/dog_or_dinner.jpg
Binary file added lectures/04/figures/entropy_twoclass.png
Binary file added lectures/04/figures/galaxy_map.gif
Binary file added lectures/04/figures/gamma_DBSCAN.jpg
Binary file added lectures/04/figures/house_price_features.png
Binary file added lectures/04/figures/knn.png
Binary file added lectures/04/figures/lda.png
Binary file added lectures/04/figures/lda_vs_qda.png
Binary file added lectures/04/figures/mindmap.jpg
Binary file added lectures/04/figures/mk1_perceptron.jpg
1,217 changes: 1,217 additions & 0 deletions lectures/04/figures/ml_cross_validation.svg

Large diffs are not rendered by default.

1,672 changes: 1,672 additions & 0 deletions lectures/04/figures/ml_data_representation.svg

Large diffs are not rendered by default.

1,357 changes: 1,357 additions & 0 deletions lectures/04/figures/ml_grid_search_cross_validation.svg

Large diffs are not rendered by default.

Binary file added lectures/04/figures/ml_map.png
558 changes: 558 additions & 0 deletions lectures/04/figures/ml_supervised_workflow.svg

Large diffs are not rendered by default.

1,650 changes: 1,650 additions & 0 deletions lectures/04/figures/ml_train_test_split_matrix.svg

Large diffs are not rendered by default.

Binary file added lectures/04/figures/mlp1.png
Binary file added lectures/04/figures/mlp2.png
Binary file added lectures/04/figures/moons.jpg
Binary file added lectures/04/figures/mp_neuron.png
Binary file added lectures/04/figures/myelinated-axon.gif
Binary file added lectures/04/figures/perceptron1.png
Binary file added lectures/04/figures/perceptron2.png
Binary file added lectures/04/figures/perceptron3.png
Binary file added lectures/04/figures/perceptron4.png
Binary file added lectures/04/figures/perceptron5.png
Binary file added lectures/04/figures/perceptron6.png
Binary file added lectures/04/figures/picture.jpg
Binary file added lectures/04/figures/roc_plasticc.jpg
Binary file added lectures/04/figures/roc_schematic.jpg
Binary file added lectures/04/figures/sirius.jpg
Binary file added lectures/04/figures/titanic-sinking-hoyt.jpg
Binary file added lectures/04/figures/titanic_data.png
Binary file added lectures/04/figures/tree_components.png
Binary file added lectures/04/figures/tree_depth.png
Binary file added lectures/04/figures/tree_limit.png
Binary file added lectures/04/figures/tree_pruning.png
Binary file added lectures/04/figures/tree_regression.png
Binary file added lectures/04/figures/tree_regression_metric.png
Binary file added lectures/04/figures/ul_clusters.png
Binary file added lectures/04/figures/ul_portfolio.png
Binary file added lectures/04/figures/ul_sectors.png
Binary file added lectures/04/figures/ul_stocks.png
Binary file added lectures/04/figures/ul_stocks_all.jpg
Binary file added lectures/04/figures/ul_vs_sl1.png
Binary file added lectures/04/figures/ul_vs_sl2.png
Binary file added lectures/04/figures/ul_vs_sl3.png
Binary file added lectures/04/figures/ul_vs_sl4.png
Binary file added lectures/04/figures/ul_vs_sl5.png
Binary file added lectures/04/figures/ul_vs_sl6.png
Binary file added lectures/04/figures/ul_vs_sl7.png
Loading

0 comments on commit 86f38b4

Please sign in to comment.