Skip to content

NCFS.fit() causes my computer to crash #30

@paulcbogdan

Description

@paulcbogdan

Thank you very much for making the package. It's a great help. Sadly, it sometimes causes my computer to totally crash, particularly if I'm running another script simultaneously. During a crash, everything goes black, and I then need to restart it using my PSU's on/off switch. My guess is that this is related to parallel processing?

Even when the package doesn't crash, running fit causes this warning to appear:

C:\Users\paulc\Anaconda3\lib\site-packages\ncfs\NCFS.py:125: UserWarning: Data matrix contains values outside of the [0, 1] interval. May be numerical unstable and lead to pseudocount additions during fitting.
  warnings.warn(
C:\Users\paulc\Anaconda3\lib\site-packages\ncfs\accelerated.py:199: NumbaPerformanceWarning: 
The keyword argument 'parallel=True' was specified but no transformation for parallel execution was possible.

To find out why, try turning on parallel diagnostics, see https://numba.pydata.org/numba-doc/latest/user/parallel.html#diagnostics for help.

File "C:\Users\paulc\Anaconda3\lib\site-packages\ncfs\accelerated.py", line 65:
@numba.njit(parallel=True, fastmath=True)
def feature_gradient(

I have no clue how numba works. Do you have any suggestions? I'm fine with the code running slower, so if there is any way for me to turn off the parallelism that would be appreciated.

Thanks again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions