glmnetCoef.py 文件源码

python
阅读 36 收藏 0 点赞 0 评论 0

项目:glmnet_py 作者: hanfang 项目源码 文件源码
def glmnetCoef(obj, s = None, exact = False):

    if s is None:
        s = obj['lambdau']

    if exact and len(s) > 0:
        raise NotImplementedError('exact = True not implemented in glmnetCoef')

    result = glmnetPredict(obj, scipy.empty([0]), s, 'coefficients')    

    return(result)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号