diff --git a/doc/pub/week34/html/._week34-bs000.html b/doc/pub/week34/html/._week34-bs000.html index 6bc7a64d6..c5c612ca1 100644 --- a/doc/pub/week34/html/._week34-bs000.html +++ b/doc/pub/week34/html/._week34-bs000.html @@ -365,7 +365,7 @@ MathJax.Hub.Config({
-

Week 34, August 19-23, 2024

+

Week 34, August 18-22, 2025


@@ -404,7 +404,7 @@ MathJax.Hub.Config({ -->
- © 1999-2024, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license + © 1999-2025, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license
diff --git a/doc/pub/week34/html/._week34-bs001.html b/doc/pub/week34/html/._week34-bs001.html index c34036df4..b72268411 100644 --- a/doc/pub/week34/html/._week34-bs001.html +++ b/doc/pub/week34/html/._week34-bs001.html @@ -357,10 +357,8 @@ MathJax.Hub.Config({
  • Tuesdays 815am-12pm and 1215pm-4pm
  • Wednesdays 815am-12pm and 1215pm-4pm.
  • -
  • On Mondays we have a regular lecture which will be organized as a mix of active learning sessions and regular lectures. These lectures/active learning sessions start at 1015am and end at 12pm and serve the aims of giving an overview over various topics as well as solving specific problems. These lectures will also be recorded.
  • - +
  • On Mondays we have a regular lecture which will be organized as a mix of active learning sessions and regular lectures. These lectures/active learning sessions start at 215pm and end at 4pm and serve the aims of giving an overview over various topics as well as solving specific problems. These lectures will also be recorded. +
  • The labs are also available till 6pm Tuesdays and Wednesdays. Videos and learning material with reading suggestions will be made available before each week starts.

    diff --git a/doc/pub/week34/html/._week34-bs002.html b/doc/pub/week34/html/._week34-bs002.html index 689de551e..6e8feaf78 100644 --- a/doc/pub/week34/html/._week34-bs002.html +++ b/doc/pub/week34/html/._week34-bs002.html @@ -353,9 +353,9 @@ MathJax.Hub.Config({
    diff --git a/doc/pub/week34/html/._week34-bs003.html b/doc/pub/week34/html/._week34-bs003.html index 61b665c90..05b64d86c 100644 --- a/doc/pub/week34/html/._week34-bs003.html +++ b/doc/pub/week34/html/._week34-bs003.html @@ -353,7 +353,7 @@ MathJax.Hub.Config({

    diff --git a/doc/pub/week34/html/._week34-bs007.html b/doc/pub/week34/html/._week34-bs007.html index b4ce94aa0..a89dc301f 100644 --- a/doc/pub/week34/html/._week34-bs007.html +++ b/doc/pub/week34/html/._week34-bs007.html @@ -350,9 +350,9 @@ MathJax.Hub.Config({

    Deadlines for projects (tentative)

      -
    1. Project 1: October 7 (available September 2) graded with feedback)
    2. -
    3. Project 2: November 4 (available October 8, graded with feedback)
    4. -
    5. Project 3: December 9 (available November 5, graded with feedback)
    6. +
    7. Project 1: October 6 (available September 1) graded with feedback)
    8. +
    9. Project 2: November 3 (available October 6, graded with feedback)
    10. +
    11. Project 3: December 8 (available November 3, graded with feedback)
    diff --git a/doc/pub/week34/html/week34-bs.html b/doc/pub/week34/html/week34-bs.html index 6bc7a64d6..c5c612ca1 100644 --- a/doc/pub/week34/html/week34-bs.html +++ b/doc/pub/week34/html/week34-bs.html @@ -365,7 +365,7 @@ MathJax.Hub.Config({
    -

    Week 34, August 19-23, 2024

    +

    Week 34, August 18-22, 2025


    @@ -404,7 +404,7 @@ MathJax.Hub.Config({ -->
    - © 1999-2024, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license + © 1999-2025, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license
    diff --git a/doc/pub/week34/html/week34-reveal.html b/doc/pub/week34/html/week34-reveal.html index 154522f02..16ebdc79f 100644 --- a/doc/pub/week34/html/week34-reveal.html +++ b/doc/pub/week34/html/week34-reveal.html @@ -184,13 +184,13 @@ MathJax.Hub.Config({
    -

    Week 34, August 19-23, 2024

    +

    Week 34, August 18-22, 2025


    - © 1999-2024, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license + © 1999-2025, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license
    @@ -208,12 +208,8 @@ MathJax.Hub.Config({

  • Wednesdays 815am-12pm and 1215pm-4pm.
  • -

  • On Mondays we have a regular lecture which will be organized as a mix of active learning sessions and regular lectures. These lectures/active learning sessions start at 1015am and end at 12pm and serve the aims of giving an overview over various topics as well as solving specific problems. These lectures will also be recorded.
  • - -

    +

  • On Mondays we have a regular lecture which will be organized as a mix of active learning sessions and regular lectures. These lectures/active learning sessions start at 215pm and end at 4pm and serve the aims of giving an overview over various topics as well as solving specific problems. These lectures will also be recorded. +
  • The labs are also available till 6pm Tuesdays and Wednesdays. Videos and learning material with reading suggestions will be made available before each week starts.

    @@ -227,11 +223,11 @@ MathJax.Hub.Config({

      -

    • August 19: Lecture: Presentation of course, Linear regression, examples and theory
    • +

    • August 18: Lecture: Presentation of course, Linear regression, examples and theory
    • + +

    • August 19: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group.
    • August 20: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group.
    • - -

    • August 23: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group.
    @@ -244,7 +240,7 @@ MathJax.Hub.Config({

    @@ -319,9 +315,9 @@ MathJax.Hub.Config({

    Deadlines for projects (tentative)

      -

    1. Project 1: October 7 (available September 2) graded with feedback)
    2. -

    3. Project 2: November 4 (available October 8, graded with feedback)
    4. -

    5. Project 3: December 9 (available November 5, graded with feedback)
    6. +

    7. Project 1: October 6 (available September 1) graded with feedback)
    8. +

    9. Project 2: November 3 (available October 6, graded with feedback)
    10. +

    11. Project 3: December 8 (available November 3, graded with feedback)

    diff --git a/doc/pub/week34/html/week34-solarized.html b/doc/pub/week34/html/week34-solarized.html index eb433ab09..c29ffee8d 100644 --- a/doc/pub/week34/html/week34-solarized.html +++ b/doc/pub/week34/html/week34-solarized.html @@ -294,7 +294,7 @@ MathJax.Hub.Config({
    -

    Week 34, August 19-23, 2024

    +

    Week 34, August 18-22, 2025


    @@ -309,10 +309,8 @@ MathJax.Hub.Config({
  • Tuesdays 815am-12pm and 1215pm-4pm
  • Wednesdays 815am-12pm and 1215pm-4pm.
  • -
  • On Mondays we have a regular lecture which will be organized as a mix of active learning sessions and regular lectures. These lectures/active learning sessions start at 1015am and end at 12pm and serve the aims of giving an overview over various topics as well as solving specific problems. These lectures will also be recorded.
  • - +
  • On Mondays we have a regular lecture which will be organized as a mix of active learning sessions and regular lectures. These lectures/active learning sessions start at 215pm and end at 4pm and serve the aims of giving an overview over various topics as well as solving specific problems. These lectures will also be recorded. +
  • The labs are also available till 6pm Tuesdays and Wednesdays. Videos and learning material with reading suggestions will be made available before each week starts.

    @@ -323,9 +321,9 @@ MathJax.Hub.Config({

      -
    • August 19: Lecture: Presentation of course, Linear regression, examples and theory
    • +
    • August 18: Lecture: Presentation of course, Linear regression, examples and theory
    • +
    • August 19: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group.
    • August 20: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group.
    • -
    • August 23: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group.
    @@ -337,7 +335,7 @@ MathJax.Hub.Config({











    Deadlines for projects (tentative)

      -
    1. Project 1: October 7 (available September 2) graded with feedback)
    2. -
    3. Project 2: November 4 (available October 8, graded with feedback)
    4. -
    5. Project 3: December 9 (available November 5, graded with feedback)
    6. +
    7. Project 1: October 6 (available September 1) graded with feedback)
    8. +
    9. Project 2: November 3 (available October 6, graded with feedback)
    10. +
    11. Project 3: December 8 (available November 3, graded with feedback)
    @@ -3802,7 +3800,7 @@ Add now a model which allows you to make polynomials up to degree \( 15 \). Per
    - © 1999-2024, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license + © 1999-2025, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license
    diff --git a/doc/pub/week34/html/week34.html b/doc/pub/week34/html/week34.html index 8b9b9f21a..6da25b0b0 100644 --- a/doc/pub/week34/html/week34.html +++ b/doc/pub/week34/html/week34.html @@ -371,7 +371,7 @@ MathJax.Hub.Config({
    -

    Week 34, August 19-23, 2024

    +

    Week 34, August 18-22, 2025


    @@ -386,10 +386,8 @@ MathJax.Hub.Config({
  • Tuesdays 815am-12pm and 1215pm-4pm
  • Wednesdays 815am-12pm and 1215pm-4pm.
  • -
  • On Mondays we have a regular lecture which will be organized as a mix of active learning sessions and regular lectures. These lectures/active learning sessions start at 1015am and end at 12pm and serve the aims of giving an overview over various topics as well as solving specific problems. These lectures will also be recorded.
  • - +
  • On Mondays we have a regular lecture which will be organized as a mix of active learning sessions and regular lectures. These lectures/active learning sessions start at 215pm and end at 4pm and serve the aims of giving an overview over various topics as well as solving specific problems. These lectures will also be recorded. +
  • The labs are also available till 6pm Tuesdays and Wednesdays. Videos and learning material with reading suggestions will be made available before each week starts.

    @@ -400,9 +398,9 @@ MathJax.Hub.Config({

      -
    • August 19: Lecture: Presentation of course, Linear regression, examples and theory
    • +
    • August 18: Lecture: Presentation of course, Linear regression, examples and theory
    • +
    • August 19: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group.
    • August 20: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group.
    • -
    • August 23: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group.
    @@ -414,7 +412,7 @@ MathJax.Hub.Config({











    Deadlines for projects (tentative)

      -
    1. Project 1: October 7 (available September 2) graded with feedback)
    2. -
    3. Project 2: November 4 (available October 8, graded with feedback)
    4. -
    5. Project 3: December 9 (available November 5, graded with feedback)
    6. +
    7. Project 1: October 6 (available September 1) graded with feedback)
    8. +
    9. Project 2: November 3 (available October 6, graded with feedback)
    10. +
    11. Project 3: December 8 (available November 3, graded with feedback)
    @@ -3879,7 +3877,7 @@ Add now a model which allows you to make polynomials up to degree \( 15 \). Per
    - © 1999-2024, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license + © 1999-2025, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license
    diff --git a/doc/pub/week34/ipynb/ipynb-week34-src.tar.gz b/doc/pub/week34/ipynb/ipynb-week34-src.tar.gz index e869ae6fd..5e426c20f 100644 Binary files a/doc/pub/week34/ipynb/ipynb-week34-src.tar.gz and b/doc/pub/week34/ipynb/ipynb-week34-src.tar.gz differ diff --git a/doc/pub/week34/ipynb/week34.ipynb b/doc/pub/week34/ipynb/week34.ipynb index 5c7c1e7aa..8a74ed05e 100644 --- a/doc/pub/week34/ipynb/week34.ipynb +++ b/doc/pub/week34/ipynb/week34.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "73e0b190", + "id": "3a4647a8", "metadata": { "editable": true }, @@ -14,7 +14,7 @@ }, { "cell_type": "markdown", - "id": "27166338", + "id": "78396bb7", "metadata": { "editable": true }, @@ -22,12 +22,12 @@ "# Week 34: Introduction to the course, Logistics and Practicalities\n", "**Morten Hjorth-Jensen**, Department of Physics and Center for Computing in Science Education, University of Oslo, Norway and Department of Physics and Astronomy and Facility for Rare Isotope Beams, Michigan State University, USA\n", "\n", - "Date: **Week 34, August 19-23, 2024**" + "Date: **Week 34, August 18-22, 2025**" ] }, { "cell_type": "markdown", - "id": "8c54dde7", + "id": "1f6a354b", "metadata": { "editable": true }, @@ -44,39 +44,38 @@ "\n", " * Wednesdays 815am-12pm and 1215pm-4pm.\n", "\n", - "4. On Mondays we have a regular lecture which will be organized as a mix of active learning sessions and regular lectures. These lectures/active learning sessions start at 1015am and end at 12pm and serve the aims of giving an overview over various topics as well as solving specific problems. These lectures will also be recorded.\n", - "\n", - " * [Link to recording of lecture](https://youtu.be/82IPtCrzbhs)\n", + "4. On Mondays we have a regular lecture which will be organized as a mix of active learning sessions and regular lectures. These lectures/active learning sessions start at 215pm and end at 4pm and serve the aims of giving an overview over various topics as well as solving specific problems. These lectures will also be recorded.\n", + "\n", "\n", "The labs are also available till 6pm Tuesdays and Wednesdays. Videos and learning material with reading suggestions will be made available before each week starts." ] }, { "cell_type": "markdown", - "id": "02f7aa45", + "id": "718fef06", "metadata": { "editable": true }, "source": [ "## Schedule first week\n", "\n", - " * August 19: Lecture: Presentation of course, Linear regression, examples and theory \n", + " * August 18: Lecture: Presentation of course, Linear regression, examples and theory \n", "\n", - " * August 20: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group.\n", + " * August 19: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group.\n", "\n", - " * August 23: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group." + " * August 20: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group." ] }, { "cell_type": "markdown", - "id": "682f5f3f", + "id": "6759be48", "metadata": { "editable": true }, "source": [ "## Lectures and ComputerLab\n", "\n", - " * Mondays: regular lectures/active learning sessions (10.15am-12pm) \n", + " * Mondays: regular lectures/active learning sessions (2.15pm-4pm) \n", "\n", " * The sessions on Tuesdays and Wednesdays last four hours and will include partly lectures and discussions in the beginning.\n", "\n", @@ -93,7 +92,7 @@ }, { "cell_type": "markdown", - "id": "567085d3", + "id": "6ce48574", "metadata": { "editable": true }, @@ -107,7 +106,7 @@ }, { "cell_type": "markdown", - "id": "6ffdfb8d", + "id": "6aa415ff", "metadata": { "editable": true }, @@ -129,7 +128,7 @@ }, { "cell_type": "markdown", - "id": "f9a70b50", + "id": "d3bb6085", "metadata": { "editable": true }, @@ -152,32 +151,32 @@ "\n", "* Karl Henrik Fredly, k.h.fredly@fys.uio.no\n", "\n", - "* Sigurd k. Huse, s.k.huse@fys.uio.no\n", + "* TBA\n", "\n", - "* Odin Johansen, odin.johansen@fys.uio.no" + "* TBA" ] }, { "cell_type": "markdown", - "id": "a3c2a01c", + "id": "fca60c89", "metadata": { "editable": true }, "source": [ "## Deadlines for projects (tentative)\n", "\n", - "1. Project 1: October 7 (available September 2) graded with feedback)\n", + "1. Project 1: October 6 (available September 1) graded with feedback)\n", "\n", - "2. Project 2: November 4 (available October 8, graded with feedback)\n", + "2. Project 2: November 3 (available October 6, graded with feedback)\n", "\n", - "3. Project 3: December 9 (available November 5, graded with feedback)\n", + "3. Project 3: December 8 (available November 3, graded with feedback)\n", "\n", "Extra Credit (not mandatory), weekly exercise assignments, 10 in total (due Friday same week), 10% additional score. The extra credit assignments are due each Friday and can be uploaed to **Canvas** in your preferred format (although we prefer jupyter-notebooks). First assignment is for week 35. Each weekly exercise set gives one additional point to the final score, see below on grading." ] }, { "cell_type": "markdown", - "id": "dc7d59f1", + "id": "42760a10", "metadata": { "editable": true }, @@ -205,7 +204,7 @@ }, { "cell_type": "markdown", - "id": "28346e96", + "id": "86f8862e", "metadata": { "editable": true }, @@ -223,7 +222,7 @@ }, { "cell_type": "markdown", - "id": "31627cb5", + "id": "d6f9b08c", "metadata": { "editable": true }, @@ -240,7 +239,7 @@ }, { "cell_type": "markdown", - "id": "c35aca9c", + "id": "66b35c67", "metadata": { "editable": true }, @@ -264,7 +263,7 @@ }, { "cell_type": "markdown", - "id": "d00aeb6b", + "id": "2648927d", "metadata": { "editable": true }, @@ -276,7 +275,7 @@ }, { "cell_type": "markdown", - "id": "0457936f", + "id": "00a47d04", "metadata": { "editable": true }, @@ -296,7 +295,7 @@ }, { "cell_type": "markdown", - "id": "8c885a78", + "id": "fcc7fafa", "metadata": { "editable": true }, @@ -314,7 +313,7 @@ }, { "cell_type": "markdown", - "id": "7acfd928", + "id": "66499007", "metadata": { "editable": true }, @@ -339,7 +338,7 @@ }, { "cell_type": "markdown", - "id": "47ff395b", + "id": "3a422d85", "metadata": { "editable": true }, @@ -361,7 +360,7 @@ }, { "cell_type": "markdown", - "id": "15576559", + "id": "06fbc188", "metadata": { "editable": true }, @@ -385,7 +384,7 @@ }, { "cell_type": "markdown", - "id": "90dfc95f", + "id": "1732559b", "metadata": { "editable": true }, @@ -401,7 +400,7 @@ }, { "cell_type": "markdown", - "id": "45bedd04", + "id": "711fc679", "metadata": { "editable": true }, @@ -423,7 +422,7 @@ }, { "cell_type": "markdown", - "id": "3fc94db2", + "id": "5ef83fca", "metadata": { "editable": true }, @@ -441,7 +440,7 @@ }, { "cell_type": "markdown", - "id": "63ad1652", + "id": "e7cc3900", "metadata": { "editable": true }, @@ -471,7 +470,7 @@ }, { "cell_type": "markdown", - "id": "94af0fbd", + "id": "a40b51c1", "metadata": { "editable": true }, @@ -500,7 +499,7 @@ }, { "cell_type": "markdown", - "id": "30cbdf46", + "id": "21c55bde", "metadata": { "editable": true }, @@ -518,7 +517,7 @@ }, { "cell_type": "markdown", - "id": "4110bf1e", + "id": "30fee2d0", "metadata": { "editable": true }, @@ -530,7 +529,7 @@ }, { "cell_type": "markdown", - "id": "0e91ac52", + "id": "396d9f84", "metadata": { "editable": true }, @@ -565,7 +564,7 @@ }, { "cell_type": "markdown", - "id": "3ebd118f", + "id": "a725f229", "metadata": { "editable": true }, @@ -595,7 +594,7 @@ }, { "cell_type": "markdown", - "id": "763dd9d3", + "id": "02619cb1", "metadata": { "editable": true }, @@ -626,7 +625,7 @@ }, { "cell_type": "markdown", - "id": "704bf5ef", + "id": "2bc2bd6a", "metadata": { "editable": true }, @@ -665,7 +664,7 @@ }, { "cell_type": "markdown", - "id": "d9b6d2b7", + "id": "8de82b4b", "metadata": { "editable": true }, @@ -698,7 +697,7 @@ }, { "cell_type": "markdown", - "id": "401ce2e1", + "id": "288ee9c1", "metadata": { "editable": true }, @@ -735,7 +734,7 @@ }, { "cell_type": "markdown", - "id": "b93a99f9", + "id": "068480ce", "metadata": { "editable": true }, @@ -759,7 +758,7 @@ }, { "cell_type": "markdown", - "id": "e414a56b", + "id": "17418d38", "metadata": { "editable": true }, @@ -786,7 +785,7 @@ }, { "cell_type": "markdown", - "id": "80d3455e", + "id": "996e12e5", "metadata": { "editable": true }, @@ -796,7 +795,7 @@ }, { "cell_type": "markdown", - "id": "391f3715", + "id": "b49691c6", "metadata": { "editable": true }, @@ -808,7 +807,7 @@ }, { "cell_type": "markdown", - "id": "5830cc1c", + "id": "2c857531", "metadata": { "editable": true }, @@ -829,7 +828,7 @@ }, { "cell_type": "markdown", - "id": "a203ceb4", + "id": "89525db6", "metadata": { "editable": true }, @@ -841,7 +840,7 @@ { "cell_type": "code", "execution_count": 1, - "id": "670de7c9", + "id": "c7e6143a", "metadata": { "collapsed": false, "editable": true @@ -853,7 +852,7 @@ }, { "cell_type": "markdown", - "id": "ea67444e", + "id": "8d62c371", "metadata": { "editable": true }, @@ -864,7 +863,7 @@ { "cell_type": "code", "execution_count": 2, - "id": "685b8fe2", + "id": "da6c8a2c", "metadata": { "collapsed": false, "editable": true @@ -878,7 +877,7 @@ }, { "cell_type": "markdown", - "id": "bc397fa0", + "id": "1553ff17", "metadata": { "editable": true }, @@ -890,7 +889,7 @@ { "cell_type": "code", "execution_count": 3, - "id": "8cf46d82", + "id": "578e3026", "metadata": { "collapsed": false, "editable": true @@ -904,7 +903,7 @@ }, { "cell_type": "markdown", - "id": "0e7536ba", + "id": "7c9083d6", "metadata": { "editable": true }, @@ -916,7 +915,7 @@ { "cell_type": "code", "execution_count": 4, - "id": "be098c6b", + "id": "94d8e1af", "metadata": { "collapsed": false, "editable": true @@ -930,7 +929,7 @@ }, { "cell_type": "markdown", - "id": "db709533", + "id": "b0cc0a80", "metadata": { "editable": true }, @@ -947,7 +946,7 @@ { "cell_type": "code", "execution_count": 5, - "id": "ad95f20b", + "id": "f6205b5a", "metadata": { "collapsed": false, "editable": true @@ -964,7 +963,7 @@ }, { "cell_type": "markdown", - "id": "e9550c79", + "id": "3c05644c", "metadata": { "editable": true }, @@ -976,7 +975,7 @@ { "cell_type": "code", "execution_count": 6, - "id": "61ead8df", + "id": "6d2e1cf3", "metadata": { "collapsed": false, "editable": true @@ -990,7 +989,7 @@ }, { "cell_type": "markdown", - "id": "dae29469", + "id": "135346a4", "metadata": { "editable": true }, @@ -1001,7 +1000,7 @@ { "cell_type": "code", "execution_count": 7, - "id": "053d2781", + "id": "3f351835", "metadata": { "collapsed": false, "editable": true @@ -1015,7 +1014,7 @@ }, { "cell_type": "markdown", - "id": "e50a0ecc", + "id": "bbcb4219", "metadata": { "editable": true }, @@ -1026,7 +1025,7 @@ { "cell_type": "code", "execution_count": 8, - "id": "553692f0", + "id": "fc53571f", "metadata": { "collapsed": false, "editable": true @@ -1040,7 +1039,7 @@ }, { "cell_type": "markdown", - "id": "115f3ae7", + "id": "04208452", "metadata": { "editable": true }, @@ -1055,7 +1054,7 @@ { "cell_type": "code", "execution_count": 9, - "id": "66b945ba", + "id": "1a65fc17", "metadata": { "collapsed": false, "editable": true @@ -1069,7 +1068,7 @@ }, { "cell_type": "markdown", - "id": "abf3bc3e", + "id": "f9808c8a", "metadata": { "editable": true }, @@ -1080,7 +1079,7 @@ { "cell_type": "code", "execution_count": 10, - "id": "db6d88b3", + "id": "c491db44", "metadata": { "collapsed": false, "editable": true @@ -1095,7 +1094,7 @@ }, { "cell_type": "markdown", - "id": "49119c5e", + "id": "98d71227", "metadata": { "editable": true }, @@ -1106,7 +1105,7 @@ { "cell_type": "code", "execution_count": 11, - "id": "61a0f438", + "id": "1ce72b39", "metadata": { "collapsed": false, "editable": true @@ -1121,7 +1120,7 @@ }, { "cell_type": "markdown", - "id": "19a18132", + "id": "89d92847", "metadata": { "editable": true }, @@ -1132,7 +1131,7 @@ { "cell_type": "code", "execution_count": 12, - "id": "b5c0a3ce", + "id": "aab766da", "metadata": { "collapsed": false, "editable": true @@ -1148,7 +1147,7 @@ }, { "cell_type": "markdown", - "id": "223bea20", + "id": "689aaa75", "metadata": { "editable": true }, @@ -1159,7 +1158,7 @@ { "cell_type": "code", "execution_count": 13, - "id": "2c9590cc", + "id": "181f6c32", "metadata": { "collapsed": false, "editable": true @@ -1175,7 +1174,7 @@ }, { "cell_type": "markdown", - "id": "f79fd3cf", + "id": "38bcf4b4", "metadata": { "editable": true }, @@ -1186,7 +1185,7 @@ { "cell_type": "code", "execution_count": 14, - "id": "b0e7123a", + "id": "e8c64b42", "metadata": { "collapsed": false, "editable": true @@ -1202,7 +1201,7 @@ }, { "cell_type": "markdown", - "id": "4b57789a", + "id": "8ec35230", "metadata": { "editable": true }, @@ -1214,7 +1213,7 @@ }, { "cell_type": "markdown", - "id": "d0d0f754", + "id": "5d7fb20d", "metadata": { "editable": true }, @@ -1229,7 +1228,7 @@ }, { "cell_type": "markdown", - "id": "5269c292", + "id": "b4cbc90b", "metadata": { "editable": true }, @@ -1239,7 +1238,7 @@ }, { "cell_type": "markdown", - "id": "a7ebc5a2", + "id": "1d9b6ae1", "metadata": { "editable": true }, @@ -1251,7 +1250,7 @@ }, { "cell_type": "markdown", - "id": "1171e82a", + "id": "57a4a33b", "metadata": { "editable": true }, @@ -1262,7 +1261,7 @@ }, { "cell_type": "markdown", - "id": "c5ebdfd1", + "id": "dc92e160", "metadata": { "editable": true }, @@ -1277,7 +1276,7 @@ }, { "cell_type": "markdown", - "id": "9b9cbb93", + "id": "8a3e8cc5", "metadata": { "editable": true }, @@ -1292,7 +1291,7 @@ { "cell_type": "code", "execution_count": 15, - "id": "7cf2af68", + "id": "03e543d6", "metadata": { "collapsed": false, "editable": true @@ -1319,7 +1318,7 @@ { "cell_type": "code", "execution_count": 16, - "id": "5197697c", + "id": "562c6724", "metadata": { "collapsed": false, "editable": true @@ -1343,7 +1342,7 @@ }, { "cell_type": "markdown", - "id": "42e95e3c", + "id": "b1ed0302", "metadata": { "editable": true }, @@ -1369,7 +1368,7 @@ { "cell_type": "code", "execution_count": 17, - "id": "f297501d", + "id": "c6eda3b0", "metadata": { "collapsed": false, "editable": true @@ -1389,7 +1388,7 @@ }, { "cell_type": "markdown", - "id": "0e59bacf", + "id": "e31fcf78", "metadata": { "editable": true }, @@ -1403,7 +1402,7 @@ { "cell_type": "code", "execution_count": 18, - "id": "c51c8f92", + "id": "4bc7a792", "metadata": { "collapsed": false, "editable": true @@ -1416,7 +1415,7 @@ }, { "cell_type": "markdown", - "id": "571df62d", + "id": "03ed4d5f", "metadata": { "editable": true }, @@ -1427,7 +1426,7 @@ { "cell_type": "code", "execution_count": 19, - "id": "fe11445e", + "id": "da5176f4", "metadata": { "collapsed": false, "editable": true @@ -1439,7 +1438,7 @@ }, { "cell_type": "markdown", - "id": "4e959088", + "id": "c594ed89", "metadata": { "editable": true }, @@ -1450,7 +1449,7 @@ { "cell_type": "code", "execution_count": 20, - "id": "3ddbaad0", + "id": "50928bb9", "metadata": { "collapsed": false, "editable": true @@ -1468,7 +1467,7 @@ }, { "cell_type": "markdown", - "id": "68c760ca", + "id": "b8000d90", "metadata": { "editable": true }, @@ -1480,7 +1479,7 @@ { "cell_type": "code", "execution_count": 21, - "id": "06845237", + "id": "59dff7d0", "metadata": { "collapsed": false, "editable": true @@ -1504,7 +1503,7 @@ }, { "cell_type": "markdown", - "id": "e69b101a", + "id": "4b23d302", "metadata": { "editable": true }, @@ -1515,7 +1514,7 @@ { "cell_type": "code", "execution_count": 22, - "id": "e2ed2ad7", + "id": "5ce6f61f", "metadata": { "collapsed": false, "editable": true @@ -1544,7 +1543,7 @@ }, { "cell_type": "markdown", - "id": "b3f0cac5", + "id": "803ea3af", "metadata": { "editable": true }, @@ -1555,7 +1554,7 @@ { "cell_type": "code", "execution_count": 23, - "id": "f87a0034", + "id": "f5fbe5ee", "metadata": { "collapsed": false, "editable": true @@ -1570,7 +1569,7 @@ }, { "cell_type": "markdown", - "id": "637ed6e0", + "id": "03be362f", "metadata": { "editable": true }, @@ -1587,7 +1586,7 @@ }, { "cell_type": "markdown", - "id": "432c8b09", + "id": "77d52e40", "metadata": { "editable": true }, @@ -1599,7 +1598,7 @@ }, { "cell_type": "markdown", - "id": "97fd8af3", + "id": "40d32443", "metadata": { "editable": true }, @@ -1630,7 +1629,7 @@ }, { "cell_type": "markdown", - "id": "7f98fe2f", + "id": "04722236", "metadata": { "editable": true }, @@ -1642,7 +1641,7 @@ }, { "cell_type": "markdown", - "id": "faee7760", + "id": "b025ef5d", "metadata": { "editable": true }, @@ -1670,7 +1669,7 @@ { "cell_type": "code", "execution_count": 24, - "id": "d8eecf0b", + "id": "171cd5de", "metadata": { "collapsed": false, "editable": true @@ -1700,7 +1699,7 @@ }, { "cell_type": "markdown", - "id": "ed0c8965", + "id": "edf1009c", "metadata": { "editable": true }, @@ -1717,7 +1716,7 @@ }, { "cell_type": "markdown", - "id": "f797ca15", + "id": "179b4d97", "metadata": { "editable": true }, @@ -1729,7 +1728,7 @@ }, { "cell_type": "markdown", - "id": "5f9cbb33", + "id": "8d852389", "metadata": { "editable": true }, @@ -1750,7 +1749,7 @@ }, { "cell_type": "markdown", - "id": "2bf36e95", + "id": "b7223ed1", "metadata": { "editable": true }, @@ -1763,7 +1762,7 @@ }, { "cell_type": "markdown", - "id": "d6f12234", + "id": "db32ab52", "metadata": { "editable": true }, @@ -1794,7 +1793,7 @@ }, { "cell_type": "markdown", - "id": "48335bc5", + "id": "76988e57", "metadata": { "editable": true }, @@ -1806,7 +1805,7 @@ }, { "cell_type": "markdown", - "id": "28bc7d7c", + "id": "a4340a4a", "metadata": { "editable": true }, @@ -1824,7 +1823,7 @@ { "cell_type": "code", "execution_count": 25, - "id": "e7889262", + "id": "cf063493", "metadata": { "collapsed": false, "editable": true @@ -1851,7 +1850,7 @@ }, { "cell_type": "markdown", - "id": "d6a3e045", + "id": "6fce965c", "metadata": { "editable": true }, @@ -1873,7 +1872,7 @@ { "cell_type": "code", "execution_count": 26, - "id": "d5a30b19", + "id": "99451cc3", "metadata": { "collapsed": false, "editable": true @@ -1911,7 +1910,7 @@ }, { "cell_type": "markdown", - "id": "ed07337d", + "id": "2fe60a92", "metadata": { "editable": true }, @@ -1922,7 +1921,7 @@ }, { "cell_type": "markdown", - "id": "415d9bec", + "id": "0a9ac4f6", "metadata": { "editable": true }, @@ -1935,7 +1934,7 @@ }, { "cell_type": "markdown", - "id": "ba29a36b", + "id": "f4b74189", "metadata": { "editable": true }, @@ -1956,7 +1955,7 @@ }, { "cell_type": "markdown", - "id": "865a8b36", + "id": "5a4a3671", "metadata": { "editable": true }, @@ -1968,7 +1967,7 @@ }, { "cell_type": "markdown", - "id": "64634cb0", + "id": "6211b8c9", "metadata": { "editable": true }, @@ -1978,7 +1977,7 @@ }, { "cell_type": "markdown", - "id": "6f984361", + "id": "9e42928d", "metadata": { "editable": true }, @@ -1990,7 +1989,7 @@ }, { "cell_type": "markdown", - "id": "64cb4c5e", + "id": "1c9ef3f4", "metadata": { "editable": true }, @@ -2002,7 +2001,7 @@ }, { "cell_type": "markdown", - "id": "0260440c", + "id": "79e97d69", "metadata": { "editable": true }, @@ -2014,7 +2013,7 @@ }, { "cell_type": "markdown", - "id": "078a2b57", + "id": "f5ad8ef2", "metadata": { "editable": true }, @@ -2025,7 +2024,7 @@ }, { "cell_type": "markdown", - "id": "9c902a95", + "id": "44891bb4", "metadata": { "editable": true }, @@ -2037,7 +2036,7 @@ }, { "cell_type": "markdown", - "id": "e8ea13ec", + "id": "aaa7b17c", "metadata": { "editable": true }, @@ -2059,7 +2058,7 @@ }, { "cell_type": "markdown", - "id": "7aa029a3", + "id": "0be54b9b", "metadata": { "editable": true }, @@ -2071,7 +2070,7 @@ }, { "cell_type": "markdown", - "id": "708f12b5", + "id": "54dd8d25", "metadata": { "editable": true }, @@ -2084,7 +2083,7 @@ }, { "cell_type": "markdown", - "id": "037f64d6", + "id": "ed6933ba", "metadata": { "editable": true }, @@ -2101,7 +2100,7 @@ }, { "cell_type": "markdown", - "id": "e637e27a", + "id": "485544e3", "metadata": { "editable": true }, @@ -2113,7 +2112,7 @@ }, { "cell_type": "markdown", - "id": "1ebeede9", + "id": "f6388248", "metadata": { "editable": true }, @@ -2123,7 +2122,7 @@ }, { "cell_type": "markdown", - "id": "d7e4c069", + "id": "ce0c7145", "metadata": { "editable": true }, @@ -2135,7 +2134,7 @@ }, { "cell_type": "markdown", - "id": "106d72f7", + "id": "00e6184f", "metadata": { "editable": true }, @@ -2145,7 +2144,7 @@ }, { "cell_type": "markdown", - "id": "a5240cd2", + "id": "867accda", "metadata": { "editable": true }, @@ -2157,7 +2156,7 @@ }, { "cell_type": "markdown", - "id": "c52694b3", + "id": "9014a119", "metadata": { "editable": true }, @@ -2167,7 +2166,7 @@ }, { "cell_type": "markdown", - "id": "348874b6", + "id": "3bd53b56", "metadata": { "editable": true }, @@ -2179,7 +2178,7 @@ }, { "cell_type": "markdown", - "id": "56c26cc2", + "id": "c897698e", "metadata": { "editable": true }, @@ -2195,7 +2194,7 @@ }, { "cell_type": "markdown", - "id": "c72e667c", + "id": "589f2e51", "metadata": { "editable": true }, @@ -2207,7 +2206,7 @@ }, { "cell_type": "markdown", - "id": "d2c9c03b", + "id": "06453e2b", "metadata": { "editable": true }, @@ -2218,7 +2217,7 @@ }, { "cell_type": "markdown", - "id": "13304934", + "id": "526e5f07", "metadata": { "editable": true }, @@ -2230,7 +2229,7 @@ }, { "cell_type": "markdown", - "id": "e7f2e3d7", + "id": "64787891", "metadata": { "editable": true }, @@ -2244,7 +2243,7 @@ }, { "cell_type": "markdown", - "id": "abf3e12d", + "id": "39763e86", "metadata": { "editable": true }, @@ -2256,7 +2255,7 @@ }, { "cell_type": "markdown", - "id": "f751f37e", + "id": "54fe3175", "metadata": { "editable": true }, @@ -2281,7 +2280,7 @@ }, { "cell_type": "markdown", - "id": "a394237c", + "id": "27921116", "metadata": { "editable": true }, @@ -2298,7 +2297,7 @@ { "cell_type": "code", "execution_count": 27, - "id": "24f48163", + "id": "d7c14e10", "metadata": { "collapsed": false, "editable": true @@ -2342,7 +2341,7 @@ }, { "cell_type": "markdown", - "id": "7e2a3350", + "id": "8a8299e5", "metadata": { "editable": true }, @@ -2353,7 +2352,7 @@ { "cell_type": "code", "execution_count": 28, - "id": "be7aa588", + "id": "840ea068", "metadata": { "collapsed": false, "editable": true @@ -2375,7 +2374,7 @@ }, { "cell_type": "markdown", - "id": "1ca3f591", + "id": "dd83dc1e", "metadata": { "editable": true }, @@ -2392,7 +2391,7 @@ { "cell_type": "code", "execution_count": 29, - "id": "61ed8ec4", + "id": "790cae06", "metadata": { "collapsed": false, "editable": true @@ -2413,7 +2412,7 @@ }, { "cell_type": "markdown", - "id": "8c2040f6", + "id": "91da43f1", "metadata": { "editable": true }, @@ -2427,7 +2426,7 @@ { "cell_type": "code", "execution_count": 30, - "id": "a54bae32", + "id": "f5feec8b", "metadata": { "collapsed": false, "editable": true @@ -2456,7 +2455,7 @@ }, { "cell_type": "markdown", - "id": "371c3dcf", + "id": "ac0118df", "metadata": { "editable": true }, @@ -2476,7 +2475,7 @@ { "cell_type": "code", "execution_count": 31, - "id": "f04b4be2", + "id": "46690975", "metadata": { "collapsed": false, "editable": true @@ -2493,7 +2492,7 @@ }, { "cell_type": "markdown", - "id": "32eeb377", + "id": "7961d6fc", "metadata": { "editable": true }, @@ -2505,7 +2504,7 @@ { "cell_type": "code", "execution_count": 32, - "id": "25307bbf", + "id": "4b676d9e", "metadata": { "collapsed": false, "editable": true @@ -2523,7 +2522,7 @@ }, { "cell_type": "markdown", - "id": "f785892a", + "id": "ae88158f", "metadata": { "editable": true }, @@ -2534,7 +2533,7 @@ { "cell_type": "code", "execution_count": 33, - "id": "165f063a", + "id": "6ac7fc99", "metadata": { "collapsed": false, "editable": true @@ -2547,7 +2546,7 @@ }, { "cell_type": "markdown", - "id": "04edf748", + "id": "d724a1ab", "metadata": { "editable": true }, @@ -2559,7 +2558,7 @@ { "cell_type": "code", "execution_count": 34, - "id": "145083b5", + "id": "e55fe90a", "metadata": { "collapsed": false, "editable": true @@ -2590,7 +2589,7 @@ }, { "cell_type": "markdown", - "id": "39c2d3d8", + "id": "c3bf55fa", "metadata": { "editable": true }, @@ -2604,7 +2603,7 @@ { "cell_type": "code", "execution_count": 35, - "id": "69194c9c", + "id": "b07ca952", "metadata": { "collapsed": false, "editable": true @@ -2649,7 +2648,7 @@ }, { "cell_type": "markdown", - "id": "a4129126", + "id": "d8096d6c", "metadata": { "editable": true }, @@ -2669,7 +2668,7 @@ }, { "cell_type": "markdown", - "id": "7a33c89b", + "id": "a1dfa597", "metadata": { "editable": true }, @@ -2701,7 +2700,7 @@ }, { "cell_type": "markdown", - "id": "4ba31200", + "id": "0f09319b", "metadata": { "editable": true }, @@ -2723,7 +2722,7 @@ }, { "cell_type": "markdown", - "id": "52fb08cb", + "id": "d8687217", "metadata": { "editable": true }, @@ -2751,7 +2750,7 @@ }, { "cell_type": "markdown", - "id": "95152d93", + "id": "11023050", "metadata": { "editable": true }, @@ -2766,7 +2765,7 @@ }, { "cell_type": "markdown", - "id": "238b17c2", + "id": "f4e2df0d", "metadata": { "editable": true }, @@ -2778,7 +2777,7 @@ }, { "cell_type": "markdown", - "id": "ce2e0ae1", + "id": "d21ecb12", "metadata": { "editable": true }, @@ -2793,7 +2792,7 @@ }, { "cell_type": "markdown", - "id": "e2740148", + "id": "63200d39", "metadata": { "editable": true }, @@ -2806,7 +2805,7 @@ }, { "cell_type": "markdown", - "id": "a05704a6", + "id": "b73d0eec", "metadata": { "editable": true }, @@ -2818,7 +2817,7 @@ }, { "cell_type": "markdown", - "id": "79c60b29", + "id": "52f20003", "metadata": { "editable": true }, @@ -2828,7 +2827,7 @@ }, { "cell_type": "markdown", - "id": "a2d03cc3", + "id": "7864d86a", "metadata": { "editable": true }, @@ -2839,7 +2838,7 @@ }, { "cell_type": "markdown", - "id": "b7e737b6", + "id": "b593cea5", "metadata": { "editable": true }, @@ -2857,7 +2856,7 @@ }, { "cell_type": "markdown", - "id": "dd3e07c9", + "id": "70d49d97", "metadata": { "editable": true }, @@ -2868,7 +2867,7 @@ }, { "cell_type": "markdown", - "id": "915344ab", + "id": "b68f4cae", "metadata": { "editable": true }, @@ -2880,7 +2879,7 @@ }, { "cell_type": "markdown", - "id": "6e4a0072", + "id": "71919420", "metadata": { "editable": true }, @@ -2890,7 +2889,7 @@ }, { "cell_type": "markdown", - "id": "d3cf04f0", + "id": "4111a28a", "metadata": { "editable": true }, @@ -2902,7 +2901,7 @@ }, { "cell_type": "markdown", - "id": "81e7200e", + "id": "d6f0e90a", "metadata": { "editable": true }, @@ -2912,7 +2911,7 @@ }, { "cell_type": "markdown", - "id": "5b2ce368", + "id": "2e659cc3", "metadata": { "editable": true }, @@ -2924,7 +2923,7 @@ }, { "cell_type": "markdown", - "id": "b657bfbd", + "id": "291bd606", "metadata": { "editable": true }, @@ -2934,7 +2933,7 @@ }, { "cell_type": "markdown", - "id": "2ccb4095", + "id": "1742837c", "metadata": { "editable": true }, @@ -2953,7 +2952,7 @@ }, { "cell_type": "markdown", - "id": "6b189b01", + "id": "a38d3cbb", "metadata": { "editable": true }, @@ -2963,7 +2962,7 @@ }, { "cell_type": "markdown", - "id": "b636c0b5", + "id": "754e5c1b", "metadata": { "editable": true }, @@ -2975,7 +2974,7 @@ }, { "cell_type": "markdown", - "id": "c147de10", + "id": "3896c8d9", "metadata": { "editable": true }, @@ -2985,7 +2984,7 @@ }, { "cell_type": "markdown", - "id": "bf29dd98", + "id": "56f03dbb", "metadata": { "editable": true }, @@ -3001,7 +3000,7 @@ }, { "cell_type": "markdown", - "id": "65d3b720", + "id": "3cddf8dc", "metadata": { "editable": true }, @@ -3021,7 +3020,7 @@ }, { "cell_type": "markdown", - "id": "90a6f1c3", + "id": "ee06ad6b", "metadata": { "editable": true }, @@ -3031,7 +3030,7 @@ }, { "cell_type": "markdown", - "id": "9a9345a8", + "id": "01f16d3d", "metadata": { "editable": true }, @@ -3042,7 +3041,7 @@ }, { "cell_type": "markdown", - "id": "436713cd", + "id": "d5fa21fc", "metadata": { "editable": true }, @@ -3061,7 +3060,7 @@ }, { "cell_type": "markdown", - "id": "fc260798", + "id": "5961c89c", "metadata": { "editable": true }, @@ -3071,7 +3070,7 @@ }, { "cell_type": "markdown", - "id": "30632fac", + "id": "09a14678", "metadata": { "editable": true }, @@ -3083,7 +3082,7 @@ }, { "cell_type": "markdown", - "id": "4a0561e1", + "id": "d1991035", "metadata": { "editable": true }, @@ -3093,7 +3092,7 @@ }, { "cell_type": "markdown", - "id": "8ea2db4f", + "id": "586d180f", "metadata": { "editable": true }, @@ -3104,7 +3103,7 @@ }, { "cell_type": "markdown", - "id": "3477d1ad", + "id": "a367da4a", "metadata": { "editable": true }, @@ -3124,7 +3123,7 @@ }, { "cell_type": "markdown", - "id": "059fcd50", + "id": "36a08953", "metadata": { "editable": true }, @@ -3136,7 +3135,7 @@ }, { "cell_type": "markdown", - "id": "978a59bf", + "id": "bb74bc61", "metadata": { "editable": true }, @@ -3151,7 +3150,7 @@ { "cell_type": "code", "execution_count": 36, - "id": "39424acd", + "id": "0d028a5e", "metadata": { "collapsed": false, "editable": true @@ -3231,7 +3230,7 @@ }, { "cell_type": "markdown", - "id": "07fd1572", + "id": "a999ce38", "metadata": { "editable": true }, @@ -3241,7 +3240,7 @@ }, { "cell_type": "markdown", - "id": "59bda5f0", + "id": "99c7b2e6", "metadata": { "editable": true }, @@ -3253,7 +3252,7 @@ }, { "cell_type": "markdown", - "id": "0b16fd0b", + "id": "658cfed8", "metadata": { "editable": true }, @@ -3263,7 +3262,7 @@ }, { "cell_type": "markdown", - "id": "63e1915a", + "id": "3326b8dd", "metadata": { "editable": true }, @@ -3274,7 +3273,7 @@ }, { "cell_type": "markdown", - "id": "148da0be", + "id": "0ea26608", "metadata": { "editable": true }, @@ -3286,7 +3285,7 @@ }, { "cell_type": "markdown", - "id": "3f501364", + "id": "7bf8e9e0", "metadata": { "editable": true }, @@ -3296,7 +3295,7 @@ }, { "cell_type": "markdown", - "id": "f597b7b4", + "id": "8b0953e4", "metadata": { "editable": true }, @@ -3308,7 +3307,7 @@ }, { "cell_type": "markdown", - "id": "287ffe3f", + "id": "aa73214a", "metadata": { "editable": true }, @@ -3318,7 +3317,7 @@ }, { "cell_type": "markdown", - "id": "b461ae99", + "id": "933017a1", "metadata": { "editable": true }, @@ -3330,7 +3329,7 @@ }, { "cell_type": "markdown", - "id": "f8f907a2", + "id": "f4f23774", "metadata": { "editable": true }, @@ -3343,7 +3342,7 @@ }, { "cell_type": "markdown", - "id": "f74bde3d", + "id": "5ec5427a", "metadata": { "editable": true }, @@ -3355,7 +3354,7 @@ }, { "cell_type": "markdown", - "id": "8feb180f", + "id": "3a13eeec", "metadata": { "editable": true }, @@ -3365,7 +3364,7 @@ }, { "cell_type": "markdown", - "id": "54224755", + "id": "7e2e8691", "metadata": { "editable": true }, @@ -3377,7 +3376,7 @@ }, { "cell_type": "markdown", - "id": "d7ee4992", + "id": "13c737db", "metadata": { "editable": true }, @@ -3389,7 +3388,7 @@ }, { "cell_type": "markdown", - "id": "8b14416d", + "id": "57bdb77f", "metadata": { "editable": true }, @@ -3400,7 +3399,7 @@ }, { "cell_type": "markdown", - "id": "c6adcf80", + "id": "ac977010", "metadata": { "editable": true }, @@ -3412,7 +3411,7 @@ }, { "cell_type": "markdown", - "id": "619b4455", + "id": "dc846b67", "metadata": { "editable": true }, @@ -3431,7 +3430,7 @@ }, { "cell_type": "markdown", - "id": "6745d2bb", + "id": "f781558d", "metadata": { "editable": true }, @@ -3444,7 +3443,7 @@ }, { "cell_type": "markdown", - "id": "4e113fc8", + "id": "dd78ddb8", "metadata": { "editable": true }, @@ -3454,7 +3453,7 @@ }, { "cell_type": "markdown", - "id": "2574e666", + "id": "384f2e1c", "metadata": { "editable": true }, @@ -3466,7 +3465,7 @@ }, { "cell_type": "markdown", - "id": "5dff1373", + "id": "d2600336", "metadata": { "editable": true }, @@ -3476,7 +3475,7 @@ }, { "cell_type": "markdown", - "id": "da0105ad", + "id": "45cb1276", "metadata": { "editable": true }, @@ -3488,7 +3487,7 @@ }, { "cell_type": "markdown", - "id": "cec667f5", + "id": "c15b4821", "metadata": { "editable": true }, @@ -3498,7 +3497,7 @@ }, { "cell_type": "markdown", - "id": "fd706d37", + "id": "9e409c67", "metadata": { "editable": true }, @@ -3510,7 +3509,7 @@ }, { "cell_type": "markdown", - "id": "ca7ed7c7", + "id": "c83f7173", "metadata": { "editable": true }, @@ -3521,7 +3520,7 @@ }, { "cell_type": "markdown", - "id": "284a9beb", + "id": "f6381fa7", "metadata": { "editable": true }, @@ -3533,7 +3532,7 @@ }, { "cell_type": "markdown", - "id": "db965d9f", + "id": "e9d7f658", "metadata": { "editable": true }, @@ -3543,7 +3542,7 @@ }, { "cell_type": "markdown", - "id": "0ee470da", + "id": "4277d478", "metadata": { "editable": true }, @@ -3555,7 +3554,7 @@ }, { "cell_type": "markdown", - "id": "7ffe89bf", + "id": "a0e9d4c2", "metadata": { "editable": true }, @@ -3565,7 +3564,7 @@ }, { "cell_type": "markdown", - "id": "3fe51538", + "id": "2ab42ac4", "metadata": { "editable": true }, @@ -3577,7 +3576,7 @@ }, { "cell_type": "markdown", - "id": "f2f8daf3", + "id": "0e918f89", "metadata": { "editable": true }, @@ -3598,7 +3597,7 @@ }, { "cell_type": "markdown", - "id": "37bc95de", + "id": "2c788900", "metadata": { "editable": true }, @@ -3609,7 +3608,7 @@ }, { "cell_type": "markdown", - "id": "06804c08", + "id": "1ede6ef6", "metadata": { "editable": true }, @@ -3621,7 +3620,7 @@ }, { "cell_type": "markdown", - "id": "e4985a2c", + "id": "e8d4b199", "metadata": { "editable": true }, @@ -3631,7 +3630,7 @@ }, { "cell_type": "markdown", - "id": "e17ce483", + "id": "79ea8927", "metadata": { "editable": true }, @@ -3643,7 +3642,7 @@ }, { "cell_type": "markdown", - "id": "cae62ef7", + "id": "123420bb", "metadata": { "editable": true }, @@ -3653,7 +3652,7 @@ }, { "cell_type": "markdown", - "id": "75864263", + "id": "500ff3a1", "metadata": { "editable": true }, @@ -3665,7 +3664,7 @@ }, { "cell_type": "markdown", - "id": "e9dd7064", + "id": "14fa6116", "metadata": { "editable": true }, @@ -3677,7 +3676,7 @@ }, { "cell_type": "markdown", - "id": "09cbb278", + "id": "0302a56c", "metadata": { "editable": true }, @@ -3691,7 +3690,7 @@ { "cell_type": "code", "execution_count": 37, - "id": "8a91a080", + "id": "28b8fea1", "metadata": { "collapsed": false, "editable": true @@ -3706,7 +3705,7 @@ }, { "cell_type": "markdown", - "id": "9b1aadbb", + "id": "2ce9c1f9", "metadata": { "editable": true }, @@ -3717,7 +3716,7 @@ { "cell_type": "code", "execution_count": 38, - "id": "98eb1b26", + "id": "3e6fb6a3", "metadata": { "collapsed": false, "editable": true @@ -3730,7 +3729,7 @@ }, { "cell_type": "markdown", - "id": "5e736b46", + "id": "11423a14", "metadata": { "editable": true }, @@ -3741,7 +3740,7 @@ { "cell_type": "code", "execution_count": 39, - "id": "aff51174", + "id": "9acdeea1", "metadata": { "collapsed": false, "editable": true @@ -3764,7 +3763,7 @@ }, { "cell_type": "markdown", - "id": "111514a6", + "id": "070371c1", "metadata": { "editable": true }, @@ -3778,7 +3777,7 @@ { "cell_type": "code", "execution_count": 40, - "id": "fab8775f", + "id": "89b18be0", "metadata": { "collapsed": false, "editable": true @@ -3791,7 +3790,7 @@ }, { "cell_type": "markdown", - "id": "9e96114b", + "id": "a515cef3", "metadata": { "editable": true }, @@ -3802,7 +3801,7 @@ { "cell_type": "code", "execution_count": 41, - "id": "cb8ed7c6", + "id": "b087dfd7", "metadata": { "collapsed": false, "editable": true @@ -3814,7 +3813,7 @@ }, { "cell_type": "markdown", - "id": "e3af8ce6", + "id": "ffa97e27", "metadata": { "editable": true }, @@ -3825,7 +3824,7 @@ { "cell_type": "code", "execution_count": 42, - "id": "6a1067f6", + "id": "28ab6de9", "metadata": { "collapsed": false, "editable": true @@ -3841,7 +3840,7 @@ }, { "cell_type": "markdown", - "id": "bae481ed", + "id": "27634b39", "metadata": { "editable": true }, @@ -3852,7 +3851,7 @@ { "cell_type": "code", "execution_count": 43, - "id": "84f5b3ed", + "id": "8638efbb", "metadata": { "collapsed": false, "editable": true @@ -3866,7 +3865,7 @@ }, { "cell_type": "markdown", - "id": "a1e63d16", + "id": "4d915b0f", "metadata": { "editable": true }, @@ -3888,7 +3887,7 @@ }, { "cell_type": "markdown", - "id": "2ed8d40d", + "id": "c30c6aee", "metadata": { "editable": true }, @@ -3900,7 +3899,7 @@ }, { "cell_type": "markdown", - "id": "7fa3beb2", + "id": "ada617d5", "metadata": { "editable": true }, @@ -3910,7 +3909,7 @@ }, { "cell_type": "markdown", - "id": "1f4e4834", + "id": "1754f53b", "metadata": { "editable": true }, @@ -3922,7 +3921,7 @@ }, { "cell_type": "markdown", - "id": "fe98b040", + "id": "c2f2f98b", "metadata": { "editable": true }, @@ -3934,7 +3933,7 @@ }, { "cell_type": "markdown", - "id": "19c0ea5a", + "id": "e25b67bf", "metadata": { "editable": true }, @@ -3944,7 +3943,7 @@ }, { "cell_type": "markdown", - "id": "a17433fa", + "id": "db54e007", "metadata": { "editable": true }, @@ -3956,7 +3955,7 @@ }, { "cell_type": "markdown", - "id": "bb57f70f", + "id": "738bc477", "metadata": { "editable": true }, @@ -3966,7 +3965,7 @@ }, { "cell_type": "markdown", - "id": "740293d0", + "id": "58d5a4dc", "metadata": { "editable": true }, @@ -3978,7 +3977,7 @@ }, { "cell_type": "markdown", - "id": "cc354967", + "id": "1d6bebd6", "metadata": { "editable": true }, @@ -3988,7 +3987,7 @@ }, { "cell_type": "markdown", - "id": "a9e2c89b", + "id": "386840f7", "metadata": { "editable": true }, @@ -4000,7 +3999,7 @@ }, { "cell_type": "markdown", - "id": "019eeb99", + "id": "24dcc9ba", "metadata": { "editable": true }, @@ -4012,7 +4011,7 @@ }, { "cell_type": "markdown", - "id": "f8da2f1b", + "id": "f113852a", "metadata": { "editable": true }, @@ -4022,7 +4021,7 @@ }, { "cell_type": "markdown", - "id": "ea40dfcb", + "id": "d2f7a845", "metadata": { "editable": true }, @@ -4034,7 +4033,7 @@ }, { "cell_type": "markdown", - "id": "c44a95ba", + "id": "d72bba75", "metadata": { "editable": true }, @@ -4044,7 +4043,7 @@ }, { "cell_type": "markdown", - "id": "29a6e203", + "id": "bb13fac5", "metadata": { "editable": true }, @@ -4056,7 +4055,7 @@ }, { "cell_type": "markdown", - "id": "c0099109", + "id": "1515cd65", "metadata": { "editable": true }, @@ -4068,7 +4067,7 @@ }, { "cell_type": "markdown", - "id": "a74999a8", + "id": "0ad3e119", "metadata": { "editable": true }, @@ -4080,7 +4079,7 @@ }, { "cell_type": "markdown", - "id": "ef173b8c", + "id": "13c31946", "metadata": { "editable": true }, @@ -4090,7 +4089,7 @@ }, { "cell_type": "markdown", - "id": "59b8e5a6", + "id": "81865dba", "metadata": { "editable": true }, @@ -4102,7 +4101,7 @@ }, { "cell_type": "markdown", - "id": "ed6bea7b", + "id": "695fa8b3", "metadata": { "editable": true }, @@ -4112,7 +4111,7 @@ }, { "cell_type": "markdown", - "id": "02ccdd64", + "id": "1bed9a0c", "metadata": { "editable": true }, @@ -4124,7 +4123,7 @@ }, { "cell_type": "markdown", - "id": "322ae5c4", + "id": "4eecd97c", "metadata": { "editable": true }, @@ -4134,7 +4133,7 @@ }, { "cell_type": "markdown", - "id": "300c663e", + "id": "79775499", "metadata": { "editable": true }, @@ -4146,7 +4145,7 @@ }, { "cell_type": "markdown", - "id": "1c41d02f", + "id": "04a1de21", "metadata": { "editable": true }, @@ -4157,7 +4156,7 @@ }, { "cell_type": "markdown", - "id": "af24da80", + "id": "a12f859f", "metadata": { "editable": true }, @@ -4169,7 +4168,7 @@ }, { "cell_type": "markdown", - "id": "a4e77786", + "id": "5b6df2e0", "metadata": { "editable": true }, @@ -4179,7 +4178,7 @@ }, { "cell_type": "markdown", - "id": "9509a31e", + "id": "606ffb10", "metadata": { "editable": true }, @@ -4191,7 +4190,7 @@ }, { "cell_type": "markdown", - "id": "02761adc", + "id": "f881dd60", "metadata": { "editable": true }, @@ -4201,7 +4200,7 @@ }, { "cell_type": "markdown", - "id": "e7274810", + "id": "64815485", "metadata": { "editable": true }, @@ -4213,7 +4212,7 @@ }, { "cell_type": "markdown", - "id": "bda28d41", + "id": "7f0af663", "metadata": { "editable": true }, @@ -4226,7 +4225,7 @@ }, { "cell_type": "markdown", - "id": "c937e12b", + "id": "15c1e9fd", "metadata": { "editable": true }, @@ -4238,7 +4237,7 @@ }, { "cell_type": "markdown", - "id": "e68701ef", + "id": "c5c31048", "metadata": { "editable": true }, @@ -4250,7 +4249,7 @@ }, { "cell_type": "markdown", - "id": "74dae651", + "id": "8b187cf9", "metadata": { "editable": true }, @@ -4262,7 +4261,7 @@ }, { "cell_type": "markdown", - "id": "f5c3ce3c", + "id": "e996eb52", "metadata": { "editable": true }, @@ -4274,7 +4273,7 @@ }, { "cell_type": "markdown", - "id": "75c801b4", + "id": "15fa15aa", "metadata": { "editable": true }, @@ -4286,7 +4285,7 @@ }, { "cell_type": "markdown", - "id": "886e9a68", + "id": "86f85ed2", "metadata": { "editable": true }, @@ -4296,7 +4295,7 @@ }, { "cell_type": "markdown", - "id": "de7db3ea", + "id": "9e57584c", "metadata": { "editable": true }, @@ -4308,7 +4307,7 @@ }, { "cell_type": "markdown", - "id": "1f1cb839", + "id": "da757f17", "metadata": { "editable": true }, @@ -4320,7 +4319,7 @@ }, { "cell_type": "markdown", - "id": "d2da75eb", + "id": "45f2207c", "metadata": { "editable": true }, @@ -4333,7 +4332,7 @@ }, { "cell_type": "markdown", - "id": "bbacc898", + "id": "8139599d", "metadata": { "editable": true }, @@ -4360,7 +4359,7 @@ }, { "cell_type": "markdown", - "id": "20fbbba0", + "id": "63a64b3d", "metadata": { "editable": true }, @@ -4371,7 +4370,7 @@ { "cell_type": "code", "execution_count": 44, - "id": "1979d2a6", + "id": "5de1f100", "metadata": { "collapsed": false, "editable": true @@ -4467,7 +4466,7 @@ }, { "cell_type": "markdown", - "id": "6c2fb184", + "id": "d633c09b", "metadata": { "editable": true }, @@ -4482,7 +4481,7 @@ }, { "cell_type": "markdown", - "id": "b6c2b405", + "id": "a5070bb2", "metadata": { "editable": true }, @@ -4504,7 +4503,7 @@ { "cell_type": "code", "execution_count": 45, - "id": "329decb7", + "id": "e36465e5", "metadata": { "collapsed": false, "editable": true @@ -4579,7 +4578,7 @@ }, { "cell_type": "markdown", - "id": "01a0fc73", + "id": "563e1690", "metadata": { "editable": true }, @@ -4591,7 +4590,7 @@ }, { "cell_type": "markdown", - "id": "8a0bd69f", + "id": "633a8895", "metadata": { "editable": true }, @@ -4660,7 +4659,7 @@ }, { "cell_type": "markdown", - "id": "ea03d9f0", + "id": "ceb69ad9", "metadata": { "editable": true }, @@ -4674,7 +4673,7 @@ { "cell_type": "code", "execution_count": 46, - "id": "2ffabbd8", + "id": "291770ac", "metadata": { "collapsed": false, "editable": true @@ -4687,7 +4686,7 @@ }, { "cell_type": "markdown", - "id": "38967294", + "id": "42ef5bb8", "metadata": { "editable": true }, @@ -4701,7 +4700,7 @@ }, { "cell_type": "markdown", - "id": "399cb698", + "id": "2e8eac16", "metadata": { "editable": true }, @@ -4714,7 +4713,7 @@ }, { "cell_type": "markdown", - "id": "8be7228e", + "id": "5f16372e", "metadata": { "editable": true }, @@ -4725,7 +4724,7 @@ }, { "cell_type": "markdown", - "id": "85d4f6de", + "id": "f6986278", "metadata": { "editable": true }, @@ -4737,7 +4736,7 @@ }, { "cell_type": "markdown", - "id": "78db66b0", + "id": "6dc2ab94", "metadata": { "editable": true }, @@ -4747,7 +4746,7 @@ }, { "cell_type": "markdown", - "id": "f9638fee", + "id": "2a4d21c7", "metadata": { "editable": true }, @@ -4759,7 +4758,7 @@ }, { "cell_type": "markdown", - "id": "df38df57", + "id": "a7040d50", "metadata": { "editable": true }, @@ -4770,7 +4769,7 @@ }, { "cell_type": "markdown", - "id": "31937324", + "id": "4ef7071d", "metadata": { "editable": true }, @@ -4789,7 +4788,7 @@ { "cell_type": "code", "execution_count": 47, - "id": "42a92590", + "id": "b8f51072", "metadata": { "collapsed": false, "editable": true @@ -4805,7 +4804,7 @@ }, { "cell_type": "markdown", - "id": "baf1d96c", + "id": "38f7332f", "metadata": { "editable": true }, @@ -4815,7 +4814,7 @@ }, { "cell_type": "markdown", - "id": "91a15fc8", + "id": "0a0dd84a", "metadata": { "editable": true }, @@ -4826,7 +4825,7 @@ }, { "cell_type": "markdown", - "id": "cb4f9cbc", + "id": "69a44c83", "metadata": { "editable": true }, @@ -4838,7 +4837,7 @@ }, { "cell_type": "markdown", - "id": "fb41d9d9", + "id": "fb1af0f2", "metadata": { "editable": true }, diff --git a/doc/src/week34/exercisesweek34.ipynb b/doc/src/week34/exercisesweek34.ipynb deleted file mode 100644 index 6a84a1d30..000000000 --- a/doc/src/week34/exercisesweek34.ipynb +++ /dev/null @@ -1,303 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "id": "a50ea987", - "metadata": { - "editable": true - }, - "source": [ - "\n", - "" - ] - }, - { - "cell_type": "markdown", - "id": "291e6015", - "metadata": { - "editable": true - }, - "source": [ - "# Exercises week 34\n", - "**FYS-STK3155/4155**\n", - "\n", - "Date: **August 19-23, 2024**" - ] - }, - { - "cell_type": "markdown", - "id": "141ff111", - "metadata": { - "editable": true - }, - "source": [ - "## Exercises\n", - "\n", - "Here are three possible exercises for week 34" - ] - }, - { - "cell_type": "markdown", - "id": "32a1fc9e", - "metadata": { - "editable": true - }, - "source": [ - "## Exercise 1: Setting up various Python environments\n", - "\n", - "The first exercise here is of a mere technical art. We want you to have \n", - "* git as a version control software and to establish a user account on a provider like GitHub. Other providers like GitLab etc are equally fine. You can also use the University of Oslo [GitHub facilities](https://www.uio.no/tjenester/it/maskin/filer/versjonskontroll/github.html). \n", - "\n", - "* Install various Python packages\n", - "\n", - "We will make extensive use of Python as programming language and its\n", - "myriad of available libraries. You will find\n", - "IPython/Jupyter notebooks invaluable in your work. You can run **R**\n", - "codes in the Jupyter/IPython notebooks, with the immediate benefit of\n", - "visualizing your data. You can also use compiled languages like C++,\n", - "Rust, Fortran etc if you prefer. The focus in these lectures will be\n", - "on Python.\n", - "\n", - "If you have Python installed (we recommend Python3) and you feel\n", - "pretty familiar with installing different packages, we recommend that\n", - "you install the following Python packages via **pip** as \n", - "\n", - "1. pip install numpy scipy matplotlib ipython scikit-learn sympy pandas pillow \n", - "\n", - "For **Tensorflow**, we recommend following the instructions in the text of \n", - "[Aurelien Geron, Hands‑On Machine Learning with Scikit‑Learn and TensorFlow, O'Reilly](http://shop.oreilly.com/product/0636920052289.do)\n", - "\n", - "We will come back to **tensorflow** later. \n", - "\n", - "For Python3, replace **pip** with **pip3**.\n", - "\n", - "For OSX users we recommend, after having installed Xcode, to\n", - "install **brew**. Brew allows for a seamless installation of additional\n", - "software via for example \n", - "\n", - "1. brew install python3\n", - "\n", - "For Linux users, with its variety of distributions like for example the widely popular Ubuntu distribution,\n", - "you can use **pip** as well and simply install Python as \n", - "\n", - "1. sudo apt-get install python3 (or python for Python2.7)\n", - "\n", - "If you don't want to perform these operations separately and venture\n", - "into the hassle of exploring how to set up dependencies and paths, we\n", - "recommend two widely used distrubutions which set up all relevant\n", - "dependencies for Python, namely \n", - "\n", - "* [Anaconda](https://docs.anaconda.com/), \n", - "\n", - "which is an open source\n", - "distribution of the Python and R programming languages for large-scale\n", - "data processing, predictive analytics, and scientific computing, that\n", - "aims to simplify package management and deployment. Package versions\n", - "are managed by the package management system **conda**. \n", - "\n", - "* [Enthought canopy](https://www.enthought.com/product/canopy/) \n", - "\n", - "is a Python\n", - "distribution for scientific and analytic computing distribution and\n", - "analysis environment, available for free and under a commercial\n", - "license.\n", - "\n", - "We recommend using **Anaconda** if you are not too familiar with setting paths in a terminal environment." - ] - }, - { - "cell_type": "markdown", - "id": "f103f4c1", - "metadata": { - "editable": true - }, - "source": [ - "## Exercise 2: making your own data and exploring scikit-learn\n", - "\n", - "We will generate our own dataset for a function $y(x)$ where $x \\in [0,1]$ and defined by random numbers computed with the uniform distribution. The function $y$ is a quadratic polynomial in $x$ with added stochastic noise according to the normal distribution $\\cal {N}(0,1)$.\n", - "The following simple Python instructions define our $x$ and $y$ values (with 100 data points)." - ] - }, - { - "cell_type": "code", - "execution_count": 1, - "id": "81c11edc", - "metadata": { - "collapsed": false, - "editable": true - }, - "outputs": [], - "source": [ - "import numpy as np\n", - "x = np.random.rand(100,1)\n", - "y = 2.0+5*x*x+0.1*np.random.randn(100,1)" - ] - }, - { - "cell_type": "markdown", - "id": "970bd604", - "metadata": { - "editable": true - }, - "source": [ - "1. Write your own code (following the examples under the [regression notes](https://compphysics.github.io/MachineLearning/doc/LectureNotes/_build/html/chapter1.html)) for computing the parametrization of the data set fitting a second-order polynomial. \n", - "\n", - "2. Use thereafter **scikit-learn** (see again the examples in the regression slides) and compare with your own code. \n", - "\n", - "3. Using scikit-learn, compute also the mean square error, a risk metric corresponding to the expected value of the squared (quadratic) error defined as" - ] - }, - { - "cell_type": "markdown", - "id": "bda3ed04", - "metadata": { - "editable": true - }, - "source": [ - "$$\n", - "MSE(\\boldsymbol{y},\\boldsymbol{\\tilde{y}}) = \\frac{1}{n}\n", - "\\sum_{i=0}^{n-1}(y_i-\\tilde{y}_i)^2,\n", - "$$" - ] - }, - { - "cell_type": "markdown", - "id": "ca995691", - "metadata": { - "editable": true - }, - "source": [ - "and the $R^2$ score function.\n", - "If $\\tilde{\\boldsymbol{y}}_i$ is the predicted value of the $i-th$ sample and $y_i$ is the corresponding true value, then the score $R^2$ is defined as" - ] - }, - { - "cell_type": "markdown", - "id": "27cbfeed", - "metadata": { - "editable": true - }, - "source": [ - "$$\n", - "R^2(\\boldsymbol{y}, \\tilde{\\boldsymbol{y}}) = 1 - \\frac{\\sum_{i=0}^{n - 1} (y_i - \\tilde{y}_i)^2}{\\sum_{i=0}^{n - 1} (y_i - \\bar{y})^2},\n", - "$$" - ] - }, - { - "cell_type": "markdown", - "id": "9e063f6d", - "metadata": { - "editable": true - }, - "source": [ - "where we have defined the mean value of $\\boldsymbol{y}$ as" - ] - }, - { - "cell_type": "markdown", - "id": "e582c2bb", - "metadata": { - "editable": true - }, - "source": [ - "$$\n", - "\\bar{y} = \\frac{1}{n} \\sum_{i=0}^{n - 1} y_i.\n", - "$$" - ] - }, - { - "cell_type": "markdown", - "id": "59e0ed7a", - "metadata": { - "editable": true - }, - "source": [ - "You can use the functionality included in scikit-learn. If you feel for it, you can use your own program and define functions which compute the above two functions. \n", - "Discuss the meaning of these results. Try also to vary the coefficient in front of the added stochastic noise term and discuss the quality of the fits." - ] - }, - { - "cell_type": "markdown", - "id": "051e71aa", - "metadata": { - "editable": true - }, - "source": [ - "## Exercise 3: Split data in test and training data\n", - "\n", - "In this exercise we want you to to compute the MSE for the training\n", - "data and the test data as function of the complexity of a polynomial,\n", - "that is the degree of a given polynomial.\n", - "\n", - "The aim is to reproduce Figure 2.11 of [Hastie et al](https://github.com/CompPhysics/MLErasmus/blob/master/doc/Textbooks/elementsstat.pdf).\n", - "\n", - "Our data is defined by $x\\in [-3,3]$ with a total of for example $n=100$ data points. You should try to vary the number of data points $n$ in your analysis." - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "id": "c82d8b64", - "metadata": { - "collapsed": false, - "editable": true - }, - "outputs": [], - "source": [ - "np.random.seed()\n", - "n = 100\n", - "# Make data set.\n", - "x = np.linspace(-3, 3, n).reshape(-1, 1)\n", - "y = np.exp(-x**2) + 1.5 * np.exp(-(x-2)**2)+ np.random.normal(0, 0.1, x.shape)" - ] - }, - { - "cell_type": "markdown", - "id": "3e810bba", - "metadata": { - "editable": true - }, - "source": [ - "where $y$ is the function we want to fit with a given polynomial." - ] - }, - { - "cell_type": "markdown", - "id": "c1198fce", - "metadata": { - "editable": true - }, - "source": [ - "**a)**\n", - "Write a first code which sets up a design matrix $X$ defined by a fifth-order polynomial and split your data set in training and test data." - ] - }, - { - "cell_type": "markdown", - "id": "1b0cea0a", - "metadata": { - "editable": true - }, - "source": [ - "**b)**\n", - "Write thereafter (using either **scikit-learn** or your matrix inversion code using for example **numpy**)\n", - "and perform an ordinary least squares fitting and compute the mean squared error for the training data and the test data. These calculations should apply to a model given by a fifth-order polynomial." - ] - }, - { - "cell_type": "markdown", - "id": "5194ba08", - "metadata": { - "editable": true - }, - "source": [ - "**c)**\n", - "Add now a model which allows you to make polynomials up to degree $15$. Perform a standard OLS fitting of the training data and compute the MSE for the training and test data and plot both test and training data MSE as functions of the polynomial degree. Compare what you see with Figure 2.11 of Hastie et al. Comment your results. For which polynomial degree do you find an optimal MSE (smallest value)?" - ] - } - ], - "metadata": {}, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/doc/src/week34/week34.do.txt b/doc/src/week34/week34.do.txt index 34fcb0c4d..25266d94b 100644 --- a/doc/src/week34/week34.do.txt +++ b/doc/src/week34/week34.do.txt @@ -1,6 +1,6 @@ TITLE: Week 34: Introduction to the course, Logistics and Practicalities AUTHOR: Morten Hjorth-Jensen {copyright, 1999-present|CC BY-NC} at Department of Physics and Center for Computing in Science Education, University of Oslo, Norway & Department of Physics and Astronomy and Facility for Rare Isotope Beams, Michigan State University, USA -DATE: Week 34, August 19-23, 2024 +DATE: Week 34, August 18-22, 2025 @@ -13,8 +13,8 @@ o There are four groups: * Tuesdays 815am-12pm and 1215pm-4pm * Wednesdays 815am-12pm and 1215pm-4pm. -o On Mondays we have a regular lecture which will be organized as a mix of active learning sessions and regular lectures. These lectures/active learning sessions start at 1015am and end at 12pm and serve the aims of giving an overview over various topics as well as solving specific problems. These lectures will also be recorded. - * "Link to recording of lecture":"https://youtu.be/82IPtCrzbhs" +o On Mondays we have a regular lecture which will be organized as a mix of active learning sessions and regular lectures. These lectures/active learning sessions start at 215pm and end at 4pm and serve the aims of giving an overview over various topics as well as solving specific problems. These lectures will also be recorded. +# * "Link to recording of lecture":"https://youtu.be/82IPtCrzbhs" The labs are also available till 6pm Tuesdays and Wednesdays. Videos and learning material with reading suggestions will be made available before each week starts. @@ -25,9 +25,9 @@ The labs are also available till 6pm Tuesdays and Wednesdays. Videos and learnin ===== Schedule first week ===== !bblock - * August 19: Lecture: Presentation of course, Linear regression, examples and theory + * August 18: Lecture: Presentation of course, Linear regression, examples and theory + * August 19: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group. * August 20: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group. - * August 23: Introduction to software and repetition of Python Programming, linear algebra and basic elements of statistics. Please select group. !eblock @@ -37,7 +37,7 @@ The labs are also available till 6pm Tuesdays and Wednesdays. Videos and learnin ===== Lectures and ComputerLab ===== !bblock - * Mondays: regular lectures/active learning sessions (10.15am-12pm) + * Mondays: regular lectures/active learning sessions (2.15pm-4pm) * The sessions on Tuesdays and Wednesdays last four hours and will include partly lectures and discussions in the beginning. * Weekly reading assignments and videos needed to solve projects and exercises. * Weekly exercises. You can hand in exercises if you want and get an extra score, see below. @@ -81,17 +81,17 @@ The labs are also available till 6pm Tuesdays and Wednesdays. Videos and learnin * Fahimeh Najafi, fahimeh.najafi@fys.uio.no * Mia-Katrin Ose Kvalsund, m.k.o.kvalsund@fys.uio.no * Karl Henrik Fredly, k.h.fredly@fys.uio.no -* Sigurd k. Huse, s.k.huse@fys.uio.no -* Odin Johansen, odin.johansen@fys.uio.no +* TBA +* TBA !split ===== Deadlines for projects (tentative) ===== -o Project 1: October 7 (available September 2) graded with feedback) -o Project 2: November 4 (available October 8, graded with feedback) -o Project 3: December 9 (available November 5, graded with feedback) +o Project 1: October 6 (available September 1) graded with feedback) +o Project 2: November 3 (available October 6, graded with feedback) +o Project 3: December 8 (available November 3, graded with feedback)