You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in interpretability_module.py line 98:
max_depth = int(np.ceil(np.log2(iforest.max_samples)))
there is a bug here: if you train iforest model with parameters: max_samples = 1.0,iforest.max_samples will be 1.0 and the "max_depth" here will be 0. actually you want iforest.max_samples to be the number of training samples
The text was updated successfully, but these errors were encountered:
------------------ Original ------------------
From: rcrupi ***@***.***>
Date: Mon,Apr 3,2023 5:36 PM
To: mattiacarletti/DIFFI ***@***.***>
Cc: ForeverYoung666 ***@***.***>, Author ***@***.***>
Subject: Re: [mattiacarletti/DIFFI] bug report in interpretability_module.py(Issue #2)
Could the solution be substitute "iforest.max_samples" with "iforest.max_samples_"?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
in interpretability_module.py line 98:
max_depth = int(np.ceil(np.log2(iforest.max_samples)))
there is a bug here: if you train iforest model with parameters: max_samples = 1.0,iforest.max_samples will be 1.0 and the "max_depth" here will be 0. actually you want iforest.max_samples to be the number of training samples
The text was updated successfully, but these errors were encountered: