/Linear-regression-tf

Building a linear regression model using tensorflow

Primary LanguageJupyter Notebook

Linear-regression-tf

Building a linear regression model using tensorflow

Description

Linear Regression - Linear regression attempts to model the relationship between two variables by fitting a linear equation to observed data. One variable is considered to be an explanatory variable, and the other is considered to be a dependent variable. http://www.stat.yale.edu/Courses/1997-98/101/linreg.htm#:~:text=Linear%20regression%20attempts%20to%20model,to%20be%20a%20dependent%20variable.

For this model I have used the titanic dataset available as an introductory datasets. I used the estimator module in-built in tensorflow to make this model.

Resources

  1. “Tf.feature_column.categorical_column_with_vocabulary_list.” TensorFlow, www.tensorflow.org/api_docs/python/tf/feature_column/categorical_column_with_vocabulary_list?version=stable.
  2. “Build a Linear Model with Estimators  :   TensorFlow Core.” TensorFlow, www.tensorflow.org/tutorials/estimator/linear.