Code Monkey home page Code Monkey logo

scipy-estimagic's Introduction

Tutorial - SciPy 2022

Practical Numerical Optimization with SciPy, Estimagic and JAXopt

by Janos Gabler & Tim Mensinger

Contents

  1. Installation
  2. Slides
  3. Exercises
  4. Troubleshooting

Warning Please pull the repo and update your conda environment before the tutorial to make sure that the most recent versions are installed.

Installation

  1. Install miniconda

  2. Clone the repository

    $ git clone https://github.com/OpenSourceEconomics/scipy-estimagic.git
    $ cd scipy-estimagic
  3. Install and activate the environment

    $ conda env create -f environment.yml
    $ conda activate scipy-estimagic

    Note You have to repeat the activation step each time after closing your terminal.

  4. Test your installation

    $ python test_installation.py
  5. Update the environment

    Note This step is only necessary if you have installed the environment a long time ago and want to make sure that you're using the most recent versions.

    $ cd scipy-estimagic
    $ conda activate scipy-estimagic
    $ conda env update -f environment.yml
    

    or use a completely fresh install:

    $ cd scipy-estimagic
    $ conda deactivate scipy-estimagic
    $ conda env remove --name scipy-estimagic
    $ conda env create -f environment.yml

Slides

You can download the slides by clicking here, or you can view them directly on GitHub here.

Exercises

You find the exercise notebooks in the folder exercises, and the corresponding solutions in the subfolder exercises/solutions.

Troubleshooting

If you have questions, problems with the installation or any other part of the repository, please open an issue.

scipy-estimagic's People

Contributors

timmens avatar

Stargazers

Moritz Wussow avatar Kyohei Okumura avatar Sergey avatar  avatar Chen Lin avatar Carl Christian Kontz avatar Luca Rondina avatar dikshie avatar Lachlan Deer avatar Dawie van Lill avatar Jeremy Bejarano avatar Ping avatar Shitty Girl avatar Don Tucker avatar James Gaboardi avatar  avatar Paul Smith avatar

Watchers

Janos Gabler avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.