From 0c4e29de32409fca10a6c89629c9e2472144039f Mon Sep 17 00:00:00 2001 From: bastien-mva <bastien.batardiere@gmail.com> Date: Wed, 29 Mar 2023 11:37:52 +0200 Subject: [PATCH 1/2] removed the covariates from the latent variables --- pyPLNmodels/VEM.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pyPLNmodels/VEM.py b/pyPLNmodels/VEM.py index 4d6f09f7..a914be86 100644 --- a/pyPLNmodels/VEM.py +++ b/pyPLNmodels/VEM.py @@ -637,10 +637,7 @@ class _PLNPCA(_PLN): @property def latent_variables(self): - return ( - torch.matmul(self.covariates, self._beta).detach() - + torch.matmul(self._M, self._C.T).detach() - ) + return torch.matmul(self._M, self._C.T).detach() def get_projected_latent_variables(self, nb_dim): if nb_dim > self._q: -- GitLab From e48bc4a615ef824347dcec30a6ff1486c566df45 Mon Sep 17 00:00:00 2001 From: bastien-mva <bastien.batardiere@gmail.com> Date: Wed, 29 Mar 2023 11:39:23 +0200 Subject: [PATCH 2/2] change version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 16b3af74..788976e5 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from setuptools import setup, find_packages -VERSION = "0.0.30" +VERSION = "0.0.31" with open("README.md", "r") as fh: long_description = fh.read() -- GitLab