[BUGFIX] Fix lambda_matrix property in GMLVQ
This commit is contained in:
		@@ -200,8 +200,8 @@ class GMLVQ(GLVQ):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    @property
 | 
					    @property
 | 
				
			||||||
    def lambda_matrix(self):
 | 
					    def lambda_matrix(self):
 | 
				
			||||||
        omega = self.omega_layer.weight
 | 
					        omega = self.omega_layer.weight  # (latent_dim, input_dim)
 | 
				
			||||||
        lam = omega @ omega.T
 | 
					        lam = omega.T @ omega
 | 
				
			||||||
        return lam.detach().cpu()
 | 
					        return lam.detach().cpu()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def show_lambda(self):
 | 
					    def show_lambda(self):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user