util.py 文件源码

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

项目:motion-classification 作者: matthiasplappert 项目源码 文件源码
def check_feature_array(array, n_features=None):
    array = check_array(array, ensure_2d=True, allow_nd=False)
    if n_features is not None and array.shape[1] != n_features:
        raise ValueError('feature array must have exactly %d features' % n_features)
    return array
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号