- fixed v_to_ph parameter consideration
- matrix: use different random implementations
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ class Entity:
|
||||
|
||||
def v_to_ph(self, v: np.ndarray) -> np.ndarray:
|
||||
state = self.state.v_to_h(v)
|
||||
if self.params.do_gaussian_visible:
|
||||
if self.params.do_gaussian_hidden:
|
||||
return state
|
||||
|
||||
return prob(state)
|
||||
|
||||
Reference in New Issue
Block a user