Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

REMEXLabs/GPII-Statistical-Matchmaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPII Statistical Matchmaker: Runtime Component

Important notice, September 2020: This repository was last updated in December 2015, while its main dependency, the GPII's real-time framework, has evolved considerably since that time. Since compatibility with that framework cannot be guaranteed, this repository will be archived.

Dependencies

Installation instructions

First, get the code by running the following command in a terminal window:

git clone https://github.com/REMEXLabs/GPII-Statistical-Matchmaker.git

Then change to the newly created directory (cd GPII-Statistical-Matchmaker) and run the following command:

npm install

Depending on your system, you might have to remove node_modules\universal\node_modules\kettle\node_modules\infusion.

Depending on your system, you might have to move node_modules\universal\node_modules\infusion to node_modules\infusion.

The matchmaker uses the file StatisticalMatchMakerData.js in the directory lib as input. This file is generated by the Analysis Module. Instructions for generating this file based on the training data are available in the README.md file in the GPII-Statistical-Matchmaker-Analysis repository.

Running the Statistical Matchmaker

node bin/smm.js

Per default, using the Debug environment, the matchmaker will listen on port 8077. You can change that in configs/development.json.

Testing the Statistical Matchmaker

Usage example using curl:

curl -H "Content-Type: application/json" --data @sample_in.json http://127.0.0.1:8077/match

Licence

The code of the GPII/Cloud4all Statistical Matchmaker's runtime component is available under the BSD 3-Clause License.

Funding Acknowledgement

The research leading to these results has received funding from the European Union's Seventh Framework Programme (FP7/2007-2013) under grant agreement No.289016 (Cloud4all).