- Year not given
Classification and prediction with stages
Short answer
Classification predicts discrete class labels (e.g., loan safe/risky) from labeled training data; prediction estimates continuous values. Stages: data preparation, model construction using a learning algorithm, model evaluation on a test set, and model usage to classify new data.
Define Classification and prediction with example. Explain different stages in Classification with clear block diagram.
Classification is a supervised learning task that predicts a discrete class label for an object using a model learnt from training data with known labels. Example: classifying a loan applicant as "safe" or "risky".
Prediction estimates a continuous or missing numeric value (regression). Example: predicting how much a customer will spend on a computer. (Some authors use "prediction" for both.)
Stages of classification
- Data preparation: clean the data, select relevant attributes, normalise and discretize, and divide the data into a training set and a test set.
- Model construction (learning step): a classification algorithm (decision tree, Naive Bayes, neural network) analyses the training tuples, whose class labels are given, and builds a model such as rules, a tree or a formula.
- Model evaluation: the model is applied to the independent test set, and accuracy = correctly classified/total is found. If it is not acceptable, the model is rebuilt with other parameters or algorithms.
- Model usage (classification step): the accepted model classifies new unseen tuples.
Training data --> [Learning algorithm] --> Model
|
Test data ------> [Evaluate accuracy] <-----+
| acceptable?
New data ------> [Use the model] ---> predicted class
Example: Training tuples (name, rank, years, tenured) are used to build the rule IF rank = professor OR years > 6 THEN tenured = yes. After the test accuracy is found, the rule classifies the new tuple (Jeff, professor, 4).
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Edge triggered D flip-flop with preset, clear · Basic Electronics Engineering, chapter 6
- Frequency counter operation with block diagram · Digital Logic, chapter 11 · asked 14×
- Block diagram of digital communication system · Data Communication, chapter 1 · asked 8×
- Communication system and block diagram · Basic Electronics Engineering, chapter 5 · asked 7×