Closed apavlo89 closed 3 years ago
Hmmm can you verify that you can run the following code:
cols = range(10)
rows = 2000
datdict = {f'S_{x}': np.random.randint(0,100000,rows) for x in cols}
dataset = pd.DataFrame(datdict)
dataset = mf.ampute_data(dataset,perc = 0.5)
kernel = mf.KernelDataSet(dataset)
kernel.mice(3,verbose=True,n_jobs=12)
Also can you verify the version of Python and miceforest you are using please.
The issue occurs when your script file has a file name like some module among the imported ones. Try renaming your script. See also: https://stackoverflow.com/questions/59762996/how-to-fix-attributeerror-partially-initialized-module
Hello,
I'm trying to impute missing values your miceforest for my database but I'm a bit at a loss how all this works. This is the code I have.
This results in the following error: AttributeError: module 'miceforest' has no attribute 'KernelDataSet'
What am I doing wrong? :/