lcmmichielsen / scHPL

MIT License
34 stars 1 forks source link

error report #3

Closed HGT-UwU closed 1 year ago

HGT-UwU commented 1 year ago

y_pred1 = predict.predict_labels(x_test, tree1) Traceback (most recent call last): File "", line 1, in File "C:\Users*\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\scHPL\predict.py", line 107, in predict_labels label, score = _predict_node(testpoint, n, dimred) File "C:\Users*\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\scHPL\predict.py", line 144, in _predict_node if pcs: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

lcmmichielsen commented 1 year ago

Fixed the error and updated the packages in the pip repository