@@ -47,7 +47,6 @@ def construct_inputs(
4747 cls ,
4848 training_data : SupervisedDataset ,
4949 decomposition : Dict [str , List [int ]],
50- ** kwargs : Any ,
5150 ) -> Dict [str , Any ]:
5251 r"""Construct `Model` keyword arguments from a dict of `SupervisedDataset`.
5352
@@ -56,7 +55,7 @@ def construct_inputs(
5655 decomposition: Dictionary of context names and their indexes of the
5756 corresponding active context parameters.
5857 """
59- base_inputs = super ().construct_inputs (training_data = training_data , ** kwargs )
58+ base_inputs = super ().construct_inputs (training_data = training_data )
6059 return {
6160 ** base_inputs ,
6261 "decomposition" : decomposition ,
@@ -127,7 +126,6 @@ def construct_inputs(
127126 embs_feature_dict : Optional [Dict ] = None ,
128127 embs_dim_list : Optional [List [int ]] = None ,
129128 context_weight_dict : Optional [Dict ] = None ,
130- ** kwargs : Any ,
131129 ) -> Dict [str , Any ]:
132130 r"""Construct `Model` keyword arguments from a dict of `SupervisedDataset`.
133131
@@ -147,7 +145,7 @@ def construct_inputs(
147145 dimension is set to 1 for each categorical variable.
148146 context_weight_dict: Known population weights of each context.
149147 """
150- base_inputs = super ().construct_inputs (training_data = training_data , ** kwargs )
148+ base_inputs = super ().construct_inputs (training_data = training_data )
151149 index_decomp = {
152150 c : [training_data .feature_names .index (i ) for i in v ]
153151 for c , v in decomposition .items ()
0 commit comments