mse: MSE

Description Usage Arguments Value Examples

View source: R/metric.R

Description

Mean squared error between 'inp' and 'targ'.

Usage

1
mse(inp, targ)

Arguments

inp

predictions

targ

targets

Value

None

Examples

1
2
3
4
5
6
7
## Not run: 

model = dls %>% tabular_learner(layers=c(200,100,100,200),
metrics = list(mse(),rmse()) )


## End(Not run)

fastai documentation built on Oct. 25, 2021, 5:08 p.m.