- This repository contains the code written in Python's TensorFlow library for Linear Regression Analysis over a miniscule dummy dataset. It was written during the process of learning the TensorFlow library from scratch.
- Python3
- Numpy
- TensorFlow
- MatPlotLib
- Pandas
- Find the dataset here.
- You can also find the dataset in the
Dataset
directory within this repository.
- Name: Fire and Theft in Chicago
- X = fires per 1000 housing units
- Y = thefts per 1000 population within the same Zip code in the Chicago metro area
- Total number of Zip code areas: 42
- Type in
python3 Regres.py
in the terminal to run the code.
- Once you have run the code on your machine, type in
tensorboard --logdir="<path_to_summaries>"
in your terminal.<path_to_summaries>
=./batch_training_linear
if you chose the Batch Training mode.<path_to_summaries>
=./online_training_linear
if you chose the Online Training mode.