ai with python machine learning learning means the acquisition of knowledge or skills through study or experience based on thiswe can define machine learning (mlas followsit may be defined as the field of computer sciencemore specifically an application of artificial intelligencewhich provides computer systems the ability to learn with data and improve from experience without being explicitly programmed basicallythe main focus of machine learning is to allow the computers learn automatically without human intervention now the question arises that how such learning can be started and doneit can be started with the observations of data the data can be some examplesinstruction or some direct experiences too then on the basis of this inputmachine makes better decision by looking for some patterns in data types of machine learning (mlmachine learning algorithms helps computer system learn without being explicitly programmed these algorithms are categorized into supervised or unsupervised let us now see few algorithmssupervised machine learning algorithms this is the most commonly used machine learning algorithm it is called supervised because the process of algorithm learning from the training dataset can be thought of as teacher supervising the learning process in this kind of ml algorithmthe possible outcomes are already known and training data is also labeled with correct answers it can be understood as followssuppose we have input variables and an output variable and we applied an algorithm to learn the mapping function from the input to output such asy= (xnowthe main goal is to approximate the mapping function so well that when we have new input data ( )we can predict the output variable (yfor that data mainly supervised leaning problems can be divided into the following two kinds of problemsclassificationa problem is called classification problem when we have the categorized output such as "black""teaching""non-teaching"etc regressiona problem is called regression problem when we have the real value output such as "distance""kilogram"etc decision treerandom forestknnlogistic regression are the examples of supervised machine learning algorithms