File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
models/node/processing/trainable/classifier Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def _initialize_trainable_processor(self) -> (TransformerMixin, BaseEstimator):
59
59
:return: The initialized ``LinearDiscriminantAnalysis`` classifier.
60
60
:rtype: (TransformerMixin, BaseEstimator)
61
61
"""
62
- return LinearDiscriminantAnalysis ()
62
+ return LinearDiscriminantAnalysis (solver = 'lsqr' , shrinkage = 0.1 )
63
63
64
64
@abc .abstractmethod
65
65
def _should_retrain (self ) -> bool :
@@ -73,7 +73,7 @@ def _is_next_node_call_enabled(self) -> bool:
73
73
""" Checks if the next node call is enabled. In this case it checks if the processor is trained and if the
74
74
output buffer has data.
75
75
"""
76
- return self ._is_trained and self . _output_buffer [ self . OUTPUT_MAIN ]. has_data ()
76
+ return self ._is_trained
77
77
78
78
def _format_processed_data (self , processed_data : Any , sampling_frequency : float ) -> FrameworkData :
79
79
""" Formats the processed data. In this case it creates a ``FrameworkData`` object and adds the processed data
You can’t perform that action at this time.
0 commit comments