Skip to main content

Projet d'exercice ML en finance

Project description

📈 finance-ml

Un mini-projet d'apprentissage automatique en Python, construit avec Poetry et testé automatiquement avec pytest et GitHub Actions.

🚀 Objectifs du projet

  • Mettre en place une structure de projet Python propre.
  • Implémenter pas à pas des algorithmes de machine learning appliqués à la finance.
  • Apprendre à écrire des tests unitaires avec pytest.
  • Automatiser l’intégration continue (CI) avec GitHub Actions.

📂 Structure du projet

finance-ml/ ├── .github/workflows/ # Workflows GitHub Actions (tests automatiques) ├── src/my_package/ # Code source du package │ ├── init.py │ └── linear_models.py ├── tests/ # Tests unitaires │ ├── init.py │ └── test_linear_models.py ├── pyproject.toml # Configuration du projet (Poetry) ├── poetry.lock # Verrouillage des dépendances └── README.md # Documentation du projet

⚙️ Installation

Cloner le projet :

git clone https://github.com/Antoine-Moniz/finance-ml.git
cd finance-ml

Installer les dépendances avec Poetry :
poetry install

Activer l’environnement virtuel :
poetry shell

Fonctionnalités
Implémentées

Régression linéaire (LinearRegression) :

Avec ou sans intercept

Méthode des moindres carrés

Prédictions sur de nouvelles données

Tests

Lancer les tests unitaires avec :

poetry run pytest

🔄 Intégration Continue (CI)

Chaque push ou pull request déclenche automatiquement les tests via GitHub Actions.
Voir l’onglet Actions
 pour consulter l’historique des exécutions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

finance_ml_amoniz-0.1.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

finance_ml_amoniz-0.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file finance_ml_amoniz-0.1.0.tar.gz.

File metadata

  • Download URL: finance_ml_amoniz-0.1.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.2 Windows/11

File hashes

Hashes for finance_ml_amoniz-0.1.0.tar.gz
Algorithm Hash digest
SHA256 45213c362358fa5df9015dfdacf03641909196972da07a7bce69f1bdb27e4261
MD5 3cf7066101bb5aa64212df77ba88e09d
BLAKE2b-256 9abb81e7e14c408c29941ec1ada3664248a7463193fcc8bb9d7de07ab9bd227f

See more details on using hashes here.

File details

Details for the file finance_ml_amoniz-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: finance_ml_amoniz-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.2 Windows/11

File hashes

Hashes for finance_ml_amoniz-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df2a05b2d20e3dad196350d1c32baf14f0f420347757d468a1fc8d30c130ca82
MD5 16c44d700325c238ab0b24cf356bed71
BLAKE2b-256 4d76eadc3c137cc1d945e61ee9ae3c0827c8db895d4a07afbe2b2ed637efdd02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page