What is the difference between machine learning model and ML algorithm?
-
I have often come across texts/lectures where it is used interchangeably. But at some places, usually in the introductory lectures, it says that the learning algorithm gives the model as its output. So when we say, for example, linear regression model and linear regression algorithm, are both the terms same? How do we interpret both the terms? I have just started studying machine learning using online courses and texts, hence this basic doubt.
-
Answer:
I think the first Lecture of the MOOC Learning from Data clarifies this. See http://work.caltech.edu/lectures.html. Taken from slide 9 of the first lecture: The 2 solution components of the learning problem: The Hypothesis Set The Learning Algorithm Together, they are referred to as the learning model.
Sebastian Cadena at Quora Visit the source
Other answers
I will answer this with an example. Linear regression algorithm is a technique to fit points to a line y = m x+c. Now after fitting, you get for example, y = 10 x + 4. This a model. A model is something to which when you give an input, gives an output. In ML, any 'object' created after training from an ML algorithm is a model. For example, SVM model, Random forests model, etc.
Prashanth Ravindran
The âML modelâ is the output generated when you train your âmachine learning algorithmâ with your training data-set.For example, if I train my Decision Tree algorithm with a structured training data-set for say, anomaly detection in a network to identify malicious packets, it will generate a model which would take in an input, preferably in real time, and generate a result set corresponding to each packet. The training set would include normal and malicious packets. Each packetâs information (in this case, packet size, protocol, duration and so on) needs to be resolved as per the choice of features (or attributes) and algorithm.The important thing is that the model generated has to take in a predefined input structure.Example: 1, 23, 454, 55, 7It cannot take in an input like: 5, 67, 89The number of features for your test data to be fed into your ML model has to be equal to the number of features used during training, in case of supervised learning.The ML model can also be dynamic, in the sense that it can train itself on the fly upon encountering new data. This can be explained in the case of K-means clustering algorithm. After creation of the initial model, the data would be classified into clusters and any new encounters would make the boundaries of separation clearer, thus improving the modelâs ability for classification (using laymanâs terms here).
Konstantin Zolnerowich
I don't think there is any real difference. But if I had to pick then I'd say the model is what it is after learning and the algorithm is the method of learning. For example, after training with lots of rgb values using the SVM algorithm we have created a new skin model.
Bhaskar Bhattacharya
Related Q & A:
- What do you think about educational learning games?Best solution by Yahoo! Answers
- What was a flaw in the Copernican model?Best solution by Yahoo! Answers
- What's the difference between Current (I) and Potential Difference (V?Best solution by diffen.com
- What does it mean to be unresponsive? What's the difference between unresponsive and unconscious?Best solution by answers.yahoo.com
- What is a business, revenue, and advertising model?Best solution by Quora
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.