omarbahri / TeRCE

2 stars 0 forks source link

Bug of shapelet length in mining_rules.py when runing terce_cf.sh #1

Open LbzSteven opened 5 months ago

LbzSteven commented 5 months ago

Hi,

I was trying to run the examplar code when a bug came out, shown below:

{767F5A2E-69D6-4eec-B937-9A73E2B99CA3}

I followed your instructions in the readme and downloaded the RuleTransform package (sadly I faced a bug as well for the example jupyter in that package as well). It would be helpful if you could provide some enlightenment.

LbzSteven commented 5 months ago

Hi, I read the code of RuleTransform, and it appears that apart from this issue (which missing mined_rules) there are also issues like: all_rules_counts, all_rules_indices, all_rules_shs = rt.transform(X_train, test=False) In RuleTransform code, this function only returns all_rules_counts.