--- title: OCR_Projet05 emoji: πŸ”₯ colorFrom: purple colorTo: purple sdk: gradio sdk_version: 5.49.1 app_file: app.py pinned: true short_description: Projet 05 formation Openclassrooms --- # projet_05 DΓ©ployez un modΓ¨le de Machine Learning ## Organisation du projet ``` β”œβ”€β”€ LICENSE <- Open-source license if one is chosen β”œβ”€β”€ Makefile <- Makefile with convenience commands like `make data` or `make train` β”œβ”€β”€ README.md <- The top-level README for developers using this project. β”œβ”€β”€ data β”‚ β”œβ”€β”€ external <- Data from third party sources. β”‚ β”œβ”€β”€ interim <- Intermediate data that has been transformed. β”‚ β”œβ”€β”€ processed <- The final, canonical data sets for modeling. β”‚ └── raw <- The original, immutable data dump. β”‚ β”œβ”€β”€ docs <- A default mkdocs project; see www.mkdocs.org for details β”‚ β”œβ”€β”€ models <- Trained and serialized models, model predictions, or model summaries β”‚ β”œβ”€β”€ notebooks <- Jupyter notebooks. Naming convention is a number (for ordering), β”‚ the creator's initials, and a short `-` delimited description, e.g. β”‚ `1.0-jqp-initial-data-exploration`. β”‚ β”œβ”€β”€ pyproject.toml <- Project configuration file with package metadata for β”‚ projet_05 and configuration for tools like black β”‚ β”œβ”€β”€ references <- Data dictionaries, manuals, and all other explanatory materials. β”‚ β”œβ”€β”€ reports <- Generated analysis as HTML, PDF, LaTeX, etc. β”‚ └── figures <- Generated graphics and figures to be used in reporting β”‚ β”œβ”€β”€ requirements.txt <- The requirements file for reproducing the analysis environment, e.g. β”‚ generated with `pip freeze > requirements.txt` β”‚ β”œβ”€β”€ setup.cfg <- Configuration file for flake8 β”‚ └── projet_05 <- Source code for use in this project. β”‚ β”œβ”€β”€ __init__.py <- Makes projet_05 a Python module β”‚ β”œβ”€β”€ config.py <- Store useful variables and configuration β”‚ β”œβ”€β”€ dataset.py <- Scripts to download or generate data β”‚ β”œβ”€β”€ features.py <- Code to create features for modeling β”‚ β”œβ”€β”€ modeling β”‚ β”œβ”€β”€ __init__.py β”‚ β”œβ”€β”€ predict.py <- Code to run model inference with trained models β”‚ └── train.py <- Code to train models β”‚ └── plots.py <- Code to create visualizations ``` ## Code hΓ©ritΓ© rΓ©utilisΓ© - `scripts_projet04/brand` : charte graphique OpenClassrooms (classe `Theme`, palettes, YAML). Le module `projet_05/branding.py` en est la porte d'entrΓ©e et applique automatiquement le thΓ¨me. - `scripts_projet04/manet_projet04/shap_generator.py` : fonctions `shap_global` / `shap_local` utilisΓ©es par `projet_05/modeling/train.py` pour reproduire les visualisations SHAP. -------- --- title: Projet 05 emoji: πŸ‘€ colorFrom: indigo colorTo: green sdk: gradio sdk_version: 5.49.1 app_file: app.py pinned: false --- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference [![Contributors][contributors-shield]][contributors-url] [![Python][python]][python] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![project_license][license-shield]][license-url] [![LinkedIn][linkedin-shield]][linkedin-url] ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/:user/:repo/:workflow)
Logo

project_title

project_description
Explore the docs Β»

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments
## About The Project [![Product Name Screen Shot][product-screenshot]](https://example.com) Here's a blank template to get started. To avoid retyping too much info, do a search and replace with your text editor for the following: `github_username`, `repo_name`, `twitter_handle`, `linkedin_username`, `email_client`, `email`, `project_title`, `project_description`, `project_license`

(back to top)

### Built With * [![Python][Python]][Python-url] * [![SQL][SQL]][SQL-url]

(back to top)

## Getting Started This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps. ### Prerequisites This is an example of how to list things you need to use the software and how to install them. * npm ```sh npm install npm@latest -g ``` ### Installation pip install -r requirements.txt uvicorn app.main:app --reload 1. Get a free API Key at [https://example.com](https://example.com) 2. Clone the repo ```sh git clone https://github.com/github_username/repo_name.git ``` 3. Install NPM packages ```sh npm install ``` 4. Enter your API in `config.js` ```js const API_KEY = 'ENTER YOUR API'; ``` 5. Change git remote url to avoid accidental pushes to base project ```sh git remote set-url origin github_username/repo_name git remote -v # confirm the changes ```

(back to top)

## Usage Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources. _For more examples, please refer to the [Documentation](https://example.com)_

(back to top)

## Roadmap - [ ] Feature 1 - [ ] Feature 2 - [ ] Feature 3 - [ ] Nested Feature See the [open issues](https://github.com/stephmnt/OCR_projet05/issues) for a full list of proposed features (and known issues).

(back to top)

## Contributing Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again! 1. Fork the Project 2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) 3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) 4. Push to the Branch (`git push origin feature/AmazingFeature`) 5. Open a Pull Request

(back to top)

### Top contributors: contrib.rocks image ## License Distributed under the project_license. See `LICENSE.txt` for more information.

(back to top)

## Contact Your Name - [@twitter_handle](https://twitter.com/twitter_handle) - email@email_client.com Project Link: [https://github.com/github_username/repo_name](https://github.com/github_username/repo_name)

(back to top)

## Acknowledgments * []() * []() * []()

(back to top)

[contributors-shield]: https://img.shields.io/github/contributors/stephmnt/OCR_projet05.svg?style=for-the-badge [contributors-url]: https://github.com/stephmnt/OCR_projet05/graphs/contributors [forks-shield]: https://img.shields.io/github/forks/stephmnt/OCR_projet05.svg?style=for-the-badge [forks-url]: https://github.com/stephmnt/OCR_projet05/network/members [stars-shield]: https://img.shields.io/github/stars/stephmnt/OCR_projet05.svg?style=for-the-badge [stars-url]: https://github.com/stephmnt/OCR_projet05/stargazers [issues-shield]: https://img.shields.io/github/issues/stephmnt/OCR_projet05.svg?style=for-the-badge [issues-url]: https://github.com/stephmnt/OCR_projet05/issues [license-shield]: https://img.shields.io/github/license/stephmnt/OCR_projet05.svg?style=for-the-badge [license-url]: https://github.com/stephmnt/OCR_projet05/blob/master/LICENSE.txt [linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555 [linkedin-url]: https://linkedin.com/in/stephanemanet [product-screenshot]: images/screenshot.png [Noobie]: https://img.shields.io/badge/Data%20Science%20for%20Beginners-84CC16?style=for-the-badge&labelColor=E5E7EB&color=84CC16 [Next.js]: https://img.shields.io/badge/next.js-000000?style=for-the-badge&logo=nextdotjs&logoColor=white [Next-url]: https://nextjs.org/ [React.js]: https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB [React-url]: https://reactjs.org/ [Vue.js]: https://img.shields.io/badge/Vue.js-35495E?style=for-the-badge&logo=vuedotjs&logoColor=4FC08D [Vue-url]: https://vuejs.org/ [Angular.io]: https://img.shields.io/badge/Angular-DD0031?style=for-the-badge&logo=angular&logoColor=white [Angular-url]: https://angular.io/ [Svelte.dev]: https://img.shields.io/badge/Svelte-4A4A55?style=for-the-badge&logo=svelte&logoColor=FF3E00 [Svelte-url]: https://svelte.dev/ [Laravel.com]: https://img.shields.io/badge/Laravel-FF2D20?style=for-the-badge&logo=laravel&logoColor=white [Laravel-url]: https://laravel.com [Bootstrap.com]: https://img.shields.io/badge/Bootstrap-563D7C?style=for-the-badge&logo=bootstrap&logoColor=white [Bootstrap-url]: https://getbootstrap.com [JQuery.com]: https://img.shields.io/badge/jQuery-0769AD?style=for-the-badge&logo=jquery&logoColor=white [JQuery-url]: https://jquery.com [Postgres]: https://img.shields.io/badge/Postgres-%23316192.svg?logo=postgresql&logoColor=white [Python]: https://img.shields.io/badge/Python-3776AB?logo=python&logoColor=fff) [MkDocs]: https://img.shields.io/badge/MkDocs-526CFE?logo=materialformkdocs&logoColor=fff [NumPy]: https://img.shields.io/badge/NumPy-4DABCF?logo=numpy&logoColor=fff [![Pandas](https://img.shields.io/badge/Pandas-150458?logo=pandas&logoColor=fff)](#)