Difference between regression and classification

Regression and classification

Regression

Regression is used when predicting continuous data, such as stock price analysis. Mainly when dealing with numbers. For example, regression is to look at the tendency of the feature amount of the data (draw a line on the coordinates), give a concrete number (determine from the line), and make a prediction.

Classify

Unlike regression, classification is aimed at dividing (labeling) into given classes rather than giving specific numbers. For example, looking at the number of petals, it is called classification to divide into pre-given classes (here, pansies and dandelions), such as pansies when there are few petals and dandelions when there are many.

Comparison

The idea is that regression often considers time series and the passage of time (not necessarily that), whereas classification does not consider the passage of time in the first place. I have an image like that.

Put simply,

Regression → Forecast Classification → Labeling

I wonder if it feels like that.

Recommended Posts

Difference between regression and classification
Difference between linear regression, Ridge regression and Lasso regression
Difference between process and job
Difference between "categorical_crossentropy" and "sparse_categorical_crossentropy"
Difference between np.array and np.arange
Difference between MicroPython and CPython
Difference between ps a and ps -a
Difference between return and print-Python
Difference between Ruby and Python split
Difference between java and python (memo)
Difference between list () and [] in Python
Difference between SQLAlchemy filter () and filter_by ()
Difference between == and is in python
Memorandum (difference between csv.reader and csv.dictreader)
(Note) Difference between gateway and default gateway
Difference between Numpy randint and Random randint
Classification and regression in machine learning
Difference between sort and sorted (memorial)
Difference between python2 series and python3 series dict.keys ()
[Python] Difference between function and method
Difference between SQLAlchemy flush () and commit ()
Python --Difference between exec and eval
[Python] Difference between randrange () and randint ()
[Python] Difference between sorted and sorted (Colaboratory)
difference between statements (statements) and expressions (expressions) in Python
Memorandum about regression and binary classification metrics
[Django ORM] Difference between values () and only ()
Difference between PHP and Python finally and exit
Difference between @classmethod and @staticmethod in Python
Difference between append and + = in Python list
Difference between nonlocal and global in Python
[Python] Difference between class method and static method
Difference between docker-compose env_file and .env file
[Python Iroha] Difference between List and Tuple
[python] Difference between rand and randn output
speed difference between wsgi, Bottle and Flask
Difference between numpy.ndarray and list (dimension, size)
Difference between ls -l and cat command
Difference and compatibility verification between keras and tf.keras # 1
What is the difference between `pip` and` conda`?
Difference between using and import on shield language
[python] Difference between variables and self. Variables in class
About the difference between "==" and "is" in python
[Oracle ADS] How is regression and classification determined?
About the difference between PostgreSQL su and sudo
What is the difference between Unix and Linux?
Center difference and forward difference
Between parametric and nonparametric
Consideration of the difference between ROC curve and PR curve
The rough difference between Unicode and UTF-8 (and their friends)
Can BERT tell the difference between "candy (candy)" and "candy (rain)"?
Difference between Ruby and Python in terms of variables
What is the difference between usleep, nanosleep and clock_nanosleep?
Difference between Numpy (n,) and (n, 1) notation [Difference between horizontal vector and vertical vector]
Difference between return, return None, and no return description in Python
How to use argparse and the difference between optparse
What is the difference between a symbolic link and a hard link?
Correspondence between pandas and SQL
Conversion between unixtime and datetime
Python module num2words Difference in behavior between English and Russian
Python> Difference between inpbt and print (inpbt) output> [1. 2. 3.] / array ([1., 2., 3.], dtype = float32)