Francis Duval
02/02/2024, 3:48 PMdef compile_results():
# Takes the name of R2 score datasets and returns a table with model_name and R2_score
node(
func=compile_results
inputs=[
'train_evaluation.linear_regression.r2_score',
'train_evaluation.random_forest.r2_score',
etc.
],
outputs='results_table'
)
Is there a better way to do this? If I have many more models, it can become cumbersome to write all the inputs.