Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norwegian-geotechnical-institute/ml_course_2022_0
Public ML-programming courses carried out by NGI. Focusing on geotechnical challenges and datasets.
https://github.com/norwegian-geotechnical-institute/ml_course_2022_0
deep-learning geotechnical-engineering machine-learning python
Last synced: about 1 month ago
JSON representation
Public ML-programming courses carried out by NGI. Focusing on geotechnical challenges and datasets.
- Host: GitHub
- URL: https://github.com/norwegian-geotechnical-institute/ml_course_2022_0
- Owner: norwegian-geotechnical-institute
- License: mit
- Created: 2022-05-12T07:58:30.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-06-10T12:07:57.000Z (over 2 years ago)
- Last Synced: 2024-11-05T17:02:12.068Z (2 months ago)
- Topics: deep-learning, geotechnical-engineering, machine-learning, python
- Language: Python
- Homepage:
- Size: 65.4 KB
- Stars: 10
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Machine learning workshop series spring / early summer 2022
This repository contains code for the NGI internal Machine Learning workshop presented in spring / early summer 2022. We upload code to this repo after each session.
Before you start to code, make sure you have installed:
- An IDE: VSCode, Spyder, Atom, Pycharm etc.
- An package handling and coding environment system. In further coding sessions we show instructions using conda, but feel free to use other systems such as pipenv etc. Conda can be downladed either in a GUI version, using Anaconda (https://www.anaconda.com/products/distribution), or the version called miniconda (https://docs.conda.io/en/latest/miniconda.html) without GUI and tons of other stuff in Anaconda you probably don't need :-)## Setup
Build the directory structure:
```
├── Data
│ ├── raw <- Raw data from third party sources.
│ ├── processed <- Processed data ready for modelling
├── Figures <- Saved figures from processing and results
├── src <- Script files with functionality
```It is also possible to run the bash-script in the repo to setup the structure by running:
```bash
bash make_data_structure.sh
```Download and save the dataset into the Data/raw directory.
## Good practise for scientific development
First we would like to mention three excellent papers that describe good practise in scientific computing.
- https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1005510&ref=https://githubhelp.com
- https://doi.org/10.1016/j.patter.2021.100206.
- https://journals.plos.org/plosbiology/article/info:doi/10.1371/journal.pbio.1001745### Version control system
Git is a version control system. To get the code locally on your computer. You do this only once.
1. Install git
2. On a linux or windows terminal maneuver to your project directory where you want to store different coding projects.
3. Clone repo with:```bash
git clone
```### Environment
Use one environment for each coding project. For these 5 sessions we will use the same
datasets and all sessions are basically a part of the same project. It is then ok with the
the same environment for all sessions.1. Create an environment called `ml_sessions_2022` using `environment.yaml` with the help of `conda`. If you get pip errors, install pip libraries manually, e.g. `pip install pandas`
```bash
conda env create --file environment.yaml
```2. Activate the new environment with:
```bash
conda activate ml_sessions_2022
```### Version control
We recommend to register for your own github account and make one repo for your code in
the workshop sessions. After every session you push the code to your personal github repo.
That is a good learning task for taking care of version control!### Before each coding session
We recommend some steps before each workshop session
1. Get the latest code in repo. You will probably be asked for a git-token for authentication:
```bash
git pull
```2. Update the necessary libraries and activate the environment by calling:
```bash
conda env update --file environment.yaml
conda activate ml_sessions_2022
```