Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aishik rakshit 190122002 w05 #346

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
526 changes: 526 additions & 0 deletions AishikRakshit_190122002_W03.ipynb

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions Phase 3 - 2020 (Summer)/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Aishik Rakshit
190122002
CST
https://github.com/Aishik13012002


# IITG.ai

- Resources include course/blog/tutorial/research paper links as well as details regarding graded assignments as well as prospective project ideas.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
RESULT



THE two features that describe the two labels perfectly are feature 3 and 8

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# -*- coding: utf-8 -*-
"""
Created on Fri Apr 3 14:54:41 2020

@author: LENOVO
"""

# -*- coding: utf-8 -*-
"""
Created on Thu Apr 2 19:13:26 2020

@author: LENOVO
"""

import numpy as np
import pandas as pd
from matplotlib import pyplot as plt
plt.style.use('ggplot')


ds = pd.read_csv(r"C:\Users\LENOVO\Desktop\data.csv", delimiter='\t')
ds1=ds.loc[ds['Label']==1]
ds2=ds.loc[ds['Label']==2]


plt.rcParams['figure.figsize']=(30,30)
fig, axes=plt.subplots(10,10)




for i in range(1,11):
for j in range(1,11):
if(i!=j):
x=str(i)
y=str(j)
ds1=ds.loc[ds['Label']==1].sort_values(by=x)
ds2=ds.loc[ds['Label']==2].sort_values(by=x)
x_c1=ds1[[x]]
y_c1=ds1[[y]]
x_c2=ds2[[x]]
y_c2=ds2[[y]]
axes[i-1][j-1].plot(x_c1,y_c1,'r',label='1')
axes[i-1][j-1].plot(x_c2,y_c2,'b',label='2')
axes[i-1][j-1].set_xlabel(x)
axes[i-1][j-1].set_ylabel(y)


fig.tight_layout(pad=2.0)
plt.show()
Loading