Skip to content

Commit

Permalink
Added histogram and scatter matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
arkogupta committed Jul 25, 2017
1 parent 31e7ec0 commit 87bcd1c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Binary file added Histogram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions Iris_Classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@


#dataset.head(k) ->prints first k training examples
print(dataset.head(20))
#print(dataset.head(20))


# #detailed description of dataset
# print(dataset.describe())


# class distribution
print(dataset.groupby('class').size())
print(dataset.groupby('class').size())


# histograms
Expand Down Expand Up @@ -59,7 +59,7 @@


#evaluate each model in turn
results = []
''' results = []
names = []
for name, model in models:
kfold = model_selection.KFold(n_splits=10, random_state=seed)
Expand All @@ -69,8 +69,10 @@
msg = "%s: %f (%f)" % (name, cv_results.mean(), cv_results.std())
print(msg)

'''
# Make predictions on validation dataset


lr = LogisticRegression()
lr.fit(X_train,Y_train);
predictions = lr.predict(X_validation)
Expand Down
Binary file added Scatter_Matrix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 87bcd1c

Please sign in to comment.