data.py 文件源码

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

项目:Kaggler 作者: qqgeogor 项目源码 文件源码
def _transform_col(self, x, col):
        """Normalize one numerical column.

        Args:
            x (numpy.array): a numerical column to normalize
            col (int): column index

        Returns:
            A normalized feature vector.
        """

        return norm.ppf(self.ecdfs[col](x) * .998 + .001)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号