Skip to content

Attempt to generate plausability loss fails using ExplainableBoostingClassifier. #10

@sabri-manai

Description

@sabri-manai

The used dataset is attached for reproducibility:
ready_for_acfx.csv

Description:
The system fails to generate plausability loss after uploading the attached dataset, removing null values, and selecting ExplainableBoostingClassifier.

Logs:

ValueError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).
Traceback:
File "/mount/src/acfx/src/app/pages/3_Adjacency_Generation.py", line 70, in <module>
    casual_model = train_causal_model(st.session_state.selected_X)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mount/src/acfx/src/app/pages/3_Adjacency_Generation.py", line 12, in train_causal_model
    causal_model.fit(X)
File "/home/adminuser/venv/lib/python3.11/site-packages/lingam/direct_lingam.py", line 76, in fit
    X = check_array(X)
        ^^^^^^^^^^^^^^
File "/home/adminuser/venv/lib/python3.11/site-packages/sklearn/utils/validation.py", line 1055, in check_array
    array = _asarray_with_order(array, order=order, dtype=dtype, xp=xp)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adminuser/venv/lib/python3.11/site-packages/sklearn/utils/_array_api.py", line 839, in _asarray_with_order
    array = numpy.asarray(array, order=order, dtype=dtype)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adminuser/venv/lib/python3.11/site-packages/pandas/core/generic.py", line 2070, in __array__
    return np.asarray(self._values, dtype=dtype)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions