inzamam1190 / Lancaster_Barnstormers_DSE511

1 stars 2 forks source link

README

This repository contains the final group project for DSE 511 for Team Lancaster Barnstormers.

Team Members

Project Goal

Deeper dive into the data from the individual projects by performing some statistics and machine learning to try and extract more patterns from the data.

Project Plan

Instructions of code


import prepare_data
X_origin, y_origin, X_over, y_over = prepare_data.get_data('path/to/your/database/')

import svm
clf0, X_test0, y_test0, clf1, X_test1, y_test1 = svm.run_svm(X_origin, y_origin, X_over, y_over)

python3 knn.py


- Running kNN classifier with a different value of k:
```python

import knn
clf0, X_test0, y_test0, clf1, X_test1, y_test1 = knn.run_knn(X_origin, y_origin, X_over, y_over, 1)
import RF
clf0, X_test0, y_test0, clf1, X_test1, y_test1 = RF.run_randomforest(X_origin, y_origin, X_over, y_over)
python excecution.py