Linear regression with TensorFlow

November 26, 2019 admin 0

Part one: Numpy method In [1]: import pandas as pd import tensorflow as tf import itertools   Source of data: https://archive.ics.uci.edu/ml/datasets/combined+cycle+power+plant   Combined Cycle Power […]

Perfect Plots: Bubble Plot

November 7, 2019 admin 0

In [1]: import pandas as pd import matplotlib.pyplot as plt import numpy as np Autos Source of data: https://datahub.io/machine-learning/autos In [2]: df2= pd.read_csv(‘c:/1/autos.csv’) df2.head() Out[2]: Unnamed: […]

Perfect Plots: Subplots

November 5, 2019 admin 0

In [1]: import pandas as pd import matplotlib.pyplot as plt import numpy as np Economics In [2]: df=pd.read_csv(‘c:/1/economics.txt’) df.head() Out[2]: date pce pop psavert uempmed unemploy […]

Perfect Plots: Individuals Control Chart I-MR

November 5, 2019 admin 0

Energy Source of data: https://github.com/pyviz/holoviews/blob/master/examples/assets/energy.csv In [1]: import pandas as pd import matplotlib.pyplot as plt import numpy as np In [2]: df=pd.read_csv(‘c:/2/Energy.csv’) df.head() Out[2]: Unnamed: 0 Date […]

Perfect Plots: Bar plots

November 5, 2019 admin 0

In [1]: import pandas as pd import matplotlib.pyplot as plt import numpy as np import matplotlib.patches as mpatches Car statistics In [2]: # Prepare Data df = […]

Perfect Plots: Combiplot

November 5, 2019 admin 0

Global market sales Source of data: https://github.com/vkrit/data-science-class/blob/master/WA_Fn-UseC_-Sales-Win-Loss.csv In [1]: import pandas as pd import matplotlib.pyplot as plt import numpy as np import seaborn as sns df […]