In [25]:
import linreg
import pandas as pd
In [13]:
linreg.lab_experiments()
In [14]:
linreg.linreg_example()
In [15]:
linreg.make_data_points()
Out[15]:
In [16]:
linreg.lab_experiments()
In [17]:
linreg.lab_experiments(1000,2003)
In [18]:
x,y = linreg.make_data_points()
linreg.make_single_plot(x,y,'Force','Acceleration','Lab Experiment')
Out[18]:
In [19]:
linreg.lab_experiment()
Out[19]:
In [20]:
import pandas as pd
#loansDataRaw = pd.read_csv('https://spark-public.s3.amazonaws.com/dataanalysis/loansData.csv')
loansmin = pd.read_csv('../datasets/loanf.csv')
In [21]:
loansmin.head()
Out[21]:
In [39]:
a = pd.scatter_matrix(loansmin,alpha=0.6,figsize=(9,9), diagonal='kde')
In [38]:
a = pd.scatter_matrix(loansmin,alpha=0.05,figsize=(9,9), diagonal='kde')
In [45]:
In [ ]: