Skip to content

Commit 74eb20b

Browse files
committed
fix: rename variables that contains IterationHistory instance
1 parent e5ace48 commit 74eb20b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rework_pysatl_mpest/estimators/iterative/pipeline.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ def fit(self, X: ArrayLike, mixture: MixtureModel[DType]) -> MixtureModel[DType]
224224
if state.H is not None:
225225
state.H = np.delete(state.H, removed_components_indices, axis=1)
226226

227-
# Log
228-
self.logger.log(
229-
IterationRecord(self.logger._counter, state.curr_mixture, state.X, state.H, self.pruners, state.error)
227+
# Save iteration record
228+
self.history.save_record(
229+
IterationRecord(self.history._counter, state.curr_mixture, state.X, state.H, self.pruners, state.error)
230230
)
231231

232232
# Checking stopping criteria

0 commit comments

Comments
 (0)