Skip to main content

Tools to support the grading of short answer questions using machine learning

Project description

interaction-grader

Python package to help grade test questions (interactions) using trained machine learning models.

The Answer class can be used to check if an answer is basically identical to the desired answer except for misspellings.

Initial version hard codes a model already trained to recognize actor names from a list of 322.

import mmapi

correct_answer = 'Joaquim Phoenix'
answer = 'Joakim Pheonix'
prediction = predict_actor(answer, correct_answer)  
if prediction == correct_answer  
    print('Correct Answer')  

Package Dependencies:

  • fuzzywuzzy
  • python-Levenshtein
  • numpy
  • pandas
  • sklearn
  • xgboost

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mlmmapi-0.0.4.tar.gz (1.8 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page