Giter Club home page Giter Club logo

code_prac_hwsa2021's Introduction

HWSA 2021 code practical

Slides can be found here.

A note on the code

This is not a production or science-ready code. It is only meant to be used as an example code to practice optimisation and play with Python tools. It is modified from a student's coursework project and makes several (well-founded) simplifying assumptions. The code has NOT been validated against known solutions. Do not use this code for research!

Getting set up

First clone this repo from github:

git clone [email protected]:smutch/code_prac_hwsa2021.git
cd code_prac_hwsa2021

Dependencies can be installed using either pip or conda(+pip) depending on your preference.

Pip

This code has only been tested with Python 3.9. You can check your verison of python using:

python -V

If you are using an older version then 3.9 then it is strongly recommended that you install it using pyenv or a similar python version management tool.

Once you have Python 3.9, create a new virtualenv using the tool of your choice and activate it e.g.:

python -m venv env
source env/bin/activate

You can then install the code_prac in editable mode, and all its dependencies using:

pip install -e '.[dev]'

Conda

Setup a new conda environment with all required dependencies and the code_prac package installed in editable mode using:

conda env create -f environment.yml
conda activate code_prac_hwsa2021
pip install -e '.[dev]'

code_prac_hwsa2021's People

Contributors

juliancarlin avatar smutch avatar ylee9 avatar

Watchers

 avatar  avatar

Forkers

08dhuh

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.