Professional Documents
Culture Documents
Heart: Our "Goal" Predict The Presence of Heart Disease in The Patient
Heart: Our "Goal" Predict The Presence of Heart Disease in The Patient
Heart
In [1]:
# impots
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import itertools
%matplotlib inline
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5gj… 1/73
7/27/2021 __notebook__
In [2]:
df = pd.read_csv('../input/heart.csv')
df.head(10)
Out[2]:
age sex cp trestbps chol fbs restecg thalach exang oldpeak slope ca thal
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5gj… 2/73
7/27/2021 __notebook__
In [3]:
df.info()
<class 'pandas.core.frame.DataFrame'>
we can see that we have a small 303 rows data set. our data has no nulls and no other chars to represent
it.
all our data is numeric - therefore, no enumeration needed.
In [4]:
healthy = df[(df['target'] ==0) ].count()[1]
print ("num of pepole with chance for heart deacise: "+ str(sick))
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5gj… 3/73
7/27/2021 __notebook__
In [5]:
# we will nurmaize the data and split it to test and train.
# we choose to splite 30-70 because we have a small data set and we want to
have enught validetionn examples.
X = df.iloc[:,0:13].values
y = df.iloc[:,13].values
X_std = StandardScaler().fit_transform(X)
dfNorm['target'] = df['target']
dfNorm.head(10)
X = dfNorm.iloc[:,0:13].values
y = dfNorm.iloc[:,13].values
In [6]:
from sklearn.model_selection import train_test_split
X, y, test_size=0.3, random_state=0)
Out[6]:
((212, 13), (212,), (91, 13), (91,))
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5gj… 4/73
7/27/2021 __notebook__
In [7]:
# # calculate the correlation matrix
corr = dfNorm.corr()
fig = plt.figure(figsize=(5,4))
sns.heatmap(corr,
xticklabels=corr.columns,
yticklabels=corr.columns,
linewidths=.75)
Out[7]:
<matplotlib.axes._subplots.AxesSubplot at 0x7efce368c710>
helping functions:
In [8]:
from mlxtend.feature_selection import SequentialFeatureSelector as SFS
def sfs_features(algo_namem,features_nums):
sfs_name=SFS(algo_namem,
k_features=features_nums,
forward=True,
floating=False,
scoring='accuracy',
cv=5)
return sfs_name
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5gj… 5/73
7/27/2021 __notebook__
In [9]:
results_test = {}
results_train = {}
list_algos=[]
In [10]:
def prdict_date(algo_name,X_train,y_train,X_test,y_test,atype='',verbose=
0):
algo_name.fit(X_train, y_train)
Y_pred = algo_name.predict(X_test)
results_test[str(algo_name)[0:str(algo_name).find('(')]+'_'+str(atype
)] = acc_val
results_train[str(algo_name)[0:str(algo_name).find('(')]+'_'+str(atyp
e)] = acc_train
list_algos.append(str(algo_name)[0:str(algo_name).find('(')])
if verbose ==0:
else:
return Y_pred
In [11]:
def print_fitures(sfs_name='sfs1',verbose=0):
a= (sfs_name.k_feature_idx_[0],sfs_name.k_feature_idx_[1],sfs_name.k_
feature_idx_[2])
if verbose ==0:
print (df.iloc[:,sfs_name.k_feature_idx_[i]].name)
return a
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5gj… 6/73
7/27/2021 __notebook__
In [12]:
from sklearn.metrics import roc_curve, auc
def roc_graph_cv(algo_name,X,y,cvn=5):
cv = StratifiedKFold(n_splits=cvn)
classifier =algo_name
tprs = []
aucs = []
i = 0
tprs[-1][0] = 0.0
aucs.append(roc_auc)
plt.plot(fpr, tpr, lw=1, alpha=0.3,
i += 1
label='Luck', alpha=.8)
mean_tpr[-1] = 1.0
std_auc = np.std(aucs)
lw=2, alpha=.8)
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5gj… 7/73
7/27/2021 __notebook__
plt.xlim([-0.05, 1.05])
plt.ylim([-0.05, 1.05])
plt.legend(loc="lower right")
plt.show()
In [13]:
### helping function
y_pred = algo_name.predict(X_test)
plt.ylabel('True class')
plt.xlabel('Predicted class')
plt.title(str(algo_name)[0:str(algo_name).find('(')])
PCA
Principal component analysis (PCA) is a technique used to emphasize variation and bring out
strong patterns in a dataset.
we use it first make data easy to explore and visualize.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5gj… 8/73
7/27/2021 __notebook__
In [14]:
from sklearn.decomposition import PCA
pca = PCA(n_components=2)
principalComponents = pca.fit_transform(X)
ax = fig.add_subplot(1,1,1)
targets = [1,0]
, s = 50)
ax.legend(targets)
ax.grid()
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5gj… 9/73
7/27/2021 __notebook__
In [15]:
### LDA
lda = LinearDiscriminantAnalysis()
prdict_date(lda,X_train,y_train,X_test,y_test)
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 10/73
7/27/2021 __notebook__
In [16]:
#predictusing sfs:
sfs_1=sfs_features(lda,(1,5))
sfs_1 = sfs_1.fit(X, y)
selectedFeatures = print_fitures(sfs_1)
#plot3D(sfs_1.k_feature_idx_[0],sfs_1.k_feature_idx_[1],sfs_1.k_feature_idx
_[2],'knn')
X_train_sfs = sfs_1.transform(X_train)
X_test_sfs = sfs_1.transform(X_test)
print ('\n')
prdict_date(lda,X_train_sfs,y_train,X_test_sfs,y_test,'sfs')
cp
thalach
oldpeak
ca
thal
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 11/73
7/27/2021 __notebook__
In [17]:
print(classification_report(y_test, lda.predict(X_test_sfs)))
conf(lda,X_test_sfs, y_test)
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 12/73
7/27/2021 __notebook__
In [18]:
roc_graph_cv(lda,X[:,selectedFeatures],y)
In [19]:
### RANDOM FOREST
prdict_date(random_forest,X_train,y_train,X_test,y_test)
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 13/73
7/27/2021 __notebook__
In [20]:
feature_importance = random_forest.feature_importances_
feat_importances = feat_importances.nlargest(13)
feature = df.columns.values.tolist()[0:-1]
importance = sorted(random_forest.feature_importances_.tolist())
plt.ylabel("feature")
plt.xlabel("importance")
plt.title("feature_importances")
plt.yticks(x_pos, feature)
plt.show()
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 14/73
7/27/2021 __notebook__
In [21]:
#taking the best 5 features give as smaller result.
currlist =[2,12,10,9,11]
# print (currlist)
prdict_date(random_forest,X_train[:,currlist],y_train,X_test[:,currlist],
y_test,'FS')
In [22]:
sfs_1=sfs_features(random_forest,(1,5))
sfs_1 = sfs_1.fit(X, y)
selectedFeatures = print_fitures(sfs_1)
X_train_sfs = sfs_1.transform(X_train)
X_test_sfs = sfs_1.transform(X_test)
print ("\n")
prdict_date(random_forest,X_train_sfs,y_train,X_test_sfs,y_test,'sfs')
cp
ca
thal
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 15/73
7/27/2021 __notebook__
In [23]:
print(classification_report(y_test, random_forest.predict(X_test_sfs)))
conf(random_forest,X_test_sfs, y_test)
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 16/73
7/27/2021 __notebook__
In [24]:
roc_graph_cv(random_forest,X[:,selectedFeatures],y)
In [25]:
### DECISION TREE
# descion tree
dect = tree.DecisionTreeClassifier()
prdict_date(dect,X_train,y_train,X_test,y_test)
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 17/73
7/27/2021 __notebook__
In [26]:
sfs_1=sfs_features(dect,(1,5))
sfs_1 = sfs_1.fit(X, y)
selectedFeatures = print_fitures(sfs_1)
X_train_sfs = sfs_1.transform(X_train)
X_test_sfs = sfs_1.transform(X_test)
prdict_date(dect,X_train_sfs,y_train,X_test_sfs,y_test,'sfs')
exang
ca
thal
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 18/73
7/27/2021 __notebook__
In [27]:
print(classification_report(y_test, dect.predict(X_test_sfs)))
conf(dect,X_test_sfs, y_test)
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 19/73
7/27/2021 __notebook__
In [28]:
roc_graph_cv(dect,X[:,selectedFeatures],y)
In [29]:
# Gradient Boosting
prdict_date(gbc,X_train,y_train,X_test,y_test)
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 20/73
7/27/2021 __notebook__
In [30]:
sfs_1=sfs_features(gbc,(1,5))
sfs_1 = sfs_1.fit(X, y)
selectedFeatures = print_fitures(sfs_1)
X_train_sfs = sfs_1.transform(X_train)
X_test_sfs = sfs_1.transform(X_test)
print ("\n")
prdict_date(gbc,X_train_sfs,y_train,X_test_sfs,y_test,'sfs')
exang
ca
thal
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 21/73
7/27/2021 __notebook__
In [31]:
print(classification_report(y_test, gbc.predict(X_test_sfs)))
conf(gbc,X_test_sfs, y_test)
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 22/73
7/27/2021 __notebook__
In [32]:
roc_graph_cv(gbc,X[:,selectedFeatures],y)
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 23/73
7/27/2021 __notebook__
In [33]:
#### KNN
##to choose the right K we build a loop witch examen all the posible values
for K.
#Neighbors
cv_scores = []
for k in neighbors:
k_value = k+1
cv_scores.append(scores.mean()*100)
optimal_k = neighbors[cv_scores.index(max(cv_scores))]
plt.plot(neighbors, cv_scores)
plt.ylabel('Train Accuracy')
plt.show()
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 24/73
7/27/2021 __notebook__
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 25/73
7/27/2021 __notebook__
In [34]:
cv_preds = []
seed=123
for k in neighbors:
k_value = k+1
cv_preds.append(metrics.accuracy_score(y_test, preds)*100)
optimal_k = neighbors[cv_preds.index(max(cv_preds))]
plt.plot(neighbors, cv_preds)
plt.ylabel('Test Accuracy')
plt.show()
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 26/73
7/27/2021 __notebook__
In [35]:
# KNN
knn = KNeighborsClassifier(n_neighbors = 6)
prdict_date(knn,X_train,y_train,X_test,y_test)
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 27/73
7/27/2021 __notebook__
In [36]:
sfs_1=sfs_features(knn,(1,5))
sfs_1 = sfs_1.fit(X, y)
selectedFeatures = print_fitures(sfs_1)
X_train_sfs = sfs_1.transform(X_train)
X_test_sfs = sfs_1.transform(X_test)
prdict_date(knn,X_train_sfs,y_train,X_test_sfs,y_test,'sfs')
print(classification_report(y_test, knn.predict(X_test_sfs)))
conf(knn,X_test_sfs, y_test)
cp
restecg
slope
ca
thal
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 28/73
7/27/2021 __notebook__
In [37]:
roc_graph_cv(knn,X[:,selectedFeatures],y)
In [38]:
### SVM
# SVM
prdict_date(svm,X_train,y_train,X_test,y_test,'linear')
In [39]:
# SVM
prdict_date(svm,X_train,y_train,X_test,y_test,'poly')
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 29/73
7/27/2021 __notebook__
In [40]:
# SVM
prdict_date(svm,X_train,y_train,X_test,y_test,'rbf')
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 30/73
7/27/2021 __notebook__
In [41]:
sfs_1=sfs_features(svm,(1,5))
sfs_1 = sfs_1.fit(X, y)
selectedFeatures = print_fitures(sfs_1)
X_train_sfs = sfs_1.transform(X_train)
X_test_sfs = sfs_1.transform(X_test)
prdict_date(svm,X_train_sfs,y_train,X_test_sfs,y_test,'sfs')
print(classification_report(y_test, svm.predict(X_test_sfs)))
conf(svm,X_test_sfs, y_test)
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 31/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 32/73
7/27/2021 __notebook__
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 33/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 34/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 35/73
7/27/2021 __notebook__
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 36/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 37/73
7/27/2021 __notebook__
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 38/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 39/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 40/73
7/27/2021 __notebook__
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 41/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 42/73
7/27/2021 __notebook__
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 43/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 44/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 45/73
7/27/2021 __notebook__
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 46/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 47/73
7/27/2021 __notebook__
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 48/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 49/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 50/73
7/27/2021 __notebook__
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 51/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 52/73
7/27/2021 __notebook__
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 53/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 54/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 55/73
7/27/2021 __notebook__
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 56/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 57/73
7/27/2021 __notebook__
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 58/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 59/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 60/73
7/27/2021 __notebook__
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 61/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 62/73
7/27/2021 __notebook__
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 63/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 64/73
7/27/2021 __notebook__
cp
fbs
slope
ca
thal
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 65/73
7/27/2021 __notebook__
In [42]:
roc_graph_cv(svm,X[:,selectedFeatures],y)
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 66/73
7/27/2021 __notebook__
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
/opt/conda/lib/python3.6/site-packages/sklearn/svm/base.py:194: Future
Warning: The default value of gamma will change from 'auto' to 'scale'
in version 0.22 to account better for unscaled features. Set gamma exp
licitly to 'auto' or 'scale' to avoid this warning.
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 67/73
7/27/2021 __notebook__
Table Reasults
In [43]:
# print (results_test)
df_test =pd.DataFrame(list(results_test.items()),
columns=['algo_name','acc_test'])
df_train =pd.DataFrame(list(results_train.items()),
columns=['algo_name','acc_train'])
df_results.sort_values('acc_test',ascending=False)
Out[43]:
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 68/73
7/27/2021 __notebook__
In [44]:
import numpy as np
import pandas as pd
plt.style.use('ggplot')
%matplotlib inline
pd.set_option('display.max_row', 100)
pd.set_option('display.max_columns', 50)
ax = df_results[['acc_test', 'acc_train']].plot(kind='barh',
ax.set_alpha(0.8)
fontsize=18)
ax.set_xlabel("ACC", fontsize=18)
ax.set_xticks([0,10,20,30,40,50,60,70,80,90,100,110])
ax.set_yticklabels(df_results.iloc[:,0].values.tolist())
for i in ax.patches:
ax.text(i.get_width()+7, i.get_y()+.1, \
ax.invert_yaxis()
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 69/73
7/27/2021 __notebook__
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 70/73
7/27/2021 __notebook__
In [45]:
### NUERAL NETWORK
xtrain = X_train
ytrain = y_train
import torch
import torch.nn as nn
import torch.nn.functional as F
torch.manual_seed(42)
#hyperparameters
# h1 = 6
# h2 = 4
# lr = 0.0023
# num_epoch =7000
h1 = 6
h2 = 4
lr = 0.0023
num_epoch =7000
#build model
class Net(nn.Module):
def __init__(self):
super(Net, self).__init__()
self.fc3 = nn.Linear(h2, 2)
x = F.relu(self.fc1(x))
x = F.relu(self.fc2(x))
x = self.fc3(x)
return x
net = Net()
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 71/73
7/27/2021 __notebook__
criterion = nn.CrossEntropyLoss()
loss_per_epoch = []
#train
X = Variable(torch.Tensor(xtrain).float())
Y = Variable(torch.Tensor(ytrain).long())
#feedforward - backprop
optimizer.zero_grad()
out = net(X)
loss = criterion(out, Y)
loss.backward()
optimizer.step()
# if (epoch) % 50 == 0:
loss_per_epoch.append( loss.item())
epochs = np.arange(1,num_epoch + 1)
plt.ylabel('Average Loss')
plt.xlabel('Epochs')
plt.title('heart')
plt.legend()
plt.show()
xtest = X_test
ytest = y_test
#get prediction
X = Variable(torch.Tensor(xtest).float())
Y = torch.Tensor(ytest).long()
out = net(X)
_, predicted = torch.max(out.data, 1)
Xt = Variable(torch.Tensor(xtrain).float())
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 72/73
7/27/2021 __notebook__
Yt = torch.Tensor(ytrain).long()
out = net(Xt)
_, predicted_train = torch.max(out.data, 1)
#get accuration
https://www.kaggleusercontent.com/kf/69134751/eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..4ateeTlzIHV63Vcbq9grHw.IpPXZqeiu5… 73/73