Skip to content

Commit

Permalink
Update hyperit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
EdoardoChidichimo committed Jun 24, 2024
1 parent 99eca8f commit f1f382d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hyperit/hyperit.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,9 @@ def __which_estimator(self, measure: str) -> None:
self._Calc.setProperty(key, value)

if initialise_parameter:
if self._measure == MeasureType.TE:
dataDim = self._data1.ndim
self._initialise_parameter = (dataDim, dataDim, *initialise_parameter)
self._initialise_parameter = initialise_parameter

if self._measure == MeasureType.TE and self._estimator_name == 'kernel':
Expand Down

0 comments on commit f1f382d

Please sign in to comment.