Posts

Showing posts from July, 2024

Machine Learning

ML: Intro to Machine Learning ML enables computers to learn without explicit programming ML vs Classical Programming Software Engineer Define rules and based on rules decide a mail is spam or not Challenges Rigid Lot of hard coding Machine Learning We want the computer to learn the patterns for us Create algorithm using training/sample data to algorithm Idea is that the algorithm will identify the patterns It will create a mechanism (hypothesis) When a new email is given to algorithm it will identify spam/non-spam Basic ML pipeline Input: Training data(Text, Numerical) Which algorithm to use Trained model as output(also called hypothesis) What is machine Learning A computer program is said to learn from experience E with respect to some class of tasks T and performance measure P, if its performance at tasks in T, as measured by P, improves with experience E. E: Experience -> Training Data T: Task -> eg: classify email as spam or not P: Performance -> Quantitative measure of ho...