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.2.0.tar.gz (1.8 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.2.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: finance_ml_amoniz-0.2.0.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.11.0-1018-azure

File hashes

Hashes for finance_ml_amoniz-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cf8d7fcd81f6b5317791a91e8516c0c2b169fc0f0caa0c579784dce89846be46
MD5 5e1b4195c4f5bc5280ad316ee971112e
BLAKE2b-256 3ff93e48068da90815eb2e751c0d3cb52254ac171d67b2b21b22577638479809

See more details on using hashes here.

File details

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

File metadata

  • Download URL: finance_ml_amoniz-0.2.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.7 Linux/6.11.0-1018-azure

File hashes

Hashes for finance_ml_amoniz-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f89d595bdc7153019b8d45021251209ae49930bdd44a567702d93a9abccc7662
MD5 46c9abab7cf03d7e5a40594cef81c870
BLAKE2b-256 8c066d6d53556545f2cf7bb92b59e6e1cd4b4b56f2dce3a34b099a0525e21069

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