Skip to content

Commit

Permalink
Fix Script Running Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
millerhorvath committed Nov 20, 2018
1 parent 6769da5 commit ee3e8d1
Show file tree
Hide file tree
Showing 15 changed files with 14 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ PEL208-Special_Learning_Topics/least_squares_data/.idea
PEL208-Special_Learning_Topics/pca_data/.idea
PEL208-Special_Learning_Topics/lda_data/.idea
PEL208-Special_Learning_Topics/kmeans_data/.idea
Python_Assignments/__pycache__
Python_Assignments/__pycache__
Python_Assignments/naive_bayes/__pycache__
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Python_Assignments.NaiveBayes as naive
import NaiveBayes as naive
import pandas as pd

df = pd.read_csv('ex1.txt', index_col=0)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Python_Assignments.NaiveBayes as naive
import NaiveBayes as naive
import pandas as pd

df = pd.read_csv('gaussianExample.txt')
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Python_Assignments.NaiveBayes as naive
import NaiveBayes as naive
import pandas as pd

df = pd.read_csv('playTennis.txt', index_col=0)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import Python_Assignments.NaiveBayes as naive
import NaiveBayes as naive
import pandas as pd
import os

df = pd.read_csv('iris.txt')
df = pd.read_csv(os.path.join('..', 'iris.txt'))
target_feature = 'class'

n_bayes = naive.NaiveBayes(df, target_feature)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import Python_Assignments.NaiveBayes as naive
import NaiveBayes as naive
import pandas as pd
import os

df = pd.read_csv('seeds.txt')
df = pd.read_csv(os.path.join('..', 'seeds.txt'))
target_feature = 'class'

n_bayes = naive.NaiveBayes(df, target_feature)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import Python_Assignments.NaiveBayes as naive
import NaiveBayes as naive
import pandas as pd
import os

df = pd.read_csv('wine.txt')
df = pd.read_csv(os.path.join('..', 'wine.txt'))
target_feature = 'class'

n_bayes = naive.NaiveBayes(df, target_feature)
Expand Down

0 comments on commit ee3e8d1

Please sign in to comment.