polynomial_network.py 文件源码

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

项目:polylearn 作者: scikit-learn-contrib 项目源码 文件源码
def _predict(self, X):
        if not hasattr(self, "U_"):
            raise NotFittedError("Estimator not fitted.")

        X = check_array(X, accept_sparse='csc', dtype=np.double)
        X = self._augment(X)
        X = get_dataset(X, order='fortran')
        return _lifted_predict(self.U_, X)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号