sum-of-squared-errors ( seq -- x ) (original) (raw)
sum-of-squared-errors ( seq -- x )
Vocabulary
math.statistics
Inputs
seq | an object |
---|
Outputs
x | an object |
---|
Definition
USING: kernel math sequences ;
: sum-of-squared-errors ( seq -- x )
[ mean ] keep [ - sq ] with map-sum ; inline