ModelFeatGenerator
The input model should have been trained on a set of samples different from the samples it is ran on at generation time, it is then used to generate predictions on the current samples at the given time points. The input model can also be used to impute a feature - this functionality is suppose to be moved to a separate feature processor. fg_type - "model". (required) name - the name to be used in the feature name. Will default to the model file name and then to "ModelPred" if not given. modelFile - model file, will be used as the feature name if name is not given. impute_existing_feature - use the model to impute a feature in the matrix. Will not work if more than 1 time is given since it is a separate functionality. defaults to 0. n_preds - the number of prediction per sample per time - 1 for binary classification which is the default. time_unit_sig - the signal time unit - defaults to the global_default_windows_time_unit. time_unit_win - the times vector time unit - defaults to the global_default_windows_time_unit. times - a vector of times before the sample for which the prediction should be given. Defaults to 0 if no values are given.
