This repository consists of the work and testing for the Application Project Sprottenflotte.
Data
├── - Folder for data files
└──
Informations
├── - Folder for general Informations
└──
Model_training
├── model_training_rf.pth - Notebook for Random Forest model training
├── model_rf.joblib - Serialized Random Forest model for making predictions
├── scaler_rf.joblib - Scaler for Random Forest data used in predictions
Results
├── - Folder for results and diagrams
└──
Felix_API_test.ipynb - d?
Felix_API_weather_demo.ipynb - d?
historical_weather_data_V2.ipynb - get weather data from addix
investigate.ipynb - data investigation
Justus_Document.ipynb - notebook for testing
mads_dl.py - functions from deep learning course
paul_work.ipynb - notebook for testing
recent_wetter.ipynb - get recent weather data from DWD
SARIMA_ARIMA_test.ipynb - model testing of Sarima and Arima
wetter.ipynb - get forcasted weather data from DWD
requirements.txt - requirement file
You can create the following .env file in the project directory.
This .env file will store sensitive information such as passwords, client secrets, and access tokens securely. The .env file is not under version control and therefore secure, because it is added to the .gitignore file.
Note: You can use the sample.env file, which serves as a template, for creating your own .env file.
# password for keycloak
PASSWORD="*************"
# client_secret
CLIENT_SECRET="fP81XZ5OTt5iRJ7qhyyTCv4eQtpGqc5i"
# access token
ACCESS_TOKEN='eyJhbGcxN6MIceG82CRoi0vPV46Og'
You can access the variables inside the .env file with:
import dotenv
# .env
config = dotenv.dotenv_values(".env")
PASSWORD = config["PASSWORD"]
CLIENT_SECRET = config["CLIENT_SECRET"]
ACCESS_TOKEN = config["ACCESS_TOKEN"]
Clone the repository to a nice place on your machine via:
git clone git@github.com:MrMysticus/Application_Project_2024.git
Make a new virtual .venv environment with python version 3.12 or an conda environment.
Create a new Conda environment for this project with a specific version of Python:
conda create --name application_project_2024 python=3.12
Initialize Conda for shell interaction:
To make Conda available in you current shell execute the following:
conda init
Install packages in environment:
pip install -r requirements.txt