Prediction target and Features in Machine Learning

Search for a command to run...

No comments yet. Be the first to comment.
India at the Crossroads of Global Power Plays

Key Insights and Takeaways from "Designing Data-Intensive Applications" Book

Master the design of scalable distributed systems capable of handling high traffic

15 Techniques to refine code

What is Git and Github? Git is a distributed version control system that is used to track the changes (different versions of the software) made by many different people (distributed) to the repository (where the software is stored) of the software. I...

It represents the output of an ML model.
For example, In a supervised learning algorithm, if you are developing a model for predicting house prices then your dataset will have a āPriceā column, so this column will be your prediction target.⢠Only one column can be the prediction target.
Represented as āyā.
It can be accessed with a dot notation approach as follows.y = my_dataset.Price
Features are nothing but the inputs that are provided to a model.
The feature can be any number of columns from the dataset, except for the prediction target.
Based on the selected input columns (features) the output will be predicted by the model.
Represented as āXā as follows.
features = [āTotalRoomsā, āFloorsā, āLandsizeā]X = my_dataset[melbourne_features]]