Member-only story

What is the difference between linear discriminant analysis and logistic regression?

Crystal X
5 min readApr 9, 2025

While studying multivariate statistics, I have learned that many of the functions to perform multivariate statistic computations can actually be found in Python’s machine learning library, sklearn.

The multivariate statistical functions that I am aware of that are methods in sklearn are:-

  • Principal component analysis,
  • Linear regression,
  • Logistic regression,
  • Canonical correlation analysis,
  • Factor analysis,
  • Kmeans clustering,
  • Hierarchical clustering, and
  • Linear discriminant analysis.

I am familiar with Python’s machine learning library, sklearn, because I began my journey into data science using the data science website, Kaggle. I studied machine learning before statistics, so I was familiar with some of these functions already.

Linear discriminant analysis

Linear discriminant analysis is a method that can be found in sklearn, but it is a function in multivariate statistics. One reason for this is because statistics has predated machine learning. Machine learning became a scientific endeavour in the 1950’s, while statistics…

--

--

Crystal X
Crystal X

Written by Crystal X

I have over five decades experience in the world of work, being in fast food, the military, business, non-profits, and the healthcare sector.

No responses yet