Spaces:
Sleeping
Sleeping
Commit ·
071de34
1
Parent(s): 7c045bd
Fixe readme file
Browse files
README.md
CHANGED
|
@@ -1,211 +1,14 @@
|
|
| 1 |
-
# AI-Algorithms-Made-Easy
|
| 2 |
-
|
| 3 |
-
**Under Development**
|
| 4 |
-
|
| 5 |
-

|
| 6 |
-
|
| 7 |
-
Welcome to **AI-Algorithms-Made-Easy**! This project is a comprehensive collection of artificial intelligence algorithms implemented from scratch using **PyTorch**. Our goal is to demystify AI by providing clear, easy-to-understand code and detailed explanations for each algorithm.
|
| 8 |
-
|
| 9 |
-
Whether you're a beginner in machine learning or an experienced practitioner, this project offers resources to enhance your understanding and skills in AI.
|
| 10 |
-
|
| 11 |
-
---
|
| 12 |
-
|
| 13 |
-
## Project Description
|
| 14 |
-
|
| 15 |
-
**AI-Algorithms-Made-Easy** aims to make AI accessible to everyone by:
|
| 16 |
-
|
| 17 |
-
- **Intuitive Implementations**: Breaking down complex algorithms into understandable components with step-by-step code.
|
| 18 |
-
- **Educational Notebooks**: Providing Jupyter notebooks that combine theory with practical examples.
|
| 19 |
-
- **Interactive Demos**: Offering user-friendly interfaces built with **Gradio** to experiment with algorithms in real-time.
|
| 20 |
-
- **Comprehensive Documentation**: Supplying in-depth guides and resources to support your AI learning journey.
|
| 21 |
-
|
| 22 |
-
Our mission is to simplify the learning process and provide hands-on tools to explore and understand AI concepts effectively.
|
| 23 |
-
|
| 24 |
---
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
---
|
| 37 |
-
|
| 38 |
-
## Algorithms Implemented
|
| 39 |
-
|
| 40 |
-
*This project is currently under development. Stay tuned for updates!*
|
| 41 |
-
|
| 42 |
-
### Supervised Learning (Scikit-Learn)
|
| 43 |
-
#### Regression ([Documentation](docs/Regression_Documentation.md), [Interface](https://huggingface.co/spaces/mboukabous/train_regression), [Notebook](notebooks/Train_Supervised_Regression_Models.ipynb) [](https://colab.research.google.com/github/mboukabous/AI-Algorithms-Made-Easy/blob/main/notebooks/Train_Supervised_Regression_Models.ipynb))
|
| 44 |
-
- [Linear Regression](models/supervised/regression/linear_regression.py)
|
| 45 |
-
- [Ridge Regression](models/supervised/regression/ridge_regression.py)
|
| 46 |
-
- [Lasso Regression](models/supervised/regression/lasso_regression.py)
|
| 47 |
-
- [ElasticNet Regression](models/supervised/regression/elasticnet_regression.py)
|
| 48 |
-
- [Decision Tree](models/supervised/regression/decision_tree_regressor.py)
|
| 49 |
-
- [Random Forest (Bagging)](models/supervised/regression/random_forest_regressor.py)
|
| 50 |
-
- [Gradient Boosting (Boosting)](models/supervised/regression/gradient_boosting_regressor.py)
|
| 51 |
-
- [AdaBoost (Boosting)](models/supervised/regression/adaboost_regressor.py)
|
| 52 |
-
- [XGBoost (Boosting)](models/supervised/regression/xgboost_regressor.py)
|
| 53 |
-
- [LightGBM](models/supervised/regression/lightgbm_regressor.py)
|
| 54 |
-
- [CatBoost](models/supervised/regression/catboost_regressor.py)
|
| 55 |
-
- [Support Vector Regressor (SVR)](models/supervised/regression/support_vector_regressor.py)
|
| 56 |
-
- [K-Nearest Neighbors (KNN) Regressor](models/supervised/regression/knn_regressor.py)
|
| 57 |
-
- [Extra Trees Regressor](models/supervised/regression/extra_trees_regressor.py)
|
| 58 |
-
- [Multilayer Perceptron (MLP) Regressor](models/supervised/regression/mlp_regressor.py)
|
| 59 |
-
|
| 60 |
-
#### Classification ([Documentation](docs/Classification_Documentation.md))
|
| 61 |
-
- [Logistic Regression](models/supervised/classification/logistic_regression.py)
|
| 62 |
-
- [Decision Tree Classifier](models/supervised/classification/decision_tree_classifier.py)
|
| 63 |
-
- [Random Forest Classifier (Bagging)](models/supervised/classification/random_forest_classifier.py)
|
| 64 |
-
- [Extra Trees Classifier](models/supervised/classification/extra_trees_classifier.py)
|
| 65 |
-
- [Gradient Boosting Classifier (Boosting)](models/supervised/classification/gradient_boosting_classifier.py)
|
| 66 |
-
- [AdaBoost Classifier (Boosting)](models/supervised/classification/adaboost_classifier.py)
|
| 67 |
-
- [XGBoost Classifier (Boosting)](models/supervised/classification/xgboost_classifier.py)
|
| 68 |
-
- [LightGBM Classifier (Boosting)](models/supervised/classification/lightgbm_classifier.py)
|
| 69 |
-
- [CatBoost Classifier (Boosting)](models/supervised/classification/catboost_classifier.py)
|
| 70 |
-
- [Support Vector Classifier (SVC)](models/supervised/classification/svc.py)
|
| 71 |
-
- [K-Nearest Neighbors (KNN) Classifier](models/supervised/classification/knn_classifier.py)
|
| 72 |
-
- [Multilayer Perceptron (MLP) Classifier](models/supervised/classification/mlp_classifier.py)
|
| 73 |
-
- [GaussianNB (Naive Bayes Classifier)](models/supervised/classification/gaussian_nb.py)
|
| 74 |
-
- [Linear Discriminant Analysis (LDA)](models/supervised/classification/linear_discriminant_analysis.py)
|
| 75 |
-
- [Quadratic Discriminant Analysis (QDA)](models/supervised/classification/quadratic_discriminant_analysis.py)
|
| 76 |
-
|
| 77 |
-
### Unsupervised Learning
|
| 78 |
-
|
| 79 |
-
- K-Means Clustering
|
| 80 |
-
- Principal Component Analysis (PCA)
|
| 81 |
-
- Hierarchical Clustering
|
| 82 |
-
- Autoencoders
|
| 83 |
-
- Isolation Forest
|
| 84 |
-
- Gaussian Mixture Models
|
| 85 |
-
|
| 86 |
-
### Deep Learning (DL)
|
| 87 |
-
|
| 88 |
-
- Convolutional Neural Networks (CNN)
|
| 89 |
-
- Recurrent Neural Networks (RNN)
|
| 90 |
-
- Long Short-Term Memory Networks (LSTM)
|
| 91 |
-
- Gated Recurrent Unit (GRU)
|
| 92 |
-
- Generative Adversarial Networks (GAN)
|
| 93 |
-
- Transformers
|
| 94 |
-
- Attention Mechanisms
|
| 95 |
-
|
| 96 |
-
### Computer Vision
|
| 97 |
-
|
| 98 |
-
- Image Classification/Transfer learning (TL)
|
| 99 |
-
- Object Detection
|
| 100 |
-
- Semantic Segmentation
|
| 101 |
-
- Style Transfer
|
| 102 |
-
- Image Captioning
|
| 103 |
-
- Generative Models
|
| 104 |
-
|
| 105 |
-
### Natural Language Processing (NLP)
|
| 106 |
-
|
| 107 |
-
- Sentiment Analysis (SA)
|
| 108 |
-
- Machine Translation
|
| 109 |
-
- Named Entity Recognition (NER)
|
| 110 |
-
- Text Classification
|
| 111 |
-
- Text Summarization
|
| 112 |
-
- Question Answering
|
| 113 |
-
- Language Modeling
|
| 114 |
-
- Transformer Models
|
| 115 |
-
|
| 116 |
-
### Time Series Analysis
|
| 117 |
-
|
| 118 |
-
- Time Series Forecasting with RNNs
|
| 119 |
-
- Temporal Convolutional Networks (TCNs)
|
| 120 |
-
- Transformers for Time Series
|
| 121 |
-
|
| 122 |
-
### Reinforcement Learning
|
| 123 |
-
|
| 124 |
-
- Q-Learning
|
| 125 |
-
- Deep Q-Networks (DQN)
|
| 126 |
-
- Policy Gradients
|
| 127 |
-
- Actor-Critic Methods
|
| 128 |
-
- Proximal Policy Optimization
|
| 129 |
-
|
| 130 |
-
### and more ...
|
| 131 |
-
|
| 132 |
-
---
|
| 133 |
-
|
| 134 |
-
## Project Structure
|
| 135 |
-
|
| 136 |
-
- **models/**: Contains all the AI algorithm implementations, organized by category.
|
| 137 |
-
- **data/**: Includes datasets and data preprocessing utilities.
|
| 138 |
-
- **utils/**: Utility scripts and helper functions.
|
| 139 |
-
- **scripts/**: Executable scripts for training, testing, and other tasks.
|
| 140 |
-
- **interfaces/**: Interactive applications using Gradio and web interfaces.
|
| 141 |
-
- **notebooks/**: Jupyter notebooks for tutorials and demonstrations.
|
| 142 |
-
- **deploy/**: Scripts and instructions for deploying models.
|
| 143 |
-
- **website/**: Files related to the project website.
|
| 144 |
-
- **docs/**: Project documentation.
|
| 145 |
-
- **examples/**: Example scripts demonstrating how to use the models.
|
| 146 |
-
|
| 147 |
-
---
|
| 148 |
-
|
| 149 |
-
## Installation
|
| 150 |
-
|
| 151 |
-
*Installation instructions will be provided once the initial release is available.*
|
| 152 |
-
|
| 153 |
-
---
|
| 154 |
-
|
| 155 |
-
## Usage
|
| 156 |
-
|
| 157 |
-
*Usage examples and tutorials will be added as the project develops.*
|
| 158 |
-
|
| 159 |
-
---
|
| 160 |
-
|
| 161 |
-
## Contributing
|
| 162 |
-
|
| 163 |
-
We welcome contributions from the community! To contribute:
|
| 164 |
-
|
| 165 |
-
1. **Fork the repository** on GitHub.
|
| 166 |
-
2. **Clone your fork** to your local machine.
|
| 167 |
-
3. **Create a new branch** for your feature or bug fix.
|
| 168 |
-
4. **Make your changes** and commit them with descriptive messages.
|
| 169 |
-
5. **Push your changes** to your forked repository.
|
| 170 |
-
6. **Open a pull request** to the main repository.
|
| 171 |
-
|
| 172 |
-
Please read our [Contributing Guidelines](CONTRIBUTING.md) for more details.
|
| 173 |
-
|
| 174 |
-
---
|
| 175 |
-
|
| 176 |
-
## License
|
| 177 |
-
|
| 178 |
-
This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.
|
| 179 |
-
|
| 180 |
-
---
|
| 181 |
-
|
| 182 |
-
## Contact
|
| 183 |
-
|
| 184 |
-
For questions, suggestions, or feedback:
|
| 185 |
-
|
| 186 |
-
- **GitHub Issues**: Please open an issue on the [GitHub repository](https://github.com/mboukabous/AI-Algorithms-Made-Easy/issues).
|
| 187 |
-
- **Email**: You can reach us at [m.boukabous95@gmail.com](mailto:m.boukabous95@gmail.com).
|
| 188 |
-
|
| 189 |
-
---
|
| 190 |
-
|
| 191 |
-
*Thank you for your interest in **AI-Algorithms-Made-Easy**! We are excited to build this resource and appreciate your support and contributions.*
|
| 192 |
-
|
| 193 |
-
---
|
| 194 |
-
|
| 195 |
-
## Acknowledgments
|
| 196 |
-
|
| 197 |
-
- **PyTorch**: For providing an excellent deep learning framework.
|
| 198 |
-
- **Gradio**: For simplifying the creation of interactive demos.
|
| 199 |
-
- **OpenAI's ChatGPT**: For assistance in planning and drafting project materials.
|
| 200 |
-
|
| 201 |
-
---
|
| 202 |
-
|
| 203 |
-
## Stay Updated
|
| 204 |
-
|
| 205 |
-
- **Watch** this repository for updates.
|
| 206 |
-
- **Star** the project if you find it helpful.
|
| 207 |
-
- **Share** with others who might be interested in learning AI algorithms.
|
| 208 |
-
|
| 209 |
---
|
| 210 |
|
| 211 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Train Classificator
|
| 3 |
+
emoji: 😻
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: indigo
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 5.7.1
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
short_description: train a classification model using Scikit-Learn
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|