Python之WarpedLMM-0.12模塊安裝

    <Warped linear mixed models for the genetic analysis of transformed phenotypes>是篇講對數據正態化的新方法的文章,新方法將就叫作彎曲混合線性模型.地址:http://www.nature.com/ncomms/2014/140919/ncomms5890/full/ncomms5890.html.html

    文章最後給出了一個python模塊,地址https://github.com/pmbio/warpedLMM. python

    可以使用下面命令安裝.git

sudo pip install warpedlmm

    惋惜安裝好以後,問題不斷.
github

    1.模型依賴GPy模型,不斷提示UserWarning: warning: caught this exception:'module' object has no attribute '_dotblas',目前沒有解決,鑑於只是警告,暫時忽略.shell

    2.warpedlmm.py文件18和19行載入語句錯誤,this

import transformations
from warping_functions import TanhWarpingFunction_d

    應爲:
spa

import util.transformations as transformations
from util.warping_functions import TanhWarpingFunction_d

    3.模型說明文件中依賴庫有'scipy>=0.13', 'numpy>=1.8', 'matplotlib>=1.2', 'nose', 'fastlmm',可是fastlmm模型依賴sklearn,故要手動安裝code

pip install -U scikit-leran
相關文章
相關標籤/搜索