Machine learning is a field of artificial intelligence that allows computers to learn without being explicitly programmed. It involves computers learning from large amounts of data to recognize patterns and make predictions. Specifically, machine learning is a branch of artificial intelligence that uses statistical techniques to give computer systems the ability to "learn" with data, without being explicitly programmed. Deep learning is a subset of machine learning that allows systems to learn complex patterns from large datasets. This document provides examples of machine learning techniques like regression, classification, clustering, and their uses. It also discusses Python libraries commonly used for machine learning like NumPy, SciPy, Matplotlib, and Scikit-Learn.
Machine learning is a field of artificial intelligence that allows computers to learn without being explicitly programmed. It involves computers learning from large amounts of data to recognize patterns and make predictions. Specifically, machine learning is a branch of artificial intelligence that uses statistical techniques to give computer systems the ability to "learn" with data, without being explicitly programmed. Deep learning is a subset of machine learning that allows systems to learn complex patterns from large datasets. This document provides examples of machine learning techniques like regression, classification, clustering, and their uses. It also discusses Python libraries commonly used for machine learning like NumPy, SciPy, Matplotlib, and Scikit-Learn.
• Field of study that gives computers the ability to learn without
being explicitly programmed ~ Arthur Samuel • A computer program is said to learn from experience E w.r.t some class of tasks T and performance measure P , if it’s performance at tasks in T , as measured by P , improves with experience E . • Example :- playing checkers • E = The experience of playing many games of checkers. • T = The task of playing checkers. • P = The probability that the program will win the next game. •AI (Artificial Intelligence) tries to make computers intelligent in order to mimic the cognitive functions of humans .It’s a general field with broad scope including: Computer vision , Language Processing , Creativity , and Summarization. •ML is the branch of AI that covers the statistical part of artificial intelligence. It teaches the computer to solve problems by looking at hundreds or thousands of examples. •Deep learning is a very special field of ML where computers can actually learn and make intelligent decisions on their own , it involves a deeper level of automation. •Data science is the science of extracting knowledge and insights of data, the output often is a slide deck that summarizes conclusions. •For example :- To differentiate between whether a patient is at risk of developing a benign or malignant tumor ,you need to obtain a dataset containing characteristics of thousand of human cell samples extracted from patients. We can use the values of these cell characteristics in samples from other patients to give an early indication of whether a new sample might be benign or malignant. •After this comes the cleaning of data , selecting a proper algorithm for building a prediction model , and training the model to understand patterns of benign or malignant cells within the data. •Once the model has been trained by going through data iteratively , it can be used to predict your new or unknown cell with a rather high accuracy . •Regression/Estimation : It’s used for predicting a continuous value . •Classification Technique: It’s used for predicting the class or category of a case. •Clustering : Finding the structure of data ; summarization. •Association Technique : It’s used for finding items and events that often co- occur. •Anomaly Detection : Is used to discover abnormal and unusual cases. •Sequence Mining : Is used for predicting the next event . •Dimension Reduction : Is used to reduce the size of data. •Recommendation systems : This associates people’s preferences with others who have similar tastes, and recommends new items to them . Python For Machine Learning : •NumPy is a math library to work with N – dimensional arrays in python .It enables you to do computation efficiently and effectively . •SciPy is a collection of numerical algorithms and domain specific toolboxes, including signal processing , optimization , statistics and much more. SciPy is a good library for scientific and high performance computation. •Matplotlib is a very popular plotting package that provides 2D plotting , as well as 3D plotting . •Scikit Learn is a free Machine learning library for the python programming language. It has most of thr classification, regression and clustering algorithms. Whenever you submit details about your email or contact number on any platform, it has become easy for those platforms to market their products by advertising them by sending email or by advertising them by sending messages directly to your contact number. This results in lot of spam alerts and notification in your inbox. This is where the task of spam detection comes in. •Spam detection means detecting spam messages or emails by understanding text context so that you can only receive notifications about messages or emails that are very important to you . •Start this task by importing the necessary python libraries and the dataset you need for this task. •From the dataset , class and messages are the only features we need to train a machine learning model for spam detection . • Then splitting the dataset into training and test sets and train the model to detect spam messages. •Test this model by taking a user input as a message to detect whether it is spam or not: •Enter a message : you won $50 cash price •[‘ spam’] . So this is how you can train a machine learning model for the task of detecting whether an email or a message is spam or not. A spam detector detects spam messages or emails by understanding text context so that you can only receive notification about messages or emails that are very important to you .