Skip to content

Horanny/DontGo-Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains the framework for Deciphering Explicit and Implicit Features for Reliable, Interpretable, and Actionable User Churn Prediction in Online Video Games.

image info

It consists of two components:

  • Interface: Contains frontend code.
  • Backend: Contains backend code. The counterfactual generation in the backend is inspired by and builds upon the DECE framework: https://github.com/ChengFR/DECE-research.

Interface Setup

This framework is based on Node.js and npm.

Required versions:

node version: v16.15.0
npm version: v9.6.0

Installation

Once the environment is set up, install the required node modules by running:

npm install

Backend IP Configuration

In interface/config/index.js, replace YOUR_BACKEND_IP with the actual backend IP:

dev: {
    env: require("./dev.env"),
    port: 8050,
    assetsSubDirectory: "static",
    assetsPublicPath: "/",
    proxyTable: {
      '/cf': {
        target: `http://YOUR_BACKEND_IP:${proxyPort}`,
        changeOrigin: true,
        pathRewrite: {
          '^/cf': '/cf'
        }
      },
    },
    cssSourceMap: false
  }

Launch the Interface

To launch the Don’tGo interface, run the following command:

npm run start

Backend Setup

To run the backend, execute:

python app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published