Types of machine learning
1. Supervised learningSupervised learning is a machine learning approach where a model is trained using a set of labeled data. Each input in the dataset is associated with a known output, allowing the model to learn to predict outcomes for new inputs. This method is widely used in applications such as image classification, speech recognition and trend prediction, highlighting its importance in...: In a supervised learning model, the algorithm learns on a labeled data set to generate expected predictions for the solution to new data.
P.ej; For house price forecasting, first we need data on dwellings such as; square foot, no. of rooms, the house has a garden or not, and so on. So we need to know the prices of these houses, In other words; class labels. Now that the data comes from hundreds of houses, its characteristics and prices, we can now train a supervised machine learning model to predict the price of a new home based on past experiences of the model.
Supervised learning is of two types:
a) Classification: In Classification, un programa de computadora se entrena en un conjunto de datos de trainingTraining is a systematic process designed to improve skills, physical knowledge or abilities. It is applied in various areas, like sport, Education and professional development. An effective training program includes goal planning, regular practice and evaluation of progress. Adaptation to individual needs and motivation are key factors in achieving successful and sustainable results in any discipline.... Y, according to training, categorize data into different class labels. This algorithm is used to predict the discrete values as male | woman, true | fake, spam | no spam, etc.
P.ej; Spam detection, voice accreditation, cancer cell identification, etc.
Types of classification algorithms:
- Naive Bayes classifier
- Decision trees
- Logistic regression
- K-Nearest Neighbors
- Support vector machines
- Random forest classification
b) Regression: The task of the regression algorithm is to find the mapping function to map the input variables (x) to variableIn statistics and mathematics, a "variable" is a symbol that represents a value that can change or vary. There are different types of variables, and qualitative, that describe non-numerical characteristics, and quantitative, representing numerical quantities. Variables are fundamental in experiments and studies, since they allow the analysis of relationships and patterns between different elements, facilitating the understanding of complex phenomena.... de salida continua (Y). Regression algorithms are used to predict continuous values such as price, salary, age, grades, etc.
P.ej; Time prediction, house price prediction, fake news detection, etc.
Types of regression algorithms:
- Simple linear regression
- Multiple linear regression
- polynomial regression
- Decision tree regression
- Random forest regression
- Set method
2. Unsupervised learningUnsupervised learning is a machine learning technique that allows models to identify patterns and structures in data without predefined labels. Through algorithms such as k-means and principal component analysis, This approach is used in a variety of applications, such as customer segmentation, anomaly detection and data compression. Its ability to reveal hidden information makes it a valuable tool in the...: In an unsupervised learning model, the algorithm learns on an unlabeled data set and tries to make sense by extracting features, co-occurrence and underlying patterns alone.
P.ej; Anomaly detection, including fraud detection. Another example is the opening of emergency hospitals to areas with the highest risk of accidents.. The groupingThe "grouping" It is a concept that refers to the organization of elements or individuals into groups with common characteristics or objectives. This process is used in various disciplines, including psychology, Education and biology, to facilitate the analysis and understanding of behaviors or phenomena. In the educational field, for instance, Grouping can improve interaction and learning among students by encouraging work.. de K-medias agrupará estas ubicaciones de áreas propensas máximas en grupos y definirá un centro de grupo (In other words, hospital) for each group (In other words, accident prone areas).
Types of unsupervised learning:
- Grouping
- Anomaly detection
- Association
- Car coders
- Latent variable models
- Neural networks
3. Reinforcement learningReinforcement learning is an artificial intelligence technique that allows an agent to learn to make decisions by interacting with an environment. Through feedback in the form of rewards or punishments, The agent optimizes their behavior to maximize the accumulated rewards. This approach is used in a variety of applications, from video games to robotics and recommendation systems, standing out for his ability to learn complex strategies....: Reinforcement learning is a type of machine learning in which the model learns to behave in an environment by performing some actions and analyzing the reactions. RL takes the appropriate measures to maximize the positive solution in the particular situation. The reinforcement model decides what actions to take to perform a given task, that is why he is obliged to learn from experience itself.
P.ej; Let's take an example of a baby learning to walk. In the first case, when the baby starts to walk and reaches the chocolate given that chocolate is the baby's end goal and a baby's solution is positive given that he is happy. In the second case, when the baby starts to walk and while walking is hit by the chair and cannot get the chocolate, starts crying, which is a negative answer. In other words, how humans learn from trace and error. Here, the baby is the “agent”, chocolate is the “reward” and many obstacles in between. Now the agent tries in various ways and discovers the best feasible way to achieve the reward.
Machine learning life cycle
Machine learning helps increase task performance and productivity. Includes learning and self-correction when presented with new data.
The machine learning life cycle involves six main steps:
Paso 1: data collection
Identify multiple data sources like Kaggle and collect the required dataset
Paso 2: data pre-processing and EDA
In this step, we do an analysis of the data in search of missing values, duplicate data, invalid data using different analytical techniques. And also preprocess the data for feature extractions, feature analysis and data visualization.
Paso 3: model train
We use a data set to train the model using various machine learning algorithms. Training a model is essential for it to understand the various patterns, rules and characteristics.
Paso 4: test model
In this step, we verify the accuracy of our model by providing a test data set to the trained model.
Paso 5: Model implementation
Model implementation means integrating a machine learning model into an existing production environment that takes inputs and returns results to make data-driven business decisions. Several technologies that you can use to put your machine learning models into practice are listed.:
- Stowage
- Governors
- AWS SageMaker
- MLFlow
- Azure Machine Learning Service
Paso 6: Model monitoring
After model implementation, here comes model monitoring which monitors your machine learning models for factors like errors, failures and latency and, the most important, to ensure your model maintains the desired performance. Model monitoring is very important as your models will degrade over time due to various factors, as invisible data, changes in the environment and relationships between variables.
Some applications of machine learning in the real world
- Automatic language translation in Google Translate
- Faster route selection in the Google Map search engine
- Driverless car / autonomous
- Smartphone with facial accreditation
- Voice accreditation
- Ad recommendation system
- Netflix recommendation system
- Suggestion of automatic tagging of friends on Facebook
- Stock market negotiation
- Fraud detection
- Time prediction
- Medical diagnostic
- Chatbot
- Machine learning in agriculture
Benefits of machine learning
- Work automation
- Powerful predictive ability
- Increased sales in the e-commerce market.
- Benefits of AA in the medical domain to drive medical diagnosis and drug development
- Machine learning is used in robotic medical surgery
- ML in finance increases productivity improves revenue and provides secure transactions
- Model the data to make useful decisions
Summary
Machine learning can be used in almost every sector of human life to do our work efficient, robust, Y Without complications. As we know, everything has its pros and cons, machine learning also has its downsides, as an example, with the rise of machine learning, many people may lose their current stage job. But more in a bombastic tone is beneficial in the long run for humanity.
The media shown in this post is not the property of DataPeaker and is used at the author's discretion.