Skip to main content

Mathober2023_Regression

Regression in Clusters

Published 1 min readMarkdown
Part of seriesMathober2023
Mathober2023_Regression

RegMixing

For the 18th Prompt Of Mathober: Regression, RegMixing uses plotted dots in Python and shows their regression lines and how they intersect/correlate with each other.

Poem

What is the correlation?
Where is it in this equation?
Are the dots communicating?
Or is the confusion elevating

Video

Python Code

import matplotlib.pyplot as plt
from pylab import randn

import seaborn as sns


X = randn(350)
Y = randn(350)

sns.regplot(X, Y, ci=None, color = 'black')

plt.scatter(X,Y, color='orange')

No comments yet. Be the first to comment.