nllm.py 文件源码

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

项目:pyflux 作者: RJT1990 项目源码 文件源码
def _ss_matrices(self, beta):
        """ Creates the state space matrices required

        Parameters
        ----------
        beta : np.array
            Contains untransformed starting values for latent variables

        Returns
        ----------
        T, Z, R, Q : np.array
            State space matrices used in KFS algorithm
        """     

        T = np.identity(1)
        R = np.identity(1)
        Z = np.identity(1)
        Q = np.identity(1)*self.latent_variables.z_list[0].prior.transform(beta[0])

        return T, Z, R, Q
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号