847 lines
48 KiB
HTML
847 lines
48 KiB
HTML
|
||
<!DOCTYPE html>
|
||
|
||
|
||
<html lang="en" data-content_root="./" >
|
||
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
|
||
<title>Project 3 on Machine Learning, deadline December 9 (midnight), 2024 — Applied Data Analysis and Machine Learning</title>
|
||
|
||
|
||
|
||
<script data-cfasync="false">
|
||
document.documentElement.dataset.mode = localStorage.getItem("mode") || "";
|
||
document.documentElement.dataset.theme = localStorage.getItem("theme") || "";
|
||
</script>
|
||
<!--
|
||
this give us a css class that will be invisible only if js is disabled
|
||
-->
|
||
<noscript>
|
||
<style>
|
||
.pst-js-only { display: none !important; }
|
||
|
||
</style>
|
||
</noscript>
|
||
|
||
<!-- Loaded before other Sphinx assets -->
|
||
<link href="_static/styles/theme.css?digest=26a4bc78f4c0ddb94549" rel="stylesheet" />
|
||
<link href="_static/styles/pydata-sphinx-theme.css?digest=26a4bc78f4c0ddb94549" rel="stylesheet" />
|
||
|
||
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
|
||
<link rel="stylesheet" type="text/css" href="_static/styles/sphinx-book-theme.css?v=a3416100" />
|
||
<link rel="stylesheet" type="text/css" href="_static/togglebutton.css?v=13237357" />
|
||
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
|
||
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css?v=be8a1c11" />
|
||
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
|
||
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
|
||
|
||
<!-- So that users can add custom icons -->
|
||
<script src="_static/scripts/fontawesome.js?digest=26a4bc78f4c0ddb94549"></script>
|
||
<!-- Pre-loaded scripts that we'll load fully later -->
|
||
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=26a4bc78f4c0ddb94549" />
|
||
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=26a4bc78f4c0ddb94549" />
|
||
|
||
<script src="_static/documentation_options.js?v=9eb32ce0"></script>
|
||
<script src="_static/doctools.js?v=9a2dae69"></script>
|
||
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
|
||
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
|
||
<script src="_static/copybutton.js?v=f281be69"></script>
|
||
<script src="_static/scripts/sphinx-book-theme.js?v=887ef09a"></script>
|
||
<script>let toggleHintShow = 'Click to show';</script>
|
||
<script>let toggleHintHide = 'Click to hide';</script>
|
||
<script>let toggleOpenOnPrint = 'true';</script>
|
||
<script src="_static/togglebutton.js?v=4a39c7ea"></script>
|
||
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
|
||
<script src="_static/design-tabs.js?v=f930bc37"></script>
|
||
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"; const thebe_selector = ".thebe,.cell"; const thebe_selector_input = "pre"; const thebe_selector_output = ".output, .cell_output"</script>
|
||
<script async="async" src="_static/sphinx-thebe.js?v=c100c467"></script>
|
||
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
|
||
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"; const thebe_selector = ".thebe,.cell"; const thebe_selector_input = "pre"; const thebe_selector_output = ".output, .cell_output"</script>
|
||
<script>window.MathJax = {"options": {"processHtmlClass": "tex2jax_process|mathjax_process|math|output_area"}}</script>
|
||
<script defer="defer" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
||
<script>DOCUMENTATION_OPTIONS.pagename = 'project3';</script>
|
||
<link rel="index" title="Index" href="genindex.html" />
|
||
<link rel="search" title="Search" href="search.html" />
|
||
<link rel="prev" title="Project 2 on Machine Learning, deadline November 4 (Midnight)" href="project2.html" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
<meta name="docsearch:language" content="en"/>
|
||
<meta name="docsearch:version" content="" />
|
||
</head>
|
||
|
||
|
||
<body data-bs-spy="scroll" data-bs-target=".bd-toc-nav" data-offset="180" data-bs-root-margin="0px 0px -60%" data-default-mode="">
|
||
|
||
|
||
|
||
<div id="pst-skip-link" class="skip-link d-print-none"><a href="#main-content">Skip to main content</a></div>
|
||
|
||
<div id="pst-scroll-pixel-helper"></div>
|
||
|
||
<button type="button" class="btn rounded-pill" id="pst-back-to-top">
|
||
<i class="fa-solid fa-arrow-up"></i>Back to top</button>
|
||
|
||
|
||
<dialog id="pst-search-dialog">
|
||
|
||
<form class="bd-search d-flex align-items-center"
|
||
action="search.html"
|
||
method="get">
|
||
<i class="fa-solid fa-magnifying-glass"></i>
|
||
<input type="search"
|
||
class="form-control"
|
||
name="q"
|
||
placeholder="Search this book..."
|
||
aria-label="Search this book..."
|
||
autocomplete="off"
|
||
autocorrect="off"
|
||
autocapitalize="off"
|
||
spellcheck="false"/>
|
||
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
|
||
</form>
|
||
</dialog>
|
||
|
||
<div class="pst-async-banner-revealer d-none">
|
||
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
|
||
</div>
|
||
|
||
|
||
<header class="bd-header navbar navbar-expand-lg bd-navbar d-print-none">
|
||
</header>
|
||
|
||
|
||
<div class="bd-container">
|
||
<div class="bd-container__inner bd-page-width">
|
||
|
||
|
||
|
||
<dialog id="pst-primary-sidebar-modal"></dialog>
|
||
<div id="pst-primary-sidebar" class="bd-sidebar-primary bd-sidebar">
|
||
|
||
|
||
|
||
<div class="sidebar-header-items sidebar-primary__section">
|
||
|
||
|
||
|
||
|
||
</div>
|
||
|
||
<div class="sidebar-primary-items__start sidebar-primary__section">
|
||
<div class="sidebar-primary-item">
|
||
|
||
|
||
|
||
|
||
|
||
<a class="navbar-brand logo" href="intro.html">
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<img src="_static/logo.png" class="logo__image only-light" alt="Applied Data Analysis and Machine Learning - Home"/>
|
||
<img src="_static/logo.png" class="logo__image only-dark pst-js-only" alt="Applied Data Analysis and Machine Learning - Home"/>
|
||
|
||
|
||
</a></div>
|
||
<div class="sidebar-primary-item">
|
||
|
||
<button class="btn search-button-field search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
|
||
<i class="fa-solid fa-magnifying-glass"></i>
|
||
<span class="search-button__default-text">Search</span>
|
||
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span>
|
||
</button></div>
|
||
<div class="sidebar-primary-item"><nav class="bd-links bd-docs-nav" aria-label="Main">
|
||
<div class="bd-toc-item navbar-nav active">
|
||
|
||
<ul class="nav bd-sidenav bd-sidenav__home-link">
|
||
<li class="toctree-l1">
|
||
<a class="reference internal" href="intro.html">
|
||
Applied Data Analysis and Machine Learning
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">About the course</span></p>
|
||
<ul class="nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="schedule.html">Teaching schedule with links to material</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="teachers.html">Teachers and Grading</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="textbooks.html">Textbooks</a></li>
|
||
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Review of Statistics with Resampling Techniques and Linear Algebra</span></p>
|
||
<ul class="nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="statistics.html">1. Elements of Probability Theory and Statistical Data Analysis</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="linalg.html">2. Linear Algebra, Handling of Arrays and more Python Features</a></li>
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">From Regression to Support Vector Machines</span></p>
|
||
<ul class="nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="chapter1.html">3. Linear Regression</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="chapter2.html">4. Ridge and Lasso Regression</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="chapter3.html">5. Resampling Methods</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="chapter4.html">6. Logistic Regression</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="chapteroptimization.html">7. Optimization, the central part of any Machine Learning algortithm</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="chapter5.html">8. Support Vector Machines, overarching aims</a></li>
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Decision Trees, Ensemble Methods and Boosting</span></p>
|
||
<ul class="nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="chapter6.html">9. Decision trees, overarching aims</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="chapter7.html">10. Ensemble Methods: From a Single Tree to Many Trees and Extreme Boosting, Meet the Jungle of Methods</a></li>
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Dimensionality Reduction</span></p>
|
||
<ul class="nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="chapter8.html">11. Basic ideas of the Principal Component Analysis (PCA)</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="clustering.html">12. Clustering and Unsupervised Learning</a></li>
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Deep Learning Methods</span></p>
|
||
<ul class="nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="chapter9.html">13. Neural networks</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="chapter10.html">14. Building a Feed Forward Neural Network</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="chapter11.html">15. Solving Differential Equations with Deep Learning</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="chapter12.html">16. Convolutional Neural Networks</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="chapter13.html">17. Recurrent neural networks: Overarching view</a></li>
|
||
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Weekly material, notes and exercises</span></p>
|
||
<ul class="nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="exercisesweek34.html">Exercises week 34</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="week34.html">Week 34: Introduction to the course, Logistics and Practicalities</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="exercisesweek35.html">Exercises week 35</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="week35.html">Week 35: From Ordinary Linear Regression to Ridge and Lasso Regression</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="exercisesweek36.html">Exercises week 36</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="week36.html">Week 36: Linear Regression and Statistical interpretations</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="exercisesweek37.html">Exercises week 37</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="week37.html">Week 37: Statistical interpretations and Resampling Methods</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="exercisesweek38.html">Exercises week 38</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="week38.html">Week 38: Logistic Regression and Optimization</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="exercisesweek39.html">Exercises week 39</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="week39.html">Week 39: Optimization and Gradient Methods</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="week40.html">Week 40: Gradient descent methods (continued) and start Neural networks</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="exercisesweek41.html">Exercises week 41</a></li>
|
||
|
||
|
||
<li class="toctree-l1"><a class="reference internal" href="week41.html">Week 41 Neural networks and constructing a neural network code</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="exercisesweek42.html">Exercises week 42</a></li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<li class="toctree-l1"><a class="reference internal" href="week42.html">Week 42 Constructing a Neural Network code with examples</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="additionweek42.html">Exercises Week 42: Logistic Regression and Optimization, reminders from week 38 and week 40</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="week43.html">Week 43: Deep Learning: Constructing a Neural Network code and solving differential equations</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="exercisesweek43.html">Exercises week 43</a></li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<li class="toctree-l1"><a class="reference internal" href="week44.html">Week 44, Convolutional Neural Networks (CNN)</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="week45.html">Week 45, Convolutional Neural Networks (CCNs) and Recurrent Neural Networks (RNNs)</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="week46.html">Week 46: Decision Trees, Ensemble methods and Random Forests</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="week47.html">Week 47: From Decision Trees to Ensemble Methods, Random Forests and Boosting Methods</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="exercisesweek47.html">Exercise week 47</a></li>
|
||
|
||
<li class="toctree-l1"><a class="reference internal" href="week48.html">Week 48: Gradient boosting and summary of course</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="exercisesweek48.html">Exercises week 48</a></li>
|
||
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Projects</span></p>
|
||
<ul class="current nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="project1.html">Project 1 on Machine Learning, deadline October 7 (midnight), 2024</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="project2.html">Project 2 on Machine Learning, deadline November 4 (Midnight)</a></li>
|
||
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Project 3 on Machine Learning, deadline December 9 (midnight), 2024</a></li>
|
||
|
||
</ul>
|
||
|
||
</div>
|
||
</nav></div>
|
||
</div>
|
||
|
||
|
||
<div class="sidebar-primary-items__end sidebar-primary__section">
|
||
</div>
|
||
|
||
<div id="rtd-footer-container"></div>
|
||
|
||
|
||
</div>
|
||
|
||
<main id="main-content" class="bd-main" role="main">
|
||
|
||
|
||
|
||
<div class="sbt-scroll-pixel-helper"></div>
|
||
|
||
<div class="bd-content">
|
||
<div class="bd-article-container">
|
||
|
||
<div class="bd-header-article d-print-none">
|
||
<div class="header-article-items header-article__inner">
|
||
|
||
<div class="header-article-items__start">
|
||
|
||
<div class="header-article-item"><button class="sidebar-toggle primary-toggle btn btn-sm" title="Toggle primary sidebar" data-bs-placement="bottom" data-bs-toggle="tooltip">
|
||
<span class="fa-solid fa-bars"></span>
|
||
</button></div>
|
||
|
||
</div>
|
||
|
||
|
||
<div class="header-article-items__end">
|
||
|
||
<div class="header-article-item">
|
||
|
||
<div class="article-header-buttons">
|
||
|
||
|
||
|
||
|
||
|
||
<div class="dropdown dropdown-launch-buttons">
|
||
<button class="btn dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" aria-label="Launch interactive content">
|
||
<i class="fas fa-rocket"></i>
|
||
</button>
|
||
<ul class="dropdown-menu">
|
||
|
||
|
||
|
||
<li><a href="https://mybinder.org/v2/git/https%3A//compphysics.github.io/MachineLearning/doc/LectureNotes/_build/html/index.html/master?urlpath=tree/project3.ipynb" target="_blank"
|
||
class="btn btn-sm dropdown-item"
|
||
title="Launch on Binder"
|
||
data-bs-placement="left" data-bs-toggle="tooltip"
|
||
>
|
||
|
||
|
||
<span class="btn__icon-container">
|
||
|
||
<img alt="Binder logo" src="_static/images/logo_binder.svg">
|
||
</span>
|
||
<span class="btn__text-container">Binder</span>
|
||
</a>
|
||
</li>
|
||
|
||
</ul>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div class="dropdown dropdown-download-buttons">
|
||
<button class="btn dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" aria-label="Download this page">
|
||
<i class="fas fa-download"></i>
|
||
</button>
|
||
<ul class="dropdown-menu">
|
||
|
||
|
||
|
||
<li><a href="_sources/project3.ipynb" target="_blank"
|
||
class="btn btn-sm btn-download-source-button dropdown-item"
|
||
title="Download source file"
|
||
data-bs-placement="left" data-bs-toggle="tooltip"
|
||
>
|
||
|
||
|
||
<span class="btn__icon-container">
|
||
<i class="fas fa-file"></i>
|
||
</span>
|
||
<span class="btn__text-container">.ipynb</span>
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
<li>
|
||
<button onclick="window.print()"
|
||
class="btn btn-sm btn-download-pdf-button dropdown-item"
|
||
title="Print to PDF"
|
||
data-bs-placement="left" data-bs-toggle="tooltip"
|
||
>
|
||
|
||
|
||
<span class="btn__icon-container">
|
||
<i class="fas fa-file-pdf"></i>
|
||
</span>
|
||
<span class="btn__text-container">.pdf</span>
|
||
</button>
|
||
</li>
|
||
|
||
</ul>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
<button onclick="toggleFullScreen()"
|
||
class="btn btn-sm btn-fullscreen-button"
|
||
title="Fullscreen mode"
|
||
data-bs-placement="bottom" data-bs-toggle="tooltip"
|
||
>
|
||
|
||
|
||
<span class="btn__icon-container">
|
||
<i class="fas fa-expand"></i>
|
||
</span>
|
||
|
||
</button>
|
||
|
||
|
||
|
||
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button pst-js-only" aria-label="Color mode" data-bs-title="Color mode" data-bs-placement="bottom" data-bs-toggle="tooltip">
|
||
<i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light" title="Light"></i>
|
||
<i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark" title="Dark"></i>
|
||
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto" title="System Settings"></i>
|
||
</button>
|
||
|
||
|
||
<button class="btn btn-sm pst-navbar-icon search-button search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
|
||
<i class="fa-solid fa-magnifying-glass fa-lg"></i>
|
||
</button>
|
||
<button class="sidebar-toggle secondary-toggle btn btn-sm" title="Toggle secondary sidebar" data-bs-placement="bottom" data-bs-toggle="tooltip">
|
||
<span class="fa-solid fa-list"></span>
|
||
</button>
|
||
</div></div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
<div id="jb-print-docs-body" class="onlyprint">
|
||
<h1>Project 3 on Machine Learning, deadline December 9 (midnight), 2024</h1>
|
||
<!-- Table of contents -->
|
||
<div id="print-main-content">
|
||
<div id="jb-print-toc">
|
||
|
||
<div>
|
||
<h2> Contents </h2>
|
||
</div>
|
||
<nav aria-label="Page">
|
||
<ul class="visible nav section-nav flex-column">
|
||
<li class="toc-h1 nav-item toc-entry"><a class="reference internal nav-link" href="#">Project 3 on Machine Learning, deadline December 9 (midnight), 2024</a></li>
|
||
<li class="toc-h1 nav-item toc-entry"><a class="reference internal nav-link" href="#paths-for-project-3">Paths for project 3</a><ul class="visible nav section-nav flex-column">
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#defining-the-data-sets-to-analyze-yourself">Defining the data sets to analyze yourself</a></li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#the-basic-structure-of-your-project">The basic structure of your project</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-a">Part a)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-b">Part b)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-c">Part c)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-d">Part d)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-e">Part e)</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#solving-partial-differential-equations-with-neural-networks">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</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id1">Part b)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-c-neural-networks">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 e)</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#introduction-to-numerical-projects">Introduction to numerical projects</a></li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#format-for-electronic-delivery-of-report-and-programs">Format for electronic delivery of report and programs</a></li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#software-and-needed-installations">Software and needed installations</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
|
||
</nav>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
<div id="searchbox"></div>
|
||
<article class="bd-article">
|
||
|
||
<!-- HTML file automatically generated from DocOnce source (https://github.com/doconce/doconce/)
|
||
doconce format html Project3.do.txt -->
|
||
<!-- dom:TITLE: Project 3 on Machine Learning, deadline December 9 (midnight), 2024 --><section class="tex2jax_ignore mathjax_ignore" id="project-3-on-machine-learning-deadline-december-9-midnight-2024">
|
||
<h1>Project 3 on Machine Learning, deadline December 9 (midnight), 2024<a class="headerlink" href="#project-3-on-machine-learning-deadline-december-9-midnight-2024" title="Link to this heading">#</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 4, 2024</strong></p>
|
||
<p>Copyright 1999-2024, <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>
|
||
</section>
|
||
<section class="tex2jax_ignore mathjax_ignore" id="paths-for-project-3">
|
||
<h1>Paths for project 3<a class="headerlink" href="#paths-for-project-3" title="Link to this heading">#</a></h1>
|
||
<section id="defining-the-data-sets-to-analyze-yourself">
|
||
<h2>Defining the data sets to analyze yourself<a class="headerlink" href="#defining-the-data-sets-to-analyze-yourself" title="Link to this heading">#</a></h2>
|
||
<p>For project 3, you can propose own data sets that relate to your research interests or just use existing data sets from say</p>
|
||
<ol class="arabic simple">
|
||
<li><p><a class="reference external" href="https://www.kaggle.com/datasets">Kaggle</a></p></li>
|
||
<li><p>The <a class="reference external" href="https://archive.ics.uci.edu/ml/index.php">University of California at Irvine (UCI) with its machine learning repository</a>.</p></li>
|
||
<li><p>Or other sources.</p></li>
|
||
<li><p>Or you can propose own problems (but please do write to us before you start)</p></li>
|
||
</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="arabic 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>.</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="arabic 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>, 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>
|
||
<li><p>A critical assessment of the methods with ditto perspectives and recommendations is also something you need to include.</p></li>
|
||
</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 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>
|
||
</section>
|
||
<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="Link to this heading">#</a></h2>
|
||
<p>Here follows a set up on how to structure your report and analyze the data you have opted for.</p>
|
||
<section id="part-a">
|
||
<h3>Part a)<a class="headerlink" href="#part-a" title="Link to this heading">#</a></h3>
|
||
<p>The first part deals with structuring and reading the data, much along the same lines as done in projects 1 and 2. Explain how the data are produced and place them in a proper context.</p>
|
||
</section>
|
||
<section id="part-b">
|
||
<h3>Part b)<a class="headerlink" href="#part-b" title="Link to this heading">#</a></h3>
|
||
<p>You need to include at least two central algorithms, or as an alternative explore methods from decisions tree to bagging, random forests and boosting. Explain the basics of the methods you have chosen to work with. This would be your theory part.</p>
|
||
</section>
|
||
<section id="part-c">
|
||
<h3>Part c)<a class="headerlink" href="#part-c" title="Link to this heading">#</a></h3>
|
||
<p>Then describe your algorithm and its implementation and tests you have performed.</p>
|
||
</section>
|
||
<section id="part-d">
|
||
<h3>Part d)<a class="headerlink" href="#part-d" title="Link to this heading">#</a></h3>
|
||
<p>Then presents your results and findings, link with existing literature and more.</p>
|
||
</section>
|
||
<section id="part-e">
|
||
<h3>Part e)<a class="headerlink" href="#part-e" title="Link to this heading">#</a></h3>
|
||
<p>Finally, here you should present a critical assessment of the methods you have studied and link your results with the existing literature.</p>
|
||
</section>
|
||
</section>
|
||
<section id="solving-partial-differential-equations-with-neural-networks">
|
||
<h2>Solving partial differential equations with neural networks<a class="headerlink" href="#solving-partial-differential-equations-with-neural-networks" title="Link to this heading">#</a></h2>
|
||
<p>This variant of project 3 is tailored to those of you who are
|
||
interested in studying differential equations and may have followed
|
||
popular courses on these methods, see below.</p>
|
||
<p>For this variant of project 3, we will assume that you have some
|
||
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, 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 of week 43 at for example <a class="reference external" href="https://compphysics.github.io/MachineLearning/doc/pub/week42/html/week43.html">https://compphysics.github.io/MachineLearning/doc/pub/week42/html/week43.html</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 as <a class="reference external" href="https://maziarraissi.github.io/PINNs/">Physics informed machine learning</a>.</p>
|
||
<section id="alternative-differential-equations">
|
||
<h3>Alternative differential equations<a class="headerlink" href="#alternative-differential-equations" title="Link to this heading">#</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>
|
||
</section>
|
||
<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="Link to this heading">#</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>.
|
||
We are looking at a one-dimensional
|
||
problem</p>
|
||
<div class="math notranslate nohighlight">
|
||
\[
|
||
\frac{\partial^2 u(x,t)}{\partial x^2} =\frac{\partial u(x,t)}{\partial t}, t> 0, x\in [0,L]
|
||
\]</div>
|
||
<p>or</p>
|
||
<div class="math notranslate nohighlight">
|
||
\[
|
||
u_{xx} = u_t,
|
||
\]</div>
|
||
<p>with initial conditions, i.e., the conditions at <span class="math notranslate nohighlight">\(t=0\)</span>,</p>
|
||
<div class="math notranslate nohighlight">
|
||
\[
|
||
u(x,0)= \sin{(\pi x)} \hspace{0.5cm} 0 < x < L,
|
||
\]</div>
|
||
<p>with <span class="math notranslate nohighlight">\(L=1\)</span> the length of the <span class="math notranslate nohighlight">\(x\)</span>-region of interest. The
|
||
boundary conditions are</p>
|
||
<div class="math notranslate nohighlight">
|
||
\[
|
||
u(0,t)= 0 \hspace{0.5cm} t \ge 0,
|
||
\]</div>
|
||
<p>and</p>
|
||
<div class="math notranslate nohighlight">
|
||
\[
|
||
u(L,t)= 0 \hspace{0.5cm} t \ge 0.
|
||
\]</div>
|
||
<p>The function <span class="math notranslate nohighlight">\(u(x,t)\)</span> can be the temperature gradient of a rod.
|
||
As time increases, the velocity approaches a linear variation with <span class="math notranslate nohighlight">\(x\)</span>.</p>
|
||
<p>We will limit ourselves to the so-called explicit forward Euler algorithm with discretized versions of time given by a forward formula and a centered difference in space resulting in</p>
|
||
<div class="math notranslate nohighlight">
|
||
\[
|
||
u_t\approx \frac{u(x,t+\Delta t)-u(x,t)}{\Delta t}=\frac{u(x_i,t_j+\Delta t)-u(x_i,t_j)}{\Delta t}
|
||
\]</div>
|
||
<p>and</p>
|
||
<div class="math notranslate nohighlight">
|
||
\[
|
||
u_{xx}\approx \frac{u(x+\Delta x,t)-2u(x,t)+u(x-\Delta x,t)}{\Delta x^2},
|
||
\]</div>
|
||
<p>or</p>
|
||
<div class="math notranslate nohighlight">
|
||
\[
|
||
u_{xx}\approx \frac{u(x_i+\Delta x,t_j)-2u(x_i,t_j)+u(x_i-\Delta x,t_j)}{\Delta x^2}.
|
||
\]</div>
|
||
<p>Write down the algorithm and the equations you need to implement.
|
||
Find also the analytical solution to the problem.</p>
|
||
</section>
|
||
<section id="id1">
|
||
<h3>Part b)<a class="headerlink" href="#id1" title="Link to this heading">#</a></h3>
|
||
<p>Implement the explicit scheme algorithm and perform tests of the solution
|
||
for <span class="math notranslate nohighlight">\(\Delta x=1/10\)</span>, <span class="math notranslate nohighlight">\(\Delta x=1/100\)</span> using <span class="math notranslate nohighlight">\(\Delta t\)</span> as dictated by the stability limit of the explicit scheme. The stability criterion for the explicit scheme requires that <span class="math notranslate nohighlight">\(\Delta t/\Delta x^2 \leq 1/2\)</span>.</p>
|
||
<p>Study the solutions at two time points <span class="math notranslate nohighlight">\(t_1\)</span> and <span class="math notranslate nohighlight">\(t_2\)</span> where <span class="math notranslate nohighlight">\(u(x,t_1)\)</span> is smooth but still significantly curved
|
||
and <span class="math notranslate nohighlight">\(u(x,t_2)\)</span> is almost linear, close to the stationary state.</p>
|
||
</section>
|
||
<section id="part-c-neural-networks">
|
||
<h3>Part c) Neural networks<a class="headerlink" href="#part-c-neural-networks" title="Link to this heading">#</a></h3>
|
||
<p>Study now the lecture notes on solving ODEs and PDEs with neural
|
||
network and use either your own code from project 2 or the
|
||
functionality of tensorflow/keras to solve the same equation as in
|
||
part b). Discuss your results and compare them with the standard
|
||
explicit scheme. Include also the analytical solution and compare with
|
||
that.</p>
|
||
</section>
|
||
<section id="part-d-neural-network-complexity">
|
||
<h3>Part d) Neural network complexity<a class="headerlink" href="#part-d-neural-network-complexity" title="Link to this heading">#</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>
|
||
</section>
|
||
<section id="id2">
|
||
<h3>Part e)<a class="headerlink" href="#id2" title="Link to this heading">#</a></h3>
|
||
<p>Finally, present a critical assessment of the methods you have studied
|
||
and discuss the potential for the solving differential equations with machine learning methods.</p>
|
||
</section>
|
||
</section>
|
||
<section id="introduction-to-numerical-projects">
|
||
<h2>Introduction to numerical projects<a class="headerlink" href="#introduction-to-numerical-projects" title="Link to this heading">#</a></h2>
|
||
<p>Here follows a brief recipe and recommendation on how to write a report for each
|
||
project.</p>
|
||
<ul class="simple">
|
||
<li><p>Give a short description of the nature of the problem and the eventual numerical methods you have used.</p></li>
|
||
<li><p>Describe the algorithm you have used and/or developed. Here you may find it convenient to use pseudocoding. In many cases you can describe the algorithm in the program itself.</p></li>
|
||
<li><p>Include the source code of your program. Comment your program properly.</p></li>
|
||
<li><p>If possible, try to find analytic solutions, or known limits in order to test your program when developing the code.</p></li>
|
||
<li><p>Include your results either in figure form or in a table. Remember to label your results. All tables and figures should have relevant captions and labels on the axes.</p></li>
|
||
<li><p>Try to evaluate the reliabilty and numerical stability/precision of your results. If possible, include a qualitative and/or quantitative discussion of the numerical stability, eventual loss of precision etc.</p></li>
|
||
<li><p>Try to give an interpretation of you results in your answers to the problems.</p></li>
|
||
<li><p>Critique: if possible include your comments and reflections about the exercise, whether you felt you learnt something, ideas for improvements and other thoughts you’ve made when solving the exercise. We wish to keep this course at the interactive level and your comments can help us improve it.</p></li>
|
||
<li><p>Try to establish a practice where you log your work at the computerlab. You may find such a logbook very handy at later stages in your work, especially when you don’t properly remember what a previous test version of your program did. Here you could also record the time spent on solving the exercise, various algorithms you may have tested or other topics which you feel worthy of mentioning.</p></li>
|
||
</ul>
|
||
</section>
|
||
<section id="format-for-electronic-delivery-of-report-and-programs">
|
||
<h2>Format for electronic delivery of report and programs<a class="headerlink" href="#format-for-electronic-delivery-of-report-and-programs" title="Link to this heading">#</a></h2>
|
||
<p>The preferred format for the report is a PDF file. You can also use DOC or postscript formats or as an ipython notebook file. As programming language we prefer that you choose between C/C++, Fortran2008 or Python. The following prescription should be followed when preparing the report:</p>
|
||
<ul class="simple">
|
||
<li><p>Use Canvas to hand in your projects, log in at <a class="reference external" href="https://www.uio.no/english/services/it/education/canvas/">https://www.uio.no/english/services/it/education/canvas/</a> with your normal UiO username and password.</p></li>
|
||
<li><p>Upload <strong>only</strong> the report file or the link to your GitHub/GitLab or similar typo of repos! For the source code file(s) you have developed please provide us with your link to your GitHub/GitLab or similar domain. The report file should include all of your discussions and a list of the codes you have developed. Do not include library files which are available at the course homepage, unless you have made specific changes to them.</p></li>
|
||
<li><p>In your GitHub/GitLab or similar repository, please include a folder which contains selected results. These can be in the form of output from your code for a selected set of runs and input parameters.</p></li>
|
||
</ul>
|
||
<p>Finally,
|
||
we encourage you to collaborate. Optimal working groups consist of
|
||
2-3 students. You can then hand in a common report.</p>
|
||
</section>
|
||
<section id="software-and-needed-installations">
|
||
<h2>Software and needed installations<a class="headerlink" href="#software-and-needed-installations" title="Link to this heading">#</a></h2>
|
||
<p>If you have Python installed (we recommend Python3) and you feel pretty familiar with installing different packages,
|
||
we recommend that you install the following Python packages via <strong>pip</strong> as</p>
|
||
<ol class="arabic simple">
|
||
<li><p>pip install numpy scipy matplotlib ipython scikit-learn tensorflow sympy pandas pillow</p></li>
|
||
</ol>
|
||
<p>For Python3, replace <strong>pip</strong> with <strong>pip3</strong>.</p>
|
||
<p>See below for a discussion of <strong>tensorflow</strong> and <strong>scikit-learn</strong>.</p>
|
||
<p>For OSX users we recommend also, after having installed Xcode, to install <strong>brew</strong>. Brew allows
|
||
for a seamless installation of additional software via for example</p>
|
||
<ol class="arabic simple">
|
||
<li><p>brew install python3</p></li>
|
||
</ol>
|
||
<p>For Linux users, with its variety of distributions like for example the widely popular Ubuntu distribution
|
||
you can use <strong>pip</strong> as well and simply install Python as</p>
|
||
<ol class="arabic simple">
|
||
<li><p>sudo apt-get install python3 (or python for python2.7)</p></li>
|
||
</ol>
|
||
<p>etc etc.</p>
|
||
<p>If you don’t want to install various Python packages with their dependencies separately, we recommend two widely used distrubutions which set up all relevant dependencies for Python, namely</p>
|
||
<ol class="arabic simple">
|
||
<li><p><a class="reference external" href="https://docs.anaconda.com/">Anaconda</a> Anaconda is an open source distribution of the Python and R programming languages for large-scale data processing, predictive analytics, and scientific computing, that aims to simplify package management and deployment. Package versions are managed by the package management system <strong>conda</strong></p></li>
|
||
<li><p><a class="reference external" href="https://www.enthought.com/product/canopy/">Enthought canopy</a> is a Python distribution for scientific and analytic computing distribution and analysis environment, available for free and under a commercial license.</p></li>
|
||
</ol>
|
||
<p>Popular software packages written in Python for ML are</p>
|
||
<ul class="simple">
|
||
<li><p><a class="reference external" href="http://scikit-learn.org/stable/">Scikit-learn</a>,</p></li>
|
||
<li><p><a class="reference external" href="https://www.tensorflow.org/">Tensorflow</a>,</p></li>
|
||
<li><p><a class="reference external" href="http://pytorch.org/">PyTorch</a> and</p></li>
|
||
<li><p><a class="reference external" href="https://keras.io/">Keras</a>.</p></li>
|
||
</ul>
|
||
<p>These are all freely available at their respective GitHub sites. They
|
||
encompass communities of developers in the thousands or more. And the number
|
||
of code developers and contributors keeps increasing.</p>
|
||
</section>
|
||
</section>
|
||
|
||
<script type="text/x-thebe-config">
|
||
{
|
||
requestKernel: true,
|
||
binderOptions: {
|
||
repo: "binder-examples/jupyter-stacks-datascience",
|
||
ref: "master",
|
||
},
|
||
codeMirrorConfig: {
|
||
theme: "abcdef",
|
||
mode: "python"
|
||
},
|
||
kernelOptions: {
|
||
name: "python3",
|
||
path: "./."
|
||
},
|
||
predefinedOutput: true
|
||
}
|
||
</script>
|
||
<script>kernelName = 'python3'</script>
|
||
|
||
</article>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<footer class="prev-next-footer d-print-none">
|
||
|
||
<div class="prev-next-area">
|
||
<a class="left-prev"
|
||
href="project2.html"
|
||
title="previous page">
|
||
<i class="fa-solid fa-angle-left"></i>
|
||
<div class="prev-next-info">
|
||
<p class="prev-next-subtitle">previous</p>
|
||
<p class="prev-next-title">Project 2 on Machine Learning, deadline November 4 (Midnight)</p>
|
||
</div>
|
||
</a>
|
||
</div>
|
||
</footer>
|
||
|
||
</div>
|
||
|
||
|
||
|
||
<dialog id="pst-secondary-sidebar-modal"></dialog>
|
||
<div id="pst-secondary-sidebar" class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner">
|
||
|
||
|
||
<div class="sidebar-secondary-item">
|
||
<div class="page-toc tocsection onthispage">
|
||
<i class="fa-solid fa-list"></i> Contents
|
||
</div>
|
||
<nav class="bd-toc-nav page-toc">
|
||
<ul class="visible nav section-nav flex-column">
|
||
<li class="toc-h1 nav-item toc-entry"><a class="reference internal nav-link" href="#">Project 3 on Machine Learning, deadline December 9 (midnight), 2024</a></li>
|
||
<li class="toc-h1 nav-item toc-entry"><a class="reference internal nav-link" href="#paths-for-project-3">Paths for project 3</a><ul class="visible nav section-nav flex-column">
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#defining-the-data-sets-to-analyze-yourself">Defining the data sets to analyze yourself</a></li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#the-basic-structure-of-your-project">The basic structure of your project</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-a">Part a)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-b">Part b)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-c">Part c)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-d">Part d)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-e">Part e)</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#solving-partial-differential-equations-with-neural-networks">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</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id1">Part b)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-c-neural-networks">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 e)</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#introduction-to-numerical-projects">Introduction to numerical projects</a></li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#format-for-electronic-delivery-of-report-and-programs">Format for electronic delivery of report and programs</a></li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#software-and-needed-installations">Software and needed installations</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
|
||
</nav></div>
|
||
|
||
</div></div>
|
||
|
||
|
||
</div>
|
||
<footer class="bd-footer-content">
|
||
|
||
<div class="bd-footer-content__inner container">
|
||
|
||
<div class="footer-item">
|
||
|
||
<p class="component-author">
|
||
By Morten Hjorth-Jensen
|
||
</p>
|
||
|
||
</div>
|
||
|
||
<div class="footer-item">
|
||
|
||
|
||
<p class="copyright">
|
||
|
||
© Copyright 2023.
|
||
<br/>
|
||
|
||
</p>
|
||
|
||
</div>
|
||
|
||
<div class="footer-item">
|
||
|
||
</div>
|
||
|
||
<div class="footer-item">
|
||
|
||
</div>
|
||
|
||
</div>
|
||
</footer>
|
||
|
||
|
||
</main>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Scripts loaded after <body> so the DOM is not blocked -->
|
||
<script defer src="_static/scripts/bootstrap.js?digest=26a4bc78f4c0ddb94549"></script>
|
||
<script defer src="_static/scripts/pydata-sphinx-theme.js?digest=26a4bc78f4c0ddb94549"></script>
|
||
|
||
<footer class="bd-footer">
|
||
</footer>
|
||
</body>
|
||
</html> |