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
I followed the instructions in the README, but I encounter an error when running the model code. Why might this be happening?
my python version is 3.11.4.
24-04-12 13:57:40 - [INFO]: 16 CPU cores will be allocated in parallel running
24-04-12 13:57:40 - C4.5 tree is going to be built...
I followed the instructions in the README, but I encounter an error when running the model code. Why might this be happening?
my python version is 3.11.4.
24-04-12 13:57:40 - [INFO]: 16 CPU cores will be allocated in parallel running
24-04-12 13:57:40 - C4.5 tree is going to be built...
ImportError Traceback (most recent call last)
Cell In[4], line 1
----> 1 model = chef.fit(df, config = config, target_label = 'Decision')
File c:\Users\heaop\Documents\GitHub\chefboost\Chefboost.py:275, in fit(df, config, target_label, validation_df, silent)
272 json_file = "outputs/rules/rules.json"
273 functions.createFile(json_file, "[\n")
--> 275 trees = Training.buildDecisionTree(
276 df,
277 root=root,
278 file=file,
279 config=config,
280 dataset_features=dataset_features,
281 parent_level=0,
282 leaf_id=0,
283 parents="root",
284 validation_df=validation_df,
285 main_process_id=process_id,
286 )
288 if silent is False:
289 logger.info("-------------------------")
File c:\Users\heaop\Documents\GitHub\chefboost\training\Training.py:712, in buildDecisionTree(df, root, file, config, dataset_features, parent_level, leaf_id, parents, tree_id, validation_df, main_process_id)
703 if (
...
---> 20 raise ImportError(f"Module '{module_name}' not found")
22 module = importlib.util.module_from_spec(spec)
23 spec.loader.exec_module(module)
ImportError: Module 'outputs/rules/rules' not found
The text was updated successfully, but these errors were encountered: