Logistic Regression with Tensorflow

0. Import the required libraries:

We will start with importing the required Python libraries.

In [1]:
# Numerical computing
import numpy as np
import tensorflow as tf

# Spliting data into train and test
from sklearn.model_selection import train_test_split

# Visualization
from matplotlib import pyplot as plt
import matplotlib.cm as cm
%matplotlib inline

import seaborn as sns
sns.set(style="darkgrid")