Closed Hazel-Yi closed 2 weeks ago
The issue was caused due to the stats.boxcox_llf function returning a float, but the code was incorrectly treating it as an array by attempting to subscript it with [0], resulting in a 'float' object is not subscriptable error
after fixing this issue, I am seeing another issue, which is related with Sifted @CZLam7 @dhjang03
-> Selecting features based on correlation with performance.
Traceback (most recent call last):
File "/Users/kiandsouza/Desktop/Danger/2024/Adv Software Proj/MT-Updating-Matilda/integration_demo.py", line 46, in
after fixing this issue, I am seeing another issue, which is related with Sifted
-> Selecting features based on correlation with performance. Traceback (most recent call last): File "/Users/kiandsouza/Desktop/Danger/2024/Adv Software Proj/MT-Updating-Matilda/integration_demo.py", line 46, in instance_space.build() File "/Users/kiandsouza/Desktop/Danger/2024/Adv Software Proj/MT-Updating-Matilda/matilda/instance_space.py", line 214, in build self._final_output = self._runner.run_all(inputs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/kiandsouza/Desktop/Danger/2024/Adv Software Proj/MT-Updating-Matilda/matilda/stage_runner.py", line 200, in run_all self.run_stage(stage) File "/Users/kiandsouza/Desktop/Danger/2024/Adv Software Proj/MT-Updating-Matilda/matilda/stage_runner.py", line 150, in run_stage outputs = stage._run(inputs) # noqa: SLF001 ^^^^^^^^^^^^^^^^^^ File "/Users/kiandsouza/Desktop/Danger/2024/Adv Software Proj/MT-Updating-Matilda/matilda/stages/sifted.py", line 300, in _run return SiftedStage.sifted( ^^^^^^^^^^^^^^^^^^^ File "/Users/kiandsouza/Desktop/Danger/2024/Adv Software Proj/MT-Updating-Matilda/matilda/stages/sifted.py", line 356, in sifted return sifted._sifted( # noqa: SLF001 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/kiandsouza/Desktop/Danger/2024/Adv Software Proj/MT-Updating-Matilda/matilda/stages/sifted.py", line 435, in _sifted raise NotEnoughFeatureError( matilda.stages.sifted.NotEnoughFeatureError: -> There is only 1 feature. Stopping space construction.
Sifted raise NotEnoughFeatureError if there is only one feature left after filtering the features during its process.
Bug fix: #214
Error raised in Prelim is fixed
Instruction of mulitrun add following script in integration_demo.py
Err raised in prelim