Skip to content
Snippets Groups Projects
Commit 14e7c6ae authored by Rawel's avatar Rawel
Browse files

added train_model for training after commit_features

parent 7e7dc4f7
Branches
No related tags found
No related merge requests found
......@@ -230,10 +230,8 @@ def load_unclassified_validation_dataset(joblib_file=None):
return unclassified_validation
def train_model():
def train_model(c=0.09, w=0.2):
svm = Svm()
c = 0.09
w = 0.2
vcc_training = load_vcc_training_dataset()
unclassified_training = load_unclassified_training_dataset()
......@@ -246,6 +244,7 @@ def main():
# store_commit_features()
# BagOfWords.create_bag_of_words()
create_feature_vectors()
train_model()
if __name__ == "__main__":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment