adding project updates
This commit is contained in:
@@ -2,34 +2,34 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "6afd3fdb",
|
||||
"id": "515c9474",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"<!-- HTML file automatically generated from DocOnce source (https://github.com/doconce/doconce/)\n",
|
||||
"doconce format html Project2.do.txt -->\n",
|
||||
"<!-- dom:TITLE: Project 2 on Machine Learning, deadline November 13 (Midnight) -->"
|
||||
"<!-- dom:TITLE: Project 2 on Machine Learning, deadline November 17 (Midnight) -->"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "21a10baa",
|
||||
"id": "890dcb04",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"# Project 2 on Machine Learning, deadline November 13 (Midnight)\n",
|
||||
"# Project 2 on Machine Learning, deadline November 17 (Midnight)\n",
|
||||
"**[Data Analysis and Machine Learning FYS-STK3155/FYS4155](http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html)**, Department of Physics, University of Oslo, Norway\n",
|
||||
"\n",
|
||||
"Date: **Oct 9, 2023**\n",
|
||||
"Date: **Nov 13, 2023**\n",
|
||||
"\n",
|
||||
"Copyright 1999-2023, [Data Analysis and Machine Learning FYS-STK3155/FYS4155](http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html). Released under CC Attribution-NonCommercial 4.0 license"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "4f67ce6e",
|
||||
"id": "8cbf512f",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -75,7 +75,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "67c6916e",
|
||||
"id": "696379a0",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -127,7 +127,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "fff54502",
|
||||
"id": "81d48303",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -166,7 +166,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "6e0f9012",
|
||||
"id": "db6aebb0",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -178,7 +178,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "075046bf",
|
||||
"id": "18314d90",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -204,7 +204,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "080dadf2",
|
||||
"id": "dc3021aa",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -216,7 +216,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e3418dd4",
|
||||
"id": "3c3c5b42",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -236,7 +236,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "828ad79f",
|
||||
"id": "1a493d07",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -258,7 +258,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "07059668",
|
||||
"id": "649a5380",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -274,7 +274,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e88200db",
|
||||
"id": "804df082",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -290,7 +290,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "66733be9",
|
||||
"id": "2661bc83",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -321,7 +321,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5c49a400",
|
||||
"id": "e651a157",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5831c36a",
|
||||
"id": "32bbc99a",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -14,7 +14,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "2d774c8b",
|
||||
"id": "21397747",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -22,14 +22,14 @@
|
||||
"# Project 3 on Machine Learning, deadline December 18 (midnight), 2023\n",
|
||||
"**[Data Analysis and Machine Learning FYS-STK3155/FYS4155](http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html)**, Department of Physics, University of Oslo, Norway\n",
|
||||
"\n",
|
||||
"Date: **Nov 12, 2023**\n",
|
||||
"Date: **Nov 13, 2023**\n",
|
||||
"\n",
|
||||
"Copyright 1999-2023, [Data Analysis and Machine Learning FYS-STK3155/FYS4155](http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html). Released under CC Attribution-NonCommercial 4.0 license"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5cbde03b",
|
||||
"id": "a13debcc",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -39,7 +39,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5170403b",
|
||||
"id": "9d1f1220",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -54,11 +54,15 @@
|
||||
"3. Or other sources.\n",
|
||||
"\n",
|
||||
"The approach to the analysis of these new data sets should follow to a large extent what you did in projects 1 and 2. That is:\n",
|
||||
"1. Whether you end up with a regression or a classification problem, you should employ at least two of the methods we have discussed among **linear regression (including Ridge and Lasso)**, **Logistic Regression**, **Neural Networks**, **Convolution Neural Networks**, **Recurrent Neural Networks**, and **Decision Trees, Random Forests, Bagging and Boosting**. You could for example explore all of the approaches from decision trees, via bagging and voting classifiers, to random forests, boosting and finally XGboost. If you wish to venture into **convolutional neural networks** or **recurrent neural networks**, or extensions of neural networkds, feel free to do so. You can also study unsupervised methods, although we in this course have mainly paid attention to supervised learning. \n",
|
||||
"1. Whether you end up with a regression or a classification problem, you should employ at least two of the methods we have discussed among **linear regression (including Ridge and Lasso)**, **Logistic Regression**, **Neural Networks**, **Convolution Neural Networks**, **Recurrent Neural Networks**, and **Decision Trees, Random Forests, Bagging and Boosting**.\n",
|
||||
"\n",
|
||||
"Feel also free to use support vector machines, $k$-means and principal components analysis, although the latter have not been covered during the lectures. This material can be found in the lecture notes.\n",
|
||||
"\n",
|
||||
"You could for example explore all of the approaches from decision trees, via bagging and voting classifiers, to random forests, boosting and finally XGboost. If you wish to venture into **convolutional neural networks** or **recurrent neural networks**, or extensions of neural networkds, feel free to do so. You can also study unsupervised methods, although we in this course have mainly paid attention to supervised learning. \n",
|
||||
"\n",
|
||||
"For Boosting, feel also free to write your own codes.\n",
|
||||
"\n",
|
||||
"1. For project 3, you should feel free to use your own codes from projects 1 and 2, eventually write your own for Decision trees/random forests/bagging/boosting' or use the available functionality of **Scikit-Learn**, **Tensorflow**, etc. \n",
|
||||
"1. For project 3, you should feel free to use your own codes from projects 1 and 2, eventually write your own for Decision trees/random forests/bagging/boosting' or use the available functionality of **Scikit-Learn**, **Tensorflow**, PyTorch etc. \n",
|
||||
"\n",
|
||||
"2. The estimates you used and tested in projects 1 and 2 should also be included, that is the $R2$-score, **MSE**, confusion matrix, accuracy score, information gain, ROC and Cumulative gains curves and other, cross-validation and/or bootstrap if these are relevant.\n",
|
||||
"\n",
|
||||
@@ -72,12 +76,12 @@
|
||||
"\n",
|
||||
"We propose also an alternative to the above. This is a project on using machine learning methods (neural networks mainly) to the solution of ordinary differential equations and partial differential equations, with a final twist on how to diagonalize a symmetric matrix with neural networks.\n",
|
||||
"\n",
|
||||
"This is a field with a large interest recently, spanning from studies of turbulence in fluid mechanics and meteorology to the solution of quantum mechanical systems. As reading background you can use the slides [from week 43](https://compphysics.github.io/MachineLearning/doc/pub/week43/html/week42.html) and/or the textbook by [Yadav et al](https://www.springer.com/gp/book/9789401798150)."
|
||||
"This is a field with large scientific interest, spanning from studies of turbulence in fluid mechanics and meteorology to the solution of quantum mechanical systems. As reading background you can use the slides [from week 43](https://compphysics.github.io/MachineLearning/doc/pub/week43/html/week42.html) and/or the textbook by [Yadav et al](https://www.springer.com/gp/book/9789401798150)."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e9fc8e8e",
|
||||
"id": "6416060c",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -89,7 +93,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "ce8b52a3",
|
||||
"id": "18827262",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -101,7 +105,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "eb943f7a",
|
||||
"id": "bcee53f4",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -113,7 +117,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "17447dcc",
|
||||
"id": "83ec8275",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -125,7 +129,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "d9bea856",
|
||||
"id": "2be62c8e",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -137,7 +141,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5b74282b",
|
||||
"id": "385e0b16",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -149,7 +153,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "28f082d7",
|
||||
"id": "fbf49165",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -162,14 +166,27 @@
|
||||
"equation in one dimension using a standard explicit scheme and neural\n",
|
||||
"networks to solve the same equations.\n",
|
||||
"\n",
|
||||
"For the explicit scheme, you can study for example chapter 10 of the lecture notes in [Computational Physics](https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Lectures/lectures2015.pdf) or alternative sources. For the solution of ordinary and partial differential equations using neural networks, the lectures by [Kristine Baluka Hein and included in the lectures of week 43](https://compphysics.github.io/MachineLearning/doc/pub/week42/html/week43.html) at this course are highly recommended.\n",
|
||||
"For the explicit scheme, you can study for example chapter 10 of the lecture notes in [Computational Physics, FYS3150/4150](https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Lectures/lectures2015.pdf) or alternative sources from courses like [MAT-MEK4270](https://www.uio.no/studier/emner/matnat/math/MAT-MEK4270/index.html). For the solution of ordinary and partial differential equations using neural networks, the lectures by [included in the lectures of week 43](https://compphysics.github.io/MachineLearning/doc/pub/week42/html/week43.html) at this course are highly recommended.\n",
|
||||
"\n",
|
||||
"For the machine learning part you can use your own code from project 2 or the functionality of for example **Tensorflow/Keras**.."
|
||||
"For the machine learning part you can use your own code from project 2 or the functionality of for example **Tensorflow/Keras**, **PyTorch** or other libraries such [Physics informed machine learning](https://maziarraissi.github.io/PINNs/)."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5e855e7f",
|
||||
"id": "c97df4f9",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"### Alternative differential equations\n",
|
||||
"\n",
|
||||
"Note that you can replace the one-dimensional diffusion equation discussed below with other sets of either ordinary differential equations or partial differential equations.\n",
|
||||
"Please discuss such a change with us at the lab."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "ecde0a0e",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -183,7 +200,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "bc4be75f",
|
||||
"id": "56429d7e",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -195,7 +212,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "caa1eca4",
|
||||
"id": "c2e49662",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -205,7 +222,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "98a2bd5b",
|
||||
"id": "fd661d63",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -217,7 +234,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "980b949d",
|
||||
"id": "a1d77183",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -227,7 +244,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "7401e9ec",
|
||||
"id": "73d187ef",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -239,7 +256,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e953662e",
|
||||
"id": "b9b49da0",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -250,7 +267,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "52122eb7",
|
||||
"id": "aee685e3",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -262,7 +279,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "ab71a383",
|
||||
"id": "96ec18ae",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -272,7 +289,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "4f886681",
|
||||
"id": "57c542b7",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -284,7 +301,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "83f8d12e",
|
||||
"id": "b6e8e863",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -297,7 +314,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "4bcf494f",
|
||||
"id": "76ae9476",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -309,7 +326,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "7f95982b",
|
||||
"id": "95e239a3",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -319,7 +336,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "1ee81ac0",
|
||||
"id": "63fb1417",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -331,7 +348,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "bae7898a",
|
||||
"id": "e1c77709",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -341,7 +358,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5de23ea9",
|
||||
"id": "2631e4bd",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -353,7 +370,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "4d5d56e3",
|
||||
"id": "0fa54ca3",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -364,7 +381,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e52523ef",
|
||||
"id": "7579152d",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -380,7 +397,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "678607d0",
|
||||
"id": "e8ceb962",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -397,21 +414,34 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "61d51d93",
|
||||
"id": "fe5c3f2f",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"### Part d)\n",
|
||||
"### Part d) Neural network complexity\n",
|
||||
"\n",
|
||||
"Finally, present a critical assessment of the methods you have studied\n",
|
||||
"and discuss the potential for the solving differential equations and\n",
|
||||
"eigenvalue problems with machine learning methods."
|
||||
"Here we study the stability of the results of the results as functions of the number of hidden nodes, layers and activation functions for the hidden layers.\n",
|
||||
"Increase the number of hidden nodes and layers in order to see if this improves your results. Try also different activation functions for the hidden layers, such as the **tanh**, **ReLU**, and other activation functions. \n",
|
||||
"Discuss your results."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "d2163034",
|
||||
"id": "3b2adf3a",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"### Part e)\n",
|
||||
"\n",
|
||||
"Finally, present a critical assessment of the methods you have studied\n",
|
||||
"and discuss the potential for the solving differential equations with machine learning methods."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "c2ed7243",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -442,7 +472,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e31290fd",
|
||||
"id": "e9f450e7",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -464,7 +494,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "99e78b73",
|
||||
"id": "4ec24e55",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -370,7 +370,7 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="project2.html">
|
||||
Project 2 on Machine Learning, deadline November 13 (Midnight)
|
||||
Project 2 on Machine Learning, deadline November 17 (Midnight)
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -496,6 +496,11 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
Solving partial differential equations with neural networks
|
||||
</a>
|
||||
<ul class="nav section-nav flex-column">
|
||||
<li class="toc-h3 nav-item toc-entry">
|
||||
<a class="reference internal nav-link" href="#alternative-differential-equations">
|
||||
Alternative differential equations
|
||||
</a>
|
||||
</li>
|
||||
<li class="toc-h3 nav-item toc-entry">
|
||||
<a class="reference internal nav-link" href="#part-a-setting-up-the-problem">
|
||||
Part a), setting up the problem
|
||||
@@ -511,9 +516,14 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
Part c) Neural networks
|
||||
</a>
|
||||
</li>
|
||||
<li class="toc-h3 nav-item toc-entry">
|
||||
<a class="reference internal nav-link" href="#part-d-neural-network-complexity">
|
||||
Part d) Neural network complexity
|
||||
</a>
|
||||
</li>
|
||||
<li class="toc-h3 nav-item toc-entry">
|
||||
<a class="reference internal nav-link" href="#id2">
|
||||
Part d)
|
||||
Part e)
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -607,6 +617,11 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
Solving partial differential equations with neural networks
|
||||
</a>
|
||||
<ul class="nav section-nav flex-column">
|
||||
<li class="toc-h3 nav-item toc-entry">
|
||||
<a class="reference internal nav-link" href="#alternative-differential-equations">
|
||||
Alternative differential equations
|
||||
</a>
|
||||
</li>
|
||||
<li class="toc-h3 nav-item toc-entry">
|
||||
<a class="reference internal nav-link" href="#part-a-setting-up-the-problem">
|
||||
Part a), setting up the problem
|
||||
@@ -622,9 +637,14 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
Part c) Neural networks
|
||||
</a>
|
||||
</li>
|
||||
<li class="toc-h3 nav-item toc-entry">
|
||||
<a class="reference internal nav-link" href="#part-d-neural-network-complexity">
|
||||
Part d) Neural network complexity
|
||||
</a>
|
||||
</li>
|
||||
<li class="toc-h3 nav-item toc-entry">
|
||||
<a class="reference internal nav-link" href="#id2">
|
||||
Part d)
|
||||
Part e)
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -660,7 +680,7 @@ doconce format html Project3.do.txt -->
|
||||
<!-- dom:TITLE: Project 3 on Machine Learning, deadline December 18 (midnight), 2023 --><div class="tex2jax_ignore mathjax_ignore section" id="project-3-on-machine-learning-deadline-december-18-midnight-2023">
|
||||
<h1>Project 3 on Machine Learning, deadline December 18 (midnight), 2023<a class="headerlink" href="#project-3-on-machine-learning-deadline-december-18-midnight-2023" title="Permalink to this headline">¶</a></h1>
|
||||
<p><strong><a class="reference external" href="http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html">Data Analysis and Machine Learning FYS-STK3155/FYS4155</a></strong>, Department of Physics, University of Oslo, Norway</p>
|
||||
<p>Date: <strong>Nov 12, 2023</strong></p>
|
||||
<p>Date: <strong>Nov 13, 2023</strong></p>
|
||||
<p>Copyright 1999-2023, <a class="reference external" href="http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html">Data Analysis and Machine Learning FYS-STK3155/FYS4155</a>. Released under CC Attribution-NonCommercial 4.0 license</p>
|
||||
</div>
|
||||
<div class="tex2jax_ignore mathjax_ignore section" id="paths-for-project-3">
|
||||
@@ -675,11 +695,13 @@ doconce format html Project3.do.txt -->
|
||||
</ol>
|
||||
<p>The approach to the analysis of these new data sets should follow to a large extent what you did in projects 1 and 2. That is:</p>
|
||||
<ol class="simple">
|
||||
<li><p>Whether you end up with a regression or a classification problem, you should employ at least two of the methods we have discussed among <strong>linear regression (including Ridge and Lasso)</strong>, <strong>Logistic Regression</strong>, <strong>Neural Networks</strong>, <strong>Convolution Neural Networks</strong>, <strong>Recurrent Neural Networks</strong>, and <strong>Decision Trees, Random Forests, Bagging and Boosting</strong>. You could for example explore all of the approaches from decision trees, via bagging and voting classifiers, to random forests, boosting and finally XGboost. If you wish to venture into <strong>convolutional neural networks</strong> or <strong>recurrent neural networks</strong>, or extensions of neural networkds, feel free to do so. You can also study unsupervised methods, although we in this course have mainly paid attention to supervised learning.</p></li>
|
||||
<li><p>Whether you end up with a regression or a classification problem, you should employ at least two of the methods we have discussed among <strong>linear regression (including Ridge and Lasso)</strong>, <strong>Logistic Regression</strong>, <strong>Neural Networks</strong>, <strong>Convolution Neural Networks</strong>, <strong>Recurrent Neural Networks</strong>, and <strong>Decision Trees, Random Forests, Bagging and Boosting</strong>.</p></li>
|
||||
</ol>
|
||||
<p>Feel also free to use support vector machines, <span class="math notranslate nohighlight">\(k\)</span>-means and principal components analysis, although the latter have not been covered during the lectures. This material can be found in the lecture notes.</p>
|
||||
<p>You could for example explore all of the approaches from decision trees, via bagging and voting classifiers, to random forests, boosting and finally XGboost. If you wish to venture into <strong>convolutional neural networks</strong> or <strong>recurrent neural networks</strong>, or extensions of neural networkds, feel free to do so. You can also study unsupervised methods, although we in this course have mainly paid attention to supervised learning.</p>
|
||||
<p>For Boosting, feel also free to write your own codes.</p>
|
||||
<ol class="simple">
|
||||
<li><p>For project 3, you should feel free to use your own codes from projects 1 and 2, eventually write your own for Decision trees/random forests/bagging/boosting’ or use the available functionality of <strong>Scikit-Learn</strong>, <strong>Tensorflow</strong>, etc.</p></li>
|
||||
<li><p>For project 3, you should feel free to use your own codes from projects 1 and 2, eventually write your own for Decision trees/random forests/bagging/boosting’ or use the available functionality of <strong>Scikit-Learn</strong>, <strong>Tensorflow</strong>, PyTorch etc.</p></li>
|
||||
<li><p>The estimates you used and tested in projects 1 and 2 should also be included, that is the <span class="math notranslate nohighlight">\(R2\)</span>-score, <strong>MSE</strong>, confusion matrix, accuracy score, information gain, ROC and Cumulative gains curves and other, cross-validation and/or bootstrap if these are relevant.</p></li>
|
||||
<li><p>Similarly, feel free to explore various activations functions in deep learning and various approachs to stochastic gradient descent approaches.</p></li>
|
||||
<li><p>If possible, you should link the data sets with exisiting research and analyses thereof. Scientific articles which have used Machine Learning algorithms to analyze the data are highly welcome. Perhaps you can improve previous analyses and even publish a new article?</p></li>
|
||||
@@ -687,7 +709,7 @@ doconce format html Project3.do.txt -->
|
||||
</ol>
|
||||
<p>All in all, the report should follow the same pattern as the two previous ones, with abstract, introduction, methods, code, results, conclusions etc..</p>
|
||||
<p>We propose also an alternative to the above. This is a project on using machine learning methods (neural networks mainly) to the solution of ordinary differential equations and partial differential equations, with a final twist on how to diagonalize a symmetric matrix with neural networks.</p>
|
||||
<p>This is a field with a large interest recently, spanning from studies of turbulence in fluid mechanics and meteorology to the solution of quantum mechanical systems. As reading background you can use the slides <a class="reference external" href="https://compphysics.github.io/MachineLearning/doc/pub/week43/html/week42.html">from week 43</a> and/or the textbook by <a class="reference external" href="https://www.springer.com/gp/book/9789401798150">Yadav et al</a>.</p>
|
||||
<p>This is a field with large scientific interest, spanning from studies of turbulence in fluid mechanics and meteorology to the solution of quantum mechanical systems. As reading background you can use the slides <a class="reference external" href="https://compphysics.github.io/MachineLearning/doc/pub/week43/html/week42.html">from week 43</a> and/or the textbook by <a class="reference external" href="https://www.springer.com/gp/book/9789401798150">Yadav et al</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="the-basic-structure-of-your-project">
|
||||
<h2>The basic structure of your project<a class="headerlink" href="#the-basic-structure-of-your-project" title="Permalink to this headline">¶</a></h2>
|
||||
@@ -720,8 +742,13 @@ background in the solution of partial differential equations using
|
||||
finite difference schemes. We will study the solution of the diffusion
|
||||
equation in one dimension using a standard explicit scheme and neural
|
||||
networks to solve the same equations.</p>
|
||||
<p>For the explicit scheme, you can study for example chapter 10 of the lecture notes in <a class="reference external" href="https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Lectures/lectures2015.pdf">Computational Physics</a> or alternative sources. For the solution of ordinary and partial differential equations using neural networks, the lectures by <a class="reference external" href="https://compphysics.github.io/MachineLearning/doc/pub/week42/html/week43.html">Kristine Baluka Hein and included in the lectures of week 43</a> at this course are highly recommended.</p>
|
||||
<p>For the machine learning part you can use your own code from project 2 or the functionality of for example <strong>Tensorflow/Keras</strong>..</p>
|
||||
<p>For the explicit scheme, you can study for example chapter 10 of the lecture notes in <a class="reference external" href="https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Lectures/lectures2015.pdf">Computational Physics, FYS3150/4150</a> or alternative sources from courses like <a class="reference external" href="https://www.uio.no/studier/emner/matnat/math/MAT-MEK4270/index.html">MAT-MEK4270</a>. For the solution of ordinary and partial differential equations using neural networks, the lectures by <a class="reference external" href="https://compphysics.github.io/MachineLearning/doc/pub/week42/html/week43.html">included in the lectures of week 43</a> at this course are highly recommended.</p>
|
||||
<p>For the machine learning part you can use your own code from project 2 or the functionality of for example <strong>Tensorflow/Keras</strong>, <strong>PyTorch</strong> or other libraries such <a class="reference external" href="https://maziarraissi.github.io/PINNs/">Physics informed machine learning</a>.</p>
|
||||
<div class="section" id="alternative-differential-equations">
|
||||
<h3>Alternative differential equations<a class="headerlink" href="#alternative-differential-equations" title="Permalink to this headline">¶</a></h3>
|
||||
<p>Note that you can replace the one-dimensional diffusion equation discussed below with other sets of either ordinary differential equations or partial differential equations.
|
||||
Please discuss such a change with us at the lab.</p>
|
||||
</div>
|
||||
<div class="section" id="part-a-setting-up-the-problem">
|
||||
<h3>Part a), setting up the problem<a class="headerlink" href="#part-a-setting-up-the-problem" title="Permalink to this headline">¶</a></h3>
|
||||
<p>The physical problem can be that of the temperature gradient in a rod of length <span class="math notranslate nohighlight">\(L=1\)</span> at <span class="math notranslate nohighlight">\(x=0\)</span> and <span class="math notranslate nohighlight">\(x=1\)</span>.
|
||||
@@ -788,11 +815,16 @@ part b). Discuss your results and compare them with the standard
|
||||
explicit scheme. Include also the analytical solution and compare with
|
||||
that.</p>
|
||||
</div>
|
||||
<div class="section" id="part-d-neural-network-complexity">
|
||||
<h3>Part d) Neural network complexity<a class="headerlink" href="#part-d-neural-network-complexity" title="Permalink to this headline">¶</a></h3>
|
||||
<p>Here we study the stability of the results of the results as functions of the number of hidden nodes, layers and activation functions for the hidden layers.
|
||||
Increase the number of hidden nodes and layers in order to see if this improves your results. Try also different activation functions for the hidden layers, such as the <strong>tanh</strong>, <strong>ReLU</strong>, and other activation functions.
|
||||
Discuss your results.</p>
|
||||
</div>
|
||||
<div class="section" id="id2">
|
||||
<h3>Part d)<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
|
||||
<h3>Part e)<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
|
||||
<p>Finally, present a critical assessment of the methods you have studied
|
||||
and discuss the potential for the solving differential equations and
|
||||
eigenvalue problems with machine learning methods.</p>
|
||||
and discuss the potential for the solving differential equations with machine learning methods.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="introduction-to-numerical-projects">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5831c36a",
|
||||
"id": "32bbc99a",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -14,7 +14,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "2d774c8b",
|
||||
"id": "21397747",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -22,14 +22,14 @@
|
||||
"# Project 3 on Machine Learning, deadline December 18 (midnight), 2023\n",
|
||||
"**[Data Analysis and Machine Learning FYS-STK3155/FYS4155](http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html)**, Department of Physics, University of Oslo, Norway\n",
|
||||
"\n",
|
||||
"Date: **Nov 12, 2023**\n",
|
||||
"Date: **Nov 13, 2023**\n",
|
||||
"\n",
|
||||
"Copyright 1999-2023, [Data Analysis and Machine Learning FYS-STK3155/FYS4155](http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html). Released under CC Attribution-NonCommercial 4.0 license"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5cbde03b",
|
||||
"id": "a13debcc",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -39,7 +39,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5170403b",
|
||||
"id": "9d1f1220",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -54,11 +54,15 @@
|
||||
"3. Or other sources.\n",
|
||||
"\n",
|
||||
"The approach to the analysis of these new data sets should follow to a large extent what you did in projects 1 and 2. That is:\n",
|
||||
"1. Whether you end up with a regression or a classification problem, you should employ at least two of the methods we have discussed among **linear regression (including Ridge and Lasso)**, **Logistic Regression**, **Neural Networks**, **Convolution Neural Networks**, **Recurrent Neural Networks**, and **Decision Trees, Random Forests, Bagging and Boosting**. You could for example explore all of the approaches from decision trees, via bagging and voting classifiers, to random forests, boosting and finally XGboost. If you wish to venture into **convolutional neural networks** or **recurrent neural networks**, or extensions of neural networkds, feel free to do so. You can also study unsupervised methods, although we in this course have mainly paid attention to supervised learning. \n",
|
||||
"1. Whether you end up with a regression or a classification problem, you should employ at least two of the methods we have discussed among **linear regression (including Ridge and Lasso)**, **Logistic Regression**, **Neural Networks**, **Convolution Neural Networks**, **Recurrent Neural Networks**, and **Decision Trees, Random Forests, Bagging and Boosting**.\n",
|
||||
"\n",
|
||||
"Feel also free to use support vector machines, $k$-means and principal components analysis, although the latter have not been covered during the lectures. This material can be found in the lecture notes.\n",
|
||||
"\n",
|
||||
"You could for example explore all of the approaches from decision trees, via bagging and voting classifiers, to random forests, boosting and finally XGboost. If you wish to venture into **convolutional neural networks** or **recurrent neural networks**, or extensions of neural networkds, feel free to do so. You can also study unsupervised methods, although we in this course have mainly paid attention to supervised learning. \n",
|
||||
"\n",
|
||||
"For Boosting, feel also free to write your own codes.\n",
|
||||
"\n",
|
||||
"1. For project 3, you should feel free to use your own codes from projects 1 and 2, eventually write your own for Decision trees/random forests/bagging/boosting' or use the available functionality of **Scikit-Learn**, **Tensorflow**, etc. \n",
|
||||
"1. For project 3, you should feel free to use your own codes from projects 1 and 2, eventually write your own for Decision trees/random forests/bagging/boosting' or use the available functionality of **Scikit-Learn**, **Tensorflow**, PyTorch etc. \n",
|
||||
"\n",
|
||||
"2. The estimates you used and tested in projects 1 and 2 should also be included, that is the $R2$-score, **MSE**, confusion matrix, accuracy score, information gain, ROC and Cumulative gains curves and other, cross-validation and/or bootstrap if these are relevant.\n",
|
||||
"\n",
|
||||
@@ -72,12 +76,12 @@
|
||||
"\n",
|
||||
"We propose also an alternative to the above. This is a project on using machine learning methods (neural networks mainly) to the solution of ordinary differential equations and partial differential equations, with a final twist on how to diagonalize a symmetric matrix with neural networks.\n",
|
||||
"\n",
|
||||
"This is a field with a large interest recently, spanning from studies of turbulence in fluid mechanics and meteorology to the solution of quantum mechanical systems. As reading background you can use the slides [from week 43](https://compphysics.github.io/MachineLearning/doc/pub/week43/html/week42.html) and/or the textbook by [Yadav et al](https://www.springer.com/gp/book/9789401798150)."
|
||||
"This is a field with large scientific interest, spanning from studies of turbulence in fluid mechanics and meteorology to the solution of quantum mechanical systems. As reading background you can use the slides [from week 43](https://compphysics.github.io/MachineLearning/doc/pub/week43/html/week42.html) and/or the textbook by [Yadav et al](https://www.springer.com/gp/book/9789401798150)."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e9fc8e8e",
|
||||
"id": "6416060c",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -89,7 +93,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "ce8b52a3",
|
||||
"id": "18827262",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -101,7 +105,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "eb943f7a",
|
||||
"id": "bcee53f4",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -113,7 +117,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "17447dcc",
|
||||
"id": "83ec8275",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -125,7 +129,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "d9bea856",
|
||||
"id": "2be62c8e",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -137,7 +141,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5b74282b",
|
||||
"id": "385e0b16",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -149,7 +153,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "28f082d7",
|
||||
"id": "fbf49165",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -162,14 +166,27 @@
|
||||
"equation in one dimension using a standard explicit scheme and neural\n",
|
||||
"networks to solve the same equations.\n",
|
||||
"\n",
|
||||
"For the explicit scheme, you can study for example chapter 10 of the lecture notes in [Computational Physics](https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Lectures/lectures2015.pdf) or alternative sources. For the solution of ordinary and partial differential equations using neural networks, the lectures by [Kristine Baluka Hein and included in the lectures of week 43](https://compphysics.github.io/MachineLearning/doc/pub/week42/html/week43.html) at this course are highly recommended.\n",
|
||||
"For the explicit scheme, you can study for example chapter 10 of the lecture notes in [Computational Physics, FYS3150/4150](https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Lectures/lectures2015.pdf) or alternative sources from courses like [MAT-MEK4270](https://www.uio.no/studier/emner/matnat/math/MAT-MEK4270/index.html). For the solution of ordinary and partial differential equations using neural networks, the lectures by [included in the lectures of week 43](https://compphysics.github.io/MachineLearning/doc/pub/week42/html/week43.html) at this course are highly recommended.\n",
|
||||
"\n",
|
||||
"For the machine learning part you can use your own code from project 2 or the functionality of for example **Tensorflow/Keras**.."
|
||||
"For the machine learning part you can use your own code from project 2 or the functionality of for example **Tensorflow/Keras**, **PyTorch** or other libraries such [Physics informed machine learning](https://maziarraissi.github.io/PINNs/)."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5e855e7f",
|
||||
"id": "c97df4f9",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"### Alternative differential equations\n",
|
||||
"\n",
|
||||
"Note that you can replace the one-dimensional diffusion equation discussed below with other sets of either ordinary differential equations or partial differential equations.\n",
|
||||
"Please discuss such a change with us at the lab."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "ecde0a0e",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -183,7 +200,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "bc4be75f",
|
||||
"id": "56429d7e",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -195,7 +212,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "caa1eca4",
|
||||
"id": "c2e49662",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -205,7 +222,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "98a2bd5b",
|
||||
"id": "fd661d63",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -217,7 +234,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "980b949d",
|
||||
"id": "a1d77183",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -227,7 +244,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "7401e9ec",
|
||||
"id": "73d187ef",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -239,7 +256,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e953662e",
|
||||
"id": "b9b49da0",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -250,7 +267,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "52122eb7",
|
||||
"id": "aee685e3",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -262,7 +279,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "ab71a383",
|
||||
"id": "96ec18ae",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -272,7 +289,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "4f886681",
|
||||
"id": "57c542b7",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -284,7 +301,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "83f8d12e",
|
||||
"id": "b6e8e863",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -297,7 +314,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "4bcf494f",
|
||||
"id": "76ae9476",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -309,7 +326,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "7f95982b",
|
||||
"id": "95e239a3",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -319,7 +336,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "1ee81ac0",
|
||||
"id": "63fb1417",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -331,7 +348,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "bae7898a",
|
||||
"id": "e1c77709",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -341,7 +358,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5de23ea9",
|
||||
"id": "2631e4bd",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -353,7 +370,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "4d5d56e3",
|
||||
"id": "0fa54ca3",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -364,7 +381,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e52523ef",
|
||||
"id": "7579152d",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -380,7 +397,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "678607d0",
|
||||
"id": "e8ceb962",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -397,21 +414,34 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "61d51d93",
|
||||
"id": "fe5c3f2f",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"### Part d)\n",
|
||||
"### Part d) Neural network complexity\n",
|
||||
"\n",
|
||||
"Finally, present a critical assessment of the methods you have studied\n",
|
||||
"and discuss the potential for the solving differential equations and\n",
|
||||
"eigenvalue problems with machine learning methods."
|
||||
"Here we study the stability of the results of the results as functions of the number of hidden nodes, layers and activation functions for the hidden layers.\n",
|
||||
"Increase the number of hidden nodes and layers in order to see if this improves your results. Try also different activation functions for the hidden layers, such as the **tanh**, **ReLU**, and other activation functions. \n",
|
||||
"Discuss your results."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "d2163034",
|
||||
"id": "3b2adf3a",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"### Part e)\n",
|
||||
"\n",
|
||||
"Finally, present a critical assessment of the methods you have studied\n",
|
||||
"and discuss the potential for the solving differential equations with machine learning methods."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "c2ed7243",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -442,7 +472,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e31290fd",
|
||||
"id": "e9f450e7",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -464,7 +494,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "99e78b73",
|
||||
"id": "4ec24e55",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
|
||||
@@ -2,34 +2,34 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "6afd3fdb",
|
||||
"id": "515c9474",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"<!-- HTML file automatically generated from DocOnce source (https://github.com/doconce/doconce/)\n",
|
||||
"doconce format html Project2.do.txt -->\n",
|
||||
"<!-- dom:TITLE: Project 2 on Machine Learning, deadline November 13 (Midnight) -->"
|
||||
"<!-- dom:TITLE: Project 2 on Machine Learning, deadline November 17 (Midnight) -->"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "21a10baa",
|
||||
"id": "890dcb04",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"# Project 2 on Machine Learning, deadline November 13 (Midnight)\n",
|
||||
"# Project 2 on Machine Learning, deadline November 17 (Midnight)\n",
|
||||
"**[Data Analysis and Machine Learning FYS-STK3155/FYS4155](http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html)**, Department of Physics, University of Oslo, Norway\n",
|
||||
"\n",
|
||||
"Date: **Oct 9, 2023**\n",
|
||||
"Date: **Nov 13, 2023**\n",
|
||||
"\n",
|
||||
"Copyright 1999-2023, [Data Analysis and Machine Learning FYS-STK3155/FYS4155](http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html). Released under CC Attribution-NonCommercial 4.0 license"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "4f67ce6e",
|
||||
"id": "8cbf512f",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -75,7 +75,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "67c6916e",
|
||||
"id": "696379a0",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -127,7 +127,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "fff54502",
|
||||
"id": "81d48303",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -166,7 +166,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "6e0f9012",
|
||||
"id": "db6aebb0",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -178,7 +178,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "075046bf",
|
||||
"id": "18314d90",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -204,7 +204,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "080dadf2",
|
||||
"id": "dc3021aa",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -216,7 +216,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e3418dd4",
|
||||
"id": "3c3c5b42",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -236,7 +236,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "828ad79f",
|
||||
"id": "1a493d07",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -258,7 +258,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "07059668",
|
||||
"id": "649a5380",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -274,7 +274,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e88200db",
|
||||
"id": "804df082",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -290,7 +290,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "66733be9",
|
||||
"id": "2661bc83",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -321,7 +321,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5c49a400",
|
||||
"id": "e651a157",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
|
||||
@@ -368,7 +368,7 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="project2.html">
|
||||
Project 2 on Machine Learning, deadline November 13 (Midnight)
|
||||
Project 2 on Machine Learning, deadline November 17 (Midnight)
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -369,7 +369,7 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="project2.html">
|
||||
Project 2 on Machine Learning, deadline November 13 (Midnight)
|
||||
Project 2 on Machine Learning, deadline November 17 (Midnight)
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Binary file not shown.
@@ -5,7 +5,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Project 2 on Machine Learning, deadline November 13 (Midnight) — Applied Data Analysis and Machine Learning</title>
|
||||
<title>Project 2 on Machine Learning, deadline November 17 (Midnight) — Applied Data Analysis and Machine Learning</title>
|
||||
|
||||
<link href="_static/css/theme.css" rel="stylesheet">
|
||||
<link href="_static/css/index.ff1ffe594081f20da1ef19478df9384b.css" rel="stylesheet">
|
||||
@@ -352,6 +352,11 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
Week 45, Recurrent Neural Networks
|
||||
</a>
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="week46.html">
|
||||
Week 46: Decision Trees, Ensemble methods and Random Forests
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p aria-level="2" class="caption" role="heading">
|
||||
<span class="caption-text">
|
||||
@@ -366,7 +371,7 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
</li>
|
||||
<li class="toctree-l1 current active">
|
||||
<a class="current reference internal" href="#">
|
||||
Project 2 on Machine Learning, deadline November 13 (Midnight)
|
||||
Project 2 on Machine Learning, deadline November 17 (Midnight)
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -502,7 +507,7 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
<div class="col-12 col-md-9 pl-md-3 pr-md-0">
|
||||
<!-- Table of contents that is only displayed when printing the page -->
|
||||
<div id="jb-print-docs-body" class="onlyprint">
|
||||
<h1>Project 2 on Machine Learning, deadline November 13 (Midnight)</h1>
|
||||
<h1>Project 2 on Machine Learning, deadline November 17 (Midnight)</h1>
|
||||
<!-- Table of contents -->
|
||||
<div id="print-main-content">
|
||||
<div id="jb-print-toc">
|
||||
@@ -575,10 +580,10 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
|
||||
<!-- HTML file automatically generated from DocOnce source (https://github.com/doconce/doconce/)
|
||||
doconce format html Project2.do.txt -->
|
||||
<!-- dom:TITLE: Project 2 on Machine Learning, deadline November 13 (Midnight) --><div class="tex2jax_ignore mathjax_ignore section" id="project-2-on-machine-learning-deadline-november-13-midnight">
|
||||
<h1>Project 2 on Machine Learning, deadline November 13 (Midnight)<a class="headerlink" href="#project-2-on-machine-learning-deadline-november-13-midnight" title="Permalink to this headline">¶</a></h1>
|
||||
<!-- dom:TITLE: Project 2 on Machine Learning, deadline November 17 (Midnight) --><div class="tex2jax_ignore mathjax_ignore section" id="project-2-on-machine-learning-deadline-november-17-midnight">
|
||||
<h1>Project 2 on Machine Learning, deadline November 17 (Midnight)<a class="headerlink" href="#project-2-on-machine-learning-deadline-november-17-midnight" title="Permalink to this headline">¶</a></h1>
|
||||
<p><strong><a class="reference external" href="http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html">Data Analysis and Machine Learning FYS-STK3155/FYS4155</a></strong>, Department of Physics, University of Oslo, Norway</p>
|
||||
<p>Date: <strong>Oct 9, 2023</strong></p>
|
||||
<p>Date: <strong>Nov 13, 2023</strong></p>
|
||||
<p>Copyright 1999-2023, <a class="reference external" href="http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html">Data Analysis and Machine Learning FYS-STK3155/FYS4155</a>. Released under CC Attribution-NonCommercial 4.0 license</p>
|
||||
<div class="section" id="classification-and-regression-from-linear-and-logistic-regression-to-neural-networks">
|
||||
<h2>Classification and Regression, from linear and logistic regression to neural networks<a class="headerlink" href="#classification-and-regression-from-linear-and-logistic-regression-to-neural-networks" title="Permalink to this headline">¶</a></h2>
|
||||
|
||||
@@ -374,7 +374,7 @@ const thebe_selector_output = ".output, .cell_output"
|
||||
</li>
|
||||
<li class="toctree-l1">
|
||||
<a class="reference internal" href="project2.html">
|
||||
Project 2 on Machine Learning, deadline November 13 (Midnight)
|
||||
Project 2 on Machine Learning, deadline November 17 (Midnight)
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5831c36a",
|
||||
"id": "32bbc99a",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -14,7 +14,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "2d774c8b",
|
||||
"id": "21397747",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -22,14 +22,14 @@
|
||||
"# Project 3 on Machine Learning, deadline December 18 (midnight), 2023\n",
|
||||
"**[Data Analysis and Machine Learning FYS-STK3155/FYS4155](http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html)**, Department of Physics, University of Oslo, Norway\n",
|
||||
"\n",
|
||||
"Date: **Nov 12, 2023**\n",
|
||||
"Date: **Nov 13, 2023**\n",
|
||||
"\n",
|
||||
"Copyright 1999-2023, [Data Analysis and Machine Learning FYS-STK3155/FYS4155](http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html). Released under CC Attribution-NonCommercial 4.0 license"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5cbde03b",
|
||||
"id": "a13debcc",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -39,7 +39,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5170403b",
|
||||
"id": "9d1f1220",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -54,11 +54,15 @@
|
||||
"3. Or other sources.\n",
|
||||
"\n",
|
||||
"The approach to the analysis of these new data sets should follow to a large extent what you did in projects 1 and 2. That is:\n",
|
||||
"1. Whether you end up with a regression or a classification problem, you should employ at least two of the methods we have discussed among **linear regression (including Ridge and Lasso)**, **Logistic Regression**, **Neural Networks**, **Convolution Neural Networks**, **Recurrent Neural Networks**, and **Decision Trees, Random Forests, Bagging and Boosting**. You could for example explore all of the approaches from decision trees, via bagging and voting classifiers, to random forests, boosting and finally XGboost. If you wish to venture into **convolutional neural networks** or **recurrent neural networks**, or extensions of neural networkds, feel free to do so. You can also study unsupervised methods, although we in this course have mainly paid attention to supervised learning. \n",
|
||||
"1. Whether you end up with a regression or a classification problem, you should employ at least two of the methods we have discussed among **linear regression (including Ridge and Lasso)**, **Logistic Regression**, **Neural Networks**, **Convolution Neural Networks**, **Recurrent Neural Networks**, and **Decision Trees, Random Forests, Bagging and Boosting**.\n",
|
||||
"\n",
|
||||
"Feel also free to use support vector machines, $k$-means and principal components analysis, although the latter have not been covered during the lectures. This material can be found in the lecture notes.\n",
|
||||
"\n",
|
||||
"You could for example explore all of the approaches from decision trees, via bagging and voting classifiers, to random forests, boosting and finally XGboost. If you wish to venture into **convolutional neural networks** or **recurrent neural networks**, or extensions of neural networkds, feel free to do so. You can also study unsupervised methods, although we in this course have mainly paid attention to supervised learning. \n",
|
||||
"\n",
|
||||
"For Boosting, feel also free to write your own codes.\n",
|
||||
"\n",
|
||||
"1. For project 3, you should feel free to use your own codes from projects 1 and 2, eventually write your own for Decision trees/random forests/bagging/boosting' or use the available functionality of **Scikit-Learn**, **Tensorflow**, etc. \n",
|
||||
"1. For project 3, you should feel free to use your own codes from projects 1 and 2, eventually write your own for Decision trees/random forests/bagging/boosting' or use the available functionality of **Scikit-Learn**, **Tensorflow**, PyTorch etc. \n",
|
||||
"\n",
|
||||
"2. The estimates you used and tested in projects 1 and 2 should also be included, that is the $R2$-score, **MSE**, confusion matrix, accuracy score, information gain, ROC and Cumulative gains curves and other, cross-validation and/or bootstrap if these are relevant.\n",
|
||||
"\n",
|
||||
@@ -72,12 +76,12 @@
|
||||
"\n",
|
||||
"We propose also an alternative to the above. This is a project on using machine learning methods (neural networks mainly) to the solution of ordinary differential equations and partial differential equations, with a final twist on how to diagonalize a symmetric matrix with neural networks.\n",
|
||||
"\n",
|
||||
"This is a field with a large interest recently, spanning from studies of turbulence in fluid mechanics and meteorology to the solution of quantum mechanical systems. As reading background you can use the slides [from week 43](https://compphysics.github.io/MachineLearning/doc/pub/week43/html/week42.html) and/or the textbook by [Yadav et al](https://www.springer.com/gp/book/9789401798150)."
|
||||
"This is a field with large scientific interest, spanning from studies of turbulence in fluid mechanics and meteorology to the solution of quantum mechanical systems. As reading background you can use the slides [from week 43](https://compphysics.github.io/MachineLearning/doc/pub/week43/html/week42.html) and/or the textbook by [Yadav et al](https://www.springer.com/gp/book/9789401798150)."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e9fc8e8e",
|
||||
"id": "6416060c",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -89,7 +93,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "ce8b52a3",
|
||||
"id": "18827262",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -101,7 +105,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "eb943f7a",
|
||||
"id": "bcee53f4",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -113,7 +117,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "17447dcc",
|
||||
"id": "83ec8275",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -125,7 +129,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "d9bea856",
|
||||
"id": "2be62c8e",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -137,7 +141,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5b74282b",
|
||||
"id": "385e0b16",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -149,7 +153,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "28f082d7",
|
||||
"id": "fbf49165",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -162,14 +166,27 @@
|
||||
"equation in one dimension using a standard explicit scheme and neural\n",
|
||||
"networks to solve the same equations.\n",
|
||||
"\n",
|
||||
"For the explicit scheme, you can study for example chapter 10 of the lecture notes in [Computational Physics](https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Lectures/lectures2015.pdf) or alternative sources. For the solution of ordinary and partial differential equations using neural networks, the lectures by [Kristine Baluka Hein and included in the lectures of week 43](https://compphysics.github.io/MachineLearning/doc/pub/week42/html/week43.html) at this course are highly recommended.\n",
|
||||
"For the explicit scheme, you can study for example chapter 10 of the lecture notes in [Computational Physics, FYS3150/4150](https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Lectures/lectures2015.pdf) or alternative sources from courses like [MAT-MEK4270](https://www.uio.no/studier/emner/matnat/math/MAT-MEK4270/index.html). For the solution of ordinary and partial differential equations using neural networks, the lectures by [included in the lectures of week 43](https://compphysics.github.io/MachineLearning/doc/pub/week42/html/week43.html) at this course are highly recommended.\n",
|
||||
"\n",
|
||||
"For the machine learning part you can use your own code from project 2 or the functionality of for example **Tensorflow/Keras**.."
|
||||
"For the machine learning part you can use your own code from project 2 or the functionality of for example **Tensorflow/Keras**, **PyTorch** or other libraries such [Physics informed machine learning](https://maziarraissi.github.io/PINNs/)."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5e855e7f",
|
||||
"id": "c97df4f9",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"### Alternative differential equations\n",
|
||||
"\n",
|
||||
"Note that you can replace the one-dimensional diffusion equation discussed below with other sets of either ordinary differential equations or partial differential equations.\n",
|
||||
"Please discuss such a change with us at the lab."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "ecde0a0e",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -183,7 +200,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "bc4be75f",
|
||||
"id": "56429d7e",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -195,7 +212,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "caa1eca4",
|
||||
"id": "c2e49662",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -205,7 +222,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "98a2bd5b",
|
||||
"id": "fd661d63",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -217,7 +234,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "980b949d",
|
||||
"id": "a1d77183",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -227,7 +244,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "7401e9ec",
|
||||
"id": "73d187ef",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -239,7 +256,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e953662e",
|
||||
"id": "b9b49da0",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -250,7 +267,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "52122eb7",
|
||||
"id": "aee685e3",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -262,7 +279,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "ab71a383",
|
||||
"id": "96ec18ae",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -272,7 +289,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "4f886681",
|
||||
"id": "57c542b7",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -284,7 +301,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "83f8d12e",
|
||||
"id": "b6e8e863",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -297,7 +314,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "4bcf494f",
|
||||
"id": "76ae9476",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -309,7 +326,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "7f95982b",
|
||||
"id": "95e239a3",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -319,7 +336,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "1ee81ac0",
|
||||
"id": "63fb1417",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -331,7 +348,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "bae7898a",
|
||||
"id": "e1c77709",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -341,7 +358,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5de23ea9",
|
||||
"id": "2631e4bd",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -353,7 +370,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "4d5d56e3",
|
||||
"id": "0fa54ca3",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -364,7 +381,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e52523ef",
|
||||
"id": "7579152d",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -380,7 +397,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "678607d0",
|
||||
"id": "e8ceb962",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -397,21 +414,34 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "61d51d93",
|
||||
"id": "fe5c3f2f",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"### Part d)\n",
|
||||
"### Part d) Neural network complexity\n",
|
||||
"\n",
|
||||
"Finally, present a critical assessment of the methods you have studied\n",
|
||||
"and discuss the potential for the solving differential equations and\n",
|
||||
"eigenvalue problems with machine learning methods."
|
||||
"Here we study the stability of the results of the results as functions of the number of hidden nodes, layers and activation functions for the hidden layers.\n",
|
||||
"Increase the number of hidden nodes and layers in order to see if this improves your results. Try also different activation functions for the hidden layers, such as the **tanh**, **ReLU**, and other activation functions. \n",
|
||||
"Discuss your results."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "d2163034",
|
||||
"id": "3b2adf3a",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"### Part e)\n",
|
||||
"\n",
|
||||
"Finally, present a critical assessment of the methods you have studied\n",
|
||||
"and discuss the potential for the solving differential equations with machine learning methods."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "c2ed7243",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -442,7 +472,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e31290fd",
|
||||
"id": "e9f450e7",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -464,7 +494,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "99e78b73",
|
||||
"id": "4ec24e55",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
|
||||
@@ -2,34 +2,34 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "6afd3fdb",
|
||||
"id": "515c9474",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"<!-- HTML file automatically generated from DocOnce source (https://github.com/doconce/doconce/)\n",
|
||||
"doconce format html Project2.do.txt -->\n",
|
||||
"<!-- dom:TITLE: Project 2 on Machine Learning, deadline November 13 (Midnight) -->"
|
||||
"<!-- dom:TITLE: Project 2 on Machine Learning, deadline November 17 (Midnight) -->"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "21a10baa",
|
||||
"id": "890dcb04",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
"source": [
|
||||
"# Project 2 on Machine Learning, deadline November 13 (Midnight)\n",
|
||||
"# Project 2 on Machine Learning, deadline November 17 (Midnight)\n",
|
||||
"**[Data Analysis and Machine Learning FYS-STK3155/FYS4155](http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html)**, Department of Physics, University of Oslo, Norway\n",
|
||||
"\n",
|
||||
"Date: **Oct 9, 2023**\n",
|
||||
"Date: **Nov 13, 2023**\n",
|
||||
"\n",
|
||||
"Copyright 1999-2023, [Data Analysis and Machine Learning FYS-STK3155/FYS4155](http://www.uio.no/studier/emner/matnat/fys/FYS3155/index-eng.html). Released under CC Attribution-NonCommercial 4.0 license"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "4f67ce6e",
|
||||
"id": "8cbf512f",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -75,7 +75,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "67c6916e",
|
||||
"id": "696379a0",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -127,7 +127,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "fff54502",
|
||||
"id": "81d48303",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -166,7 +166,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "6e0f9012",
|
||||
"id": "db6aebb0",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -178,7 +178,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "075046bf",
|
||||
"id": "18314d90",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -204,7 +204,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "080dadf2",
|
||||
"id": "dc3021aa",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -216,7 +216,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e3418dd4",
|
||||
"id": "3c3c5b42",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -236,7 +236,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "828ad79f",
|
||||
"id": "1a493d07",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -258,7 +258,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "07059668",
|
||||
"id": "649a5380",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -274,7 +274,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "e88200db",
|
||||
"id": "804df082",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -290,7 +290,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "66733be9",
|
||||
"id": "2661bc83",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
@@ -321,7 +321,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "5c49a400",
|
||||
"id": "e651a157",
|
||||
"metadata": {
|
||||
"editable": true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user