Skip to content

Commit 365a97b

Browse files
committed
fix: lda next node processing condition
1 parent f1eb602 commit 365a97b

File tree

1 file changed

+2
-2
lines changed
  • models/node/processing/trainable/classifier

1 file changed

+2
-2
lines changed

models/node/processing/trainable/classifier/lda.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def _initialize_trainable_processor(self) -> (TransformerMixin, BaseEstimator):
5959
:return: The initialized ``LinearDiscriminantAnalysis`` classifier.
6060
:rtype: (TransformerMixin, BaseEstimator)
6161
"""
62-
return LinearDiscriminantAnalysis()
62+
return LinearDiscriminantAnalysis(solver='lsqr', shrinkage=0.1)
6363

6464
@abc.abstractmethod
6565
def _should_retrain(self) -> bool:
@@ -73,7 +73,7 @@ def _is_next_node_call_enabled(self) -> bool:
7373
""" Checks if the next node call is enabled. In this case it checks if the processor is trained and if the
7474
output buffer has data.
7575
"""
76-
return self._is_trained and self._output_buffer[self.OUTPUT_MAIN].has_data()
76+
return self._is_trained
7777

7878
def _format_processed_data(self, processed_data: Any, sampling_frequency: float) -> FrameworkData:
7979
""" Formats the processed data. In this case it creates a ``FrameworkData`` object and adds the processed data

0 commit comments

Comments
 (0)