DataModelInput

class qf_lib.common.utils.factorization.data_models.data_model_input.DataModelInput(regressors_df: qf_lib.containers.dataframe.simple_returns_dataframe.SimpleReturnsDataFrame, analysed_tms: qf_lib.containers.series.simple_returns_series.SimpleReturnsSeries, frequency: qf_lib.common.enums.frequency.Frequency, is_fit_intercept: bool)[source]

Bases: object

Class storing an input data from which FactorizationDataModel is built. :param regressors_df: dataframe of regressors which should be included in the final model :param analysed_tms: timeseries of returns which should be modeled using regressors :param frequency: frequency of data used in both regressors and analysed timeseries :param is_fit_intercept: True if the model should contain the intercept; False otherwise