emoen/Machine-Learning-for-Asset-Managers

ModuleNotFoundError: No module named 'ch4_optimal_clustering'

Y-Saki26 opened this issue · 0 comments

When used as a package, the description from ch4_optimal_clustering import clusterKMeansBase in l13 of "ch6_feature_importance_analysis.py" causes the error "ModuleNotFoundError: No module named 'ch4_optimal_clustering'". The reference needs to be changed to an explicit relative reference from .ch4_optimal_clustering import clusterKMeansBase.