PR to refactor rgcca_predict. Split the function into two functions:
rgcca_transform which makes the projection of new blocks onto the components extracted by RGCCA,
rgcca_predict that calls rgcca_transform and fits an additional model on top to make predictions and compute scores with respect to true values.
Arguments of rgcca_predict have been renamed from newA, new_scaled, model, fit and bloc_to_pred to X, X_scaled, task, prediction_model and block_to_predict.
PR to refactor
rgcca_predict
. Split the function into two functions:rgcca_transform
which makes the projection of new blocks onto the components extracted by RGCCA,rgcca_predict
that callsrgcca_transform
and fits an additional model on top to make predictions and compute scores with respect to true values. Arguments ofrgcca_predict
have been renamed fromnewA
,new_scaled
,model
,fit
andbloc_to_pred
toX
,X_scaled
,task
,prediction_model
andblock_to_predict
.