Data Science, Machine Learning, Linear Models, Regression, Python.
Units Sold') plt.show() Density Plot of Units Sold Using the plot above, we can see our number of units sold falls roughly along a Poisson distribution. With a lambda or mean value of about 1. Structuring the Input Data X = np.column_stack([price, measurement, weight]) y = units_sold.reshape(-1, 1)