What is prediction? How it differ form classification? Explain with suitable example.
PREDICTION
Prediction is also known as numeric prediction is similar to classification. Therefore, it also involves the two steps. They are:
a) Construct a model
b) Use a model to predict a continuous value for a given input
However, Prediction is different from classification. Classification refers to predicting categorical class labels whereas, Prediction models continuous-valued functions. For example, the numeric prediction would be used to predict a house's value based on its location, square feet, price when last sold, the price of similar houses, and other factors. Classification would be used if you wanted to instead organize houses into categories, such as walkability, lot size, or crime rates. A major method for prediction is regression. The regression models the relationship between one or more independent or predictor variables and a dependent or response variable.
Comments
Post a Comment