fixed conflicts
This commit is contained in:
commit
cfd028d642
@ -1,3 +1,5 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
'''
|
'''
|
||||||
Bag Of Words
|
Bag Of Words
|
||||||
============
|
============
|
||||||
@ -162,4 +164,4 @@ class BagOfWords:
|
|||||||
# transform list to set to eliminate duplicates
|
# transform list to set to eliminate duplicates
|
||||||
stop_words = set(stop_words)
|
stop_words = set(stop_words)
|
||||||
|
|
||||||
return stop_words
|
return stop_words
|
||||||
|
@ -10,4 +10,4 @@ graphviz==0.9
|
|||||||
scikit_learn==0.19.2
|
scikit_learn==0.19.2
|
||||||
|
|
||||||
# Installation under (UBUNTU?)
|
# Installation under (UBUNTU?)
|
||||||
apt-get install XX
|
apt-get install XX
|
||||||
|
4
Starter.py
Normal file → Executable file
4
Starter.py
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
'''
|
'''
|
||||||
Starter
|
Starter
|
||||||
=============
|
=============
|
||||||
@ -29,4 +31,4 @@ dataset = CsvHandler.read_csv(file)
|
|||||||
NaiveBayes.make_naive_bayes(dataset)
|
NaiveBayes.make_naive_bayes(dataset)
|
||||||
# SVM.make_svm(dataset)
|
# SVM.make_svm(dataset)
|
||||||
|
|
||||||
print('# ending program')
|
print('# ending program')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user