adding all files done so far

This commit is contained in:
2019-07-10 20:18:31 +01:00
parent 13c0e9cb4d
commit e3ac390e8b
76 changed files with 8644 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
import pandas as pd
import os
from sklearn.preprocessing import StandardScaler
from matplotlib.colors import ListedColormap
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
matplotlib.rcParams['backend'] = 'TkAgg'
class getData(object):
"""docstring for getData"""
def __init__(self, file):
super(getData, self).__init__()
self.file = file
class Bayes(getData):
"""docstring for Bayes"""
def __init__(self, file):
super(Bayes, self).__init__()
self.file = file
def get_path(self):
path = os.getcwd()
file_path = path + self.file
return file_path
bayes = Bayes(file='data/Social_Network_Ads.csv')
print(bayes.get_path())