Commit d921030b authored by Chris's avatar Chris
Browse files

Laid down a skeleton design prototype

parent 23d36f48
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+4 −0
Original line number Diff line number Diff line

__pycache__/

.vscode/
+13 −0
Original line number Diff line number Diff line
# preprocessing
def preprocessing():
    pass

# declaring, training, fitting each algorithm
def mlinit():
    pass

def partialFitNewData():
    pass

def switchCurrentAlgorithm():
    pass
 No newline at end of file
+19 −0
Original line number Diff line number Diff line
# ml import
import ml

# Flask import
from flask import Flask
app = Flask(__name__)


@app.route('/')
@app.route('/index')
def display_greeting():
    return "Hey!"


# Run the app!
if __name__ == '__main__':
    app.run(port = 8080)
    ml.preprocessing()
    ml.mlinit()
 No newline at end of file