Subject ▸ Linear Model

Linear Model using Python

Python Basics Variables and Data Types Variable Assignment Calculations With Variables Types and Type Conversion Logical Operators Comparison If-Else Function Help Simple Linear Regression Multiple Linear Regression Polynomial Regression Regression with Dummy Variables Example 1 Example 2 Example 3 Regression with same slopes and different intercepts Regression with different slopes and different intercepts Python Basics Variables and Data Types Variable Assignment x = 5 x # dir(x) 5 Calculations With Variables x + 2 # Sum of two variables 7 x - 2 # Subtraction of two variables 3 x*2 # Multiplication of two variables 10 x**2 # Exponentiation of a variable 25 x%2 # Remainder of a variable 1 x/float(2) # Division of a variable 2.

Read Moreā€¦