Difference between revisions of "Lab assignments for ISC-4304"

 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
([[Media:Syllabus-ISC4304-S2017.pdf | Syllabus]]    [[Notes ISC-4304 | Classnotes]] [[Homework for ISC-4304 | Homework ]]  [[Lab assignments for ISC-4304 | Lab]]  [[Resources for ISC-4304 | Resources]]    [[FunExamples | Fun]])
 
([[Media:Syllabus-ISC4304-S2017.pdf | Syllabus]]    [[Notes ISC-4304 | Classnotes]] [[Homework for ISC-4304 | Homework ]]  [[Lab assignments for ISC-4304 | Lab]]  [[Resources for ISC-4304 | Resources]]    [[FunExamples | Fun]])
  
== Lab for Spring 2017 ==
+
== Lab for Spring 2019 ==
 +
[see also on the Canvas website]
 +
* first Monday: we will learn about UNIX but no lab homework [http://peterbeerli.com/classdata/ISC4304/UNIX UNIX]
 +
* Jan 14 Lab 1  [[Media:isc4304-2019lab1.pdf | PDF]]<br>
 +
* Jan 28 Lab 2  [[Media:isc4304-2019lab2.pdf | PDF]]<br>
 +
* Feb 11 Lab 3  [[Media:isc4304-2019lab3.pdf | PDF]]<br>
 +
* Feb 18 Lab 4 Python, Conway's Game of Life [[Media:isc4304lab4_S2019.pdf | PDF]] ( [[Media:conwaygame.pdf | Some additional description of the Game of Life]] )
 +
* March 4 Lab 5 (Hilbert curve)  [[Media:isc4304-2019lab5.pdf | PDF]] [[Media:frog.jpg | frog picture]]*
 +
* March 25 Lab 6 -- ODE solving using object orientation  [[Media:isc4304-2019lab6.pdf | PDF]]<br>
 +
* April 1 Lab 7 -- Integration using object orientation  [[Media:isc4304-2019lab7.pdf | PDF]]<br>
 +
* April 8 Lab 8 -- Translate a python code to C++  [[Media:isc4304-2019lab8.pdf | PDF]] ([http://peterbeerli.com/classdata/ISC4304/codes/lab8_julia.zip zip file with code])<br>
 +
<br>
 +
 
 +
<br>
 +
== Old labs ==
 
* Lab 1: Python, learn basic python commands and write a simple function [[Media:isc4304lab1S2017.pdf|PDF]]
 
* Lab 1: Python, learn basic python commands and write a simple function [[Media:isc4304lab1S2017.pdf|PDF]]
* Lab 2: Python, simple book analysis [[Media:isc4304lab2_S2017.pdf | PDF]]
+
* Lab 2: Python, simple book analysis [[Media:isc4304lab2_S2017.pdf | PDF]] [[Media:isc4304lab1S2018.pdf | PDF]]
* Lab 3: Python, Conway's Game of Life [[Media:isc4304lab3_S2017.pdf | PDF]] <br>
+
* Lab 3: Python, Conway's Game of Life [[Media:isc4304lab3_S2017.pdf | PDF]]  [[Media:isc4304lab3_S2018.pdf | PDF]]<br>
 
             (Some description of Conway's Game of Life  [[Media:conwaygame.pdf | PDF]])
 
             (Some description of Conway's Game of Life  [[Media:conwaygame.pdf | PDF]])
* Lab 4 Plotting with matplotlib [[Media:isc4304lab4_S2017.pdf | PDF]] <br>
+
* Lab 4 Plotting with matplotlib [[Media:isc4304lab4_S2017.pdf | PDF]] [[Media:isc4304lab2S2018.pdf | PDF]]<br>
 +
* Lab 4: Hilbert Curve [[Media:isc4304lab4S2018.pdf | PDF]], and here is a tutorial about the Hilbert curve [[Media:hilbert_curve.pdf | PDF]] <br>
 +
* Lab 5:Bayesian inference [[Media:isc4304lab5S2018.pdf | PDF]]<br>
 
* Lab 5 n-ODE lab  [[Media:isc4304lab5S2017.pdf | PDF]] <br>
 
* Lab 5 n-ODE lab  [[Media:isc4304lab5S2017.pdf | PDF]] <br>
 
* Lab 6 Bayesian inference on 4-sided dice data using Python  [[Media:isc4304lab6S2017.pdf | PDF]] <br>
 
* Lab 6 Bayesian inference on 4-sided dice data using Python  [[Media:isc4304lab6S2017.pdf | PDF]] <br>
 
* Lab 7 Bayesian inference on 4-sided dice data using C++  [[Media:isc4304lab7S2017.pdf | PDF]] <br>
 
* Lab 7 Bayesian inference on 4-sided dice data using C++  [[Media:isc4304lab7S2017.pdf | PDF]] <br>
 
* Lab 8 Translation of the numerical n-ODE example to C++  [[Media:isc4304lab8S2017.pdf | PDF]] <br>
 
* Lab 8 Translation of the numerical n-ODE example to C++  [[Media:isc4304lab8S2017.pdf | PDF]] <br>
<br>
+
* Lab 9 Combining Python with C++ using boost::python [[Media:isc4304lab9S2017.pdf | PDF]]
== Old labs ==
+
* Lab 10 Speeding up a python program using Cython [[Media:isc4304lab10S2017.pdf | PDF]] Code to improve is this [http://peterbeerli.com/classdata/ISC4304/codes/mandelbrot.zip Mandelbrot Python program] (look at the lectures on cython [integration and Juliaset examples) for details how to run cython)
 
* Lab 1: Python, learn basic python commands and write a simple function [[Media:isc4304lab1.pdf|PDF]]
 
* Lab 1: Python, learn basic python commands and write a simple function [[Media:isc4304lab1.pdf|PDF]]
 
* Lab 2: Python, simple book analysis [[Media:isc4304lab2.pdf | PDF]]
 
* Lab 2: Python, simple book analysis [[Media:isc4304lab2.pdf | PDF]]

Latest revision as of 07:15, 8 April 2019

( Syllabus Classnotes Homework Lab Resources Fun)

Lab for Spring 2019

[see also on the Canvas website]



Old labs

  • Lab 1: Python, learn basic python commands and write a simple function PDF
  • Lab 2: Python, simple book analysis PDF PDF
  • Lab 3: Python, Conway's Game of Life PDF PDF
            (Some description of Conway's Game of Life   PDF)
  • Lab 4 Plotting with matplotlib PDF PDF
  • Lab 4: Hilbert Curve PDF, and here is a tutorial about the Hilbert curve PDF
  • Lab 5:Bayesian inference PDF
  • Lab 5 n-ODE lab PDF
  • Lab 6 Bayesian inference on 4-sided dice data using Python PDF
  • Lab 7 Bayesian inference on 4-sided dice data using C++ PDF
  • Lab 8 Translation of the numerical n-ODE example to C++ PDF
  • Lab 9 Combining Python with C++ using boost::python PDF
  • Lab 10 Speeding up a python program using Cython PDF Code to improve is this Mandelbrot Python program (look at the lectures on cython [integration and Juliaset examples) for details how to run cython)
  • Lab 1: Python, learn basic python commands and write a simple function PDF
  • Lab 2: Python, simple book analysis PDF
  • Lab 3: Python, Conway's Game of Life PDF
  • Lab 3 Addendum: Python and Matplotlib, Conway's Game of Life PDF
  • Lab 4 Plotting with matplotlib PDF
  • Lab 5 n-ODE lab PDF
  • Lab 6 Bayesian inference on 4-sided dice data using Python PDF
  • Lab 7 Bayesian inference on 4-sided dice data using C++ PDF
  • Lab 8 Translation of the numerical n-ODE example to C++ PDF Small Vector library
  • Lab 9 Combining Python with C++ using boost::python PDF
  • Lab 10 Speeding up a python program using Cython PDF Code to improve is this Mandelbrot Python program (this example [ integration.zip from the last class may help to set up the cython compile using the setup.py, it needs to be called like this: python setup.py build_ext --inplace )
  • Lab 11 Speeding up even more by running in parallel PDF