Article: Idiosyncratic risk ranking using eXplainable AI
https://github.com/Refinitiv-API-Samples/Article.RD.XAI.Python.Explaining.Idiosyncratic.Risk
-----------------------------------------------------------------------------------------------------------------
# Label Builder
class LabelBuilders:
def __init__(self, beta_window) -> None:
self.beta_window = beta_window
-----------------------------------------------------------------------------------------------------------------
# Feature Engineering
import pandas as pd
import numpy as np
import torch
from LabelBuilders import LabelBuilder
from functools import reduce
from utilities import drop_features, study_features
----------------------------------------------------------------------------------------------------------------
Error Message
--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) Cell In[4], line 8 6 from sklearn.preprocessing import MinMaxScaler, OneHotEncoder 7 from tqdm import tqdm ----> 8 from LabelBuilders import LabelBuilder 9 from functools import reduce 10 from utilities import drop_features, study_features ModuleNotFoundError: No module named 'LabelBuilders'
-----------------------------------------------------------------------------------------------------------------
How to solve it?