Previously we derived a simple linear regression modal for our Pizza price dataset. We built a modal that predicted a price of $13.68 for a 12 inch pizza. When the same modal is used to predict the price of an 8 inch pizza, we get $9.78 which is around $0.78 more than the known price of $9. …
Month: May 2018
Simple linear regression is a statistical method you can use to study relationships between two continuous (quantitative) variables: independent variable (x) – also referred to as predictor or explanatory variable dependant variable (y) – also referred to as response or outcome The goal of any regression model is to predict the value of y (dependant variable) based on the …
I am using Python’s Pillow library for image creation.You can even install it using pip. $ pip install Pillow You can get the detailed installation instructions here. Instagram’s default post size is 612px 612px so first let me create a 612px square white box. from PIL import Image, ImageDraw #variables for image size x1 = …