A linear regression refresher (Model KP!!!) #9
Replies: 2 comments 1 reply
-
Here is the code to generate the dataset import numpy as np Generating points for "K"k_x = [] Vertical line of "K"k_x.extend([-6] * 60) Diagonal lines of "K"k_x.extend(np.linspace(-6, -2, 60)) Generating points for "P"p_x = [] Vertical line of "P"p_x.extend([-1] * 60) Semicircular top part of "P" (left-right inverted)theta = np.linspace(np.pi/2, 3*np.pi/2, 60) Plotting the pointsplt.figure(figsize=(8, 6)) |
Beta Was this translation helpful? Give feedback.
-
few more ideas : |
Beta Was this translation helpful? Give feedback.
-
Please try to use linear regression,to get the best fit curve!!!
Here are few ideas to work on
Here are 13 ideas that are intuitively and logically challenging but avoid overly complex concepts, focusing more on applying linear regression in creative and thought-provoking ways:
Beta Was this translation helpful? Give feedback.
All reactions