Linear Regression
import numpy as np
import seaborn
import matplotlib.pyplot as plt
# Define the input data
x_ = np.arange(100, step=0.1)
y_ = x_ + (20 * np.sin(x_/10))
# Plot input data
plt.scatter(x_, y_)
plt.show()
import numpy as np
import seaborn
import matplotlib.pyplot as plt
# Define the input data
x_ = np.arange(100, step=0.1)
y_ = x_ + (20 * np.sin(x_/10))
# Plot input data
plt.scatter(x_, y_)
plt.show()