A comprehensive machine learning exploration project focusing on the famous Iris dataset using Python, pandas, and scikit-learn.
This project provides a hands-on introduction to machine learning fundamentals using the Iris dataset. It includes data exploration, preprocessing, visualization, and analysis techniques commonly used in data science workflows.
machine-learning-for-gng/
├── lab_01/
│ └── one.py # Initial data exploration and analysis
├── .venv/ # Virtual environment
└── README.md # Project documentation
- Understand foundational data science concepts
- Learn data exploration and visualization techniques
- Practice working with pandas for data manipulation
- Apply machine learning algorithms from scikit-learn
- Develop skills in data analysis and interpretation
- Python 3.x - Programming language
- Pandas - Data manipulation and analysis
- NumPy - Numerical computing
- Scikit-learn - Machine learning algorithms
- Matplotlib - Data visualization
- Seaborn - Statistical data visualization
- Jupyter - Interactive computing environment
- OpenPyXL - Excel file handling
This project uses the Iris Dataset, one of the most famous datasets in machine learning:
- Features: Sepal length, sepal width, petal length, petal width
- Target Classes: 3 Iris species (Setosa, Versicolor, Virginica)
- Samples: 150 observations
- Use Cases: Classification, clustering, and exploratory data analysis
- Python 3.7+
- Git
- Clone the repository:
git clone https://github.com/bobby190805/machine-learning-for-gng.git
cd machine-learning-for-gng- Create a virtual environment:
python -m venv .venv-
Activate the virtual environment:
- Windows:
.venv\Scripts\activate
- macOS/Linux:
source .venv/bin/activate -
Install required dependencies:
pip install numpy matplotlib seaborn scikit-learn jupyter openpyxl pandasTo run the initial analysis:
python lab_01/one.pyTo use Jupyter Notebook for interactive analysis:
jupyter notebook- Loading data from CSV files
- Inspecting dataset shape and structure
- Viewing first and last rows
- Checking column names and data types
- Computing basic statistics (mean, etc.)
- Data Loading - Reading CSV files with pandas
- Data Inspection - Understanding structure and content
- Data Cleaning - Handling missing values and data types
- Exploratory Analysis - Statistical summaries and visualization
- Machine Learning - Classification and clustering (upcoming labs)
After completing this project, you will be able to:
- ✅ Load and explore datasets using pandas
- ✅ Use pandas methods for data inspection (.head(), .tail(), .info(), .dtypes, etc.)
- ✅ Visualize data using matplotlib and seaborn
- ✅ Perform basic statistical analysis
- ✅ Prepare data for machine learning models
- ✅ Apply classification algorithms to real datasets
- Pandas Documentation
- Scikit-learn Documentation
- Iris Dataset Information
- Matplotlib Guide
- Jupyter Notebook Docs
Contributions are welcome! Feel free to:
- Fork the repository
- Create a feature branch (
git checkout -b feature/YourFeature) - Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature/YourFeature) - Open a Pull Request
- Author: bobby190805
- Email: jiobobby12345@gmail.com
- GitHub: bobby190805
This project is open source and available under the MIT License.
- This is an educational project designed for learning machine learning fundamentals
- Suitable for beginners to intermediate level learners
- Each lab builds upon previous concepts
- Comments and documentation are provided for clarity
Happy Learning! 🚀 Start with lab_01/one.py and progress through the labs to build your machine learning skills.