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.3.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.3.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: finance_ml_amoniz-0.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 aa97d28577e7aaf559bedd295011d4b3ec39eef2d689421a60f8be006a42090f
MD5 f69d816226bb90339bb2e4dab93de3c8
BLAKE2b-256 92baec34fdfa1d2504e82a20edb647998fbe1dc2c8d1c974d20d1035741c0677

See more details on using hashes here.

File details

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

File metadata

  • Download URL: finance_ml_amoniz-0.3.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c665c430bd7379a972515cef04c45da07444f76b31f8f7db57997d79fe737505
MD5 ed25374dbea72e9aedb9c18285def8aa
BLAKE2b-256 250384e116c7e33717894943c66129f9492658e7c9d26c4490bba9083b606330

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