Skip to content

Scorefunc suggestion

Peter Lünenschloß requested to merge scorefuncSuggestion into develop

Thats just a suggestion of a function thats kind of missing.

-> scores.assignCrossScores

It is just a function that applies functions horizontlly. We could do without this function, if processGeneric would handle an Alias, for all Fields. So that:

processGeneric(['x1','x2','x3','x4','x5','x6','x7',...], target='z',func=lambda 'x1','x2','x3','x4','x5','x6','x7',...: np.mean(['x1','x2','x3','x4','x5','x6','x7',...]))

could be simplified to:

processGeneric(['x1','x2','x3','x4','x5','x6','x7',...], target='z', func=lambda allFields: np.mean(allFields))

So thats kind of an issuish MR

Merge request reports

Loading