Clone and run the repository with:
git clone https://github.com/engagepy/machine-learning-basics.git
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
python3 <filename>.py
Each file is a lesson covering a specific ML topic:
>centered_data = data - mean
standardized_data = (data - mean)/std_dev
sklearn.preprocessing import StandardScaler
spent_normalized = (spent - min_spent)/(max_spent - min_spent)
from sklearn.preprocessing import MinMaxScaler
pd.cut(ages, age_bins, right=False)
Machine Learning (ML) is a subset of artificial intelligence focused on developing systems that learn and improve from experience without being explicitly programmed. It's similar to data mining in that both search for patterns in data, but ML uses that data to adjust program actions automatically.
Trained using labeled datasets. The algorithm learns the relationship between input and output.
Works with unlabeled data to find hidden patterns or intrinsic structures.
Agents learn by interacting with their environment and receiving rewards for positive outcomes.
Machine learning powers various applications, from recommendation systems to self-driving cars. Understanding the different types of learning models and algorithms is crucial in leveraging ML effectively. This repository aims to provide a comprehensive introduction to machine learning basics for beginners.