Giter VIP home page Giter VIP logo

communicator's Introduction

Related Paper

Le. C.V., Pardos, Z.A., Meyer, S.D., Thorp, R. (in-press) Communication at Scale in a MOOC Using Predictive Engagement Analytics. To appear in Proceedings of the 19th International Conference on Artificial Intelligence in Education (AIED). London, UK. pdf

Getting Started

  1. Clone the repo and run npm install
  2. Fill out scripts/startup.sh
  3. Match frontend/client_main.js and frontend/cross_main.js with the info from the startup file
  4. Upload client_main.js, cross_main.js, crossfilter.js, d3.js, and styles.css to edX
  • Click Files & Uploads which is under the Content dropdown at the top of the page in the vertical studio editor
  1. Insert a Raw HTML Block
  2. Copy and paste client.html into the block
  3. Change scripts/weekly.sh paths to the proper locations and then run to get the user roster
  4. Run process/make_user_info.py which uses the roster to get the user_info.csv file and places it in the data directory
  5. Change scripts/daily.sh paths to the proper locations and then run to get yesterday's event log
  6. Run process/make_prediction.py which uses the event log to get the predictions.csv file and places it in the data directory

The startup script will automatically pull down from edX the roster on a weekly basis and create user_info.csv file. It will also pull down from edX the event log on a daily basis and create a predictions.csv file, which will be anonymized.

Backend

  1. user_info path and predictions path can be changed in scripts/startup.sh
  2. secretUsername and secretPassword from server.js need to be copied to frontend/cross_main.js. This is to ensure that only you can receive the predictions info, which just in case is also anonymized.
  3. Set the emailUsername, emailPassword, and smtp if you choose not to masquerade and use a mail service like MailGun.
  4. Change pkey, pcert, cert with the correct paths to enable HTTPS (required for edX)
  5. Set the port for the server and make sure it matches with frontend/client_main.js
  6. Start the mongo database on a different screen

mongod --dbpath=db_data --port=1301

  1. Launch with node server.js

Data

  • RNN_event_list.csv: A list with all the relevant event types
  • all_events.log: A continually concatenated list that has all user events in the course. Created by scripts/daily.sh which is run by scripts/startup.sh
  • user.sql: A sql file of all the users in the system for the most recent week. Created by scripts/weekly.sh which is run by scripts/startup.sh
  • user_info.csv: File of all the up to date user info. Created by process/make_user_info.py
  • prediction.csv: File of the predictions of completion, attrition, and certification for anonymized users. Created by process/make_prediction.py

Frontend

  1. Upload client_main.js, cross_main.js, crossfilter.js, d3.js, and styles.css to edX
  • Click Files & Uploads which is under the Content dropdown at the top of the page in the vertical studio editor
  1. Insert a Raw HTML Block
  2. Copy and paste client.html into the block

Model

Architecture and weights for the three trained models used to predict attrition, certification, and completion.

Process

  1. Must run python make_user_info.py before python make_prediction.py
  • prediction_utils: Various utility functions that allow make_prediction.py to work

Scripts

  • automated.py: Checks if any new students meet policies that has been designated with "automatic check"
  • daily.sh: Grabs the event log file from AWS
  • weekly.sh: Grabs the user file from AWS
  • startup.sh: Does the following:
    • Sets the path for prediction and user_info files
    • Runs daily.sh + automated.py + make_prediction.py to update predictions.csv daily
    • Runs weekly.sh and make_user_info.py to update user_info.csv weekly

communicator's People

Contributors

chrisvle avatar

Watchers

Shaveen Singh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.