Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/modal-inria/mixtcomp-docker
https://github.com/modal-inria/mixtcomp-docker
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/modal-inria/mixtcomp-docker
- Owner: modal-inria
- Created: 2020-09-16T08:28:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-29T11:38:05.000Z (over 4 years ago)
- Last Synced: 2024-11-11T22:26:45.487Z (2 months ago)
- Language: R
- Size: 277 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MixtComp Docker
Build
```
sudo docker build -t mixtcomp/docker .
```Learn with default files (*data.csv*, *model.csv*, *algo.json*, *param.json*)
```
sudo docker run --rm -v :/home/docker/data mixtcomp/docker
```Predict with the learnt model
```
sudo docker run --rm -v :/home/docker/data mixtcomp/docker data/data.csv data/model.csv data/algo.json data/param.json data/resLearn.RData
```## Learn mode
4 files:
- data csv file with semicolon (;) as separator and the first line as column names
- model csv file with semicolon (;) as separator and the first line as column names
- algo json file containing the SEM algorithm's parameters (see associated documentation in *RMixtComp* or *data[-functional]-example/algo.json* file)
- param json file containing the mixtCompLearn/mixtCompredict function parameters (see associated documentation in *RMixtComp* or *data[-functional]-example/param.json* file)The output is saved in */resLearn.RData*.
## Predict mode
5 files:
- same 4 first files as learn mode
- res containing the learnt model (".RData" file with a saved MixtComp object named *res*)The output is saved in */resPredict.RData*.