Tenser Flow
Using Programs with Data is focused on SQL and database actions. Part A focuses on SQLAlchemy and an OOP programming style.
import numpy as np
a = np.array([1, 2, 3, 4, 5, 6])
print(a)
b = np.reshape(
a, # the array to be reshaped
(2,3) # dimensions of the new array
)
print(b)
Data can then be manipulated using pandas to do all sorts of different things such as data cleaning, statistical analysis, and data visualization. Below is an example of data visualization in a table using pandas.
import pandas as pd
pd.__version__
classes = pd.Series(["Mathematics","Chemistry","Physics","History","Geography","German"])
grades = pd.Series([90,54,77,22,25])
pd.DataFrame({"Classes": classes, "Grades": grades})
What is TenserFlow?
Tensor Flow is a machine learning platform which has tools to validate and transform large datasets and also provides standard datasets for machine learning training.
An example of this is the fashion MNIST (Modified National Institute of Standards and Technology) database:
In this dataset there are many pictures which are each28x28 Numpy arrays.