这里会显示出您选择的修订版和当前版本之间的差别。
后一修订版 | 前一修订版 | ||
zh:notes:install_dtm [2017/10/05 21:23] pzczxs 创建 |
zh:notes:install_dtm [2022/01/28 08:30] (当前版本) pzczxs |
||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== 安装DTM ====== | + | ====== Install DTM ====== |
- | 参考:https://github.com/magsilva/dtm | + | source:https://github.com/blei-lab/dtm |
- | =====系统环境===== | + | ===== Operation System ===== |
CentOS 5.8(64 bits) | CentOS 5.8(64 bits) | ||
- | ===== 安装依赖库===== | + | ===== Install gsl and gflags===== |
+ | <code bash> | ||
+ | > yum install gsl-devel | ||
+ | > yum install gcc-c++ | ||
+ | > yum install gflags-devel | ||
+ | </code> | ||
+ | |||
+ | ===== Download and Install ===== | ||
+ | <code bash> | ||
+ | > wget https://github.com/blei-lab/dtm/archive/master.zip | ||
+ | > unzip master.zip | ||
+ | > mv dtm-master dtm | ||
+ | > cd dtm/dtm | ||
+ | > make | ||
+ | </code> | ||
+ | |||
+ | ==== Usage ==== | ||
+ | refer to <color red>sample.sh</color> for more details. | ||
+ | <code bash> | ||
+ | > ./main --help | ||
+ | </code> | ||
+ | |||
+ | ~~DISCUSSION:closed~~ |