FinRL icon indicating copy to clipboard operation
FinRL copied to clipboard

Crypto_Feature_Importance.ipynb

Open zillionsinternational opened this issue 2 years ago • 5 comments

ModuleNotFoundError Traceback (most recent call last) in <cell line: 15>() 13 import numpy as np 14 import matplotlib.pyplot as plt ---> 15 from meta.data_processor import DataProcessor 16 17 import torch

ModuleNotFoundError: No module named 'meta'

I installed the Meta Library but same error message

zillionsinternational avatar Apr 04 '23 13:04 zillionsinternational

ModuleNotFoundError: No module named 'meta.data_processor'

zillionsinternational avatar Apr 04 '23 13:04 zillionsinternational

Any help/support please ?

zillionsinternational avatar Apr 06 '23 10:04 zillionsinternational

@zillionsinternational I had this issue as well. I was using google colab, so I'm unsure if this will work for you. It did work for me.

right before the imports cell block add a new code cell and %cd /FinRL-Meta/

image

You will also likely have a problem with scikit-learn and the import of SMOTE from imblearn. If that happens you need to downgrade your scikit-learn to less than 1.3 so add this to your last line of the !pip installs !pip install scikit-learn==1.2.2 # imblearn SMOTE not compatible with sklearn 1.3

image

eervin123 avatar Aug 13 '23 21:08 eervin123

Oh, one other change is itertools() method in pandas was deprecated so you can just change this line to .items()

image

eervin123 avatar Aug 13 '23 21:08 eervin123

thanks for help @ervin123

issacnumb avatar Sep 07 '23 08:09 issacnumb