Problem with data absenteeism
Best,
Martin
I have also tried to adjust the name in the module without success.
Best
Martin
Hi Jakob!
I am unable to run the code you provide smoothly (files 4.15 and 5.10....ipynb). You've addressed it to a specific directory on your computer, while to make your code universal, so to speak, you need to address it to the files in the folder where the given Notebook Document has been located.
After I make this correction, 4.15 runs smoothly.
Then, I obtain a different error (even after I remove the Kopie addition that can be found at the end of each):
ModuleNotFoundError: No module named 'absenteeism_module'
So, I need to make the aforementioned modifications and the following ones, to successfully execute the first row from 5.10.:
from absenteeism_module import *
model = absenteeism_model('model', 'scaler')
model.load_and_clean_data('absence_new.csv')
model.predicted_outputs()
After I do that, I am able to execute the code with no error. However, please note that I used the absenteeism_module.py that we've provided in the course.
In other words, I stumbled upon no Pet/Pets error this way.
Hope this helps but please get back to us should you need further assistance. Thank you.
Kind regards,
Martin