utilisateur.py 文件源码

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

项目:recommandation-film 作者: sambiak 项目源码 文件源码
def theta(self, x, etapes):
        """Fait etapes etapes du gradient sur theta du film puis le renvoie"""
        y = np.array([[math.nan] * nombre_films()])
        for key in self.films:
            y[0][self.conv.renvoyer_index(key)] = self.films[key]
        for etape in range(etapes):
            self._theta = etape_du_gradient(y, 0.0001, self._theta, x)
        return self._theta
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号