Skip to content

A simple Flask API to serve the results of a ML Model that predicts the grades

Notifications You must be signed in to change notification settings

acmauth/GradeFlask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grade++ Flask

Info

This is an API for predicting the student's grades. It is meant to be used alongside with GradeServer. Given a request with the student's ID and the courses to be predicted it returns the predicted courses for each of the courses along with the version of the model. The information of the student are retrieved from a MongoDB.

A sample json request:

{
  "id": "student_id", 
  "courses": ["NCO-04-05", "NCO-05-06"]
}

And the sample response:

{
    "version": "1",
    "NCO-04-05": "9.996448",
    "NCO-05-06": "Not Available"
}

How it works

This is a simple Flask application. You can run the application by executing the following:

python app.py

The packages needed for the app to run are in requirements.txt file. You can configure the app by using copying the config_default.py file as config.py. In this file you can specify the Mongo URL and Mongo Password.

About

A simple Flask API to serve the results of a ML Model that predicts the grades

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published