Skip to contents

One output of tabular_net_fit(): a family, its link and its weight in the training loss.

Usage

net_head(name, family = "poisson", link = NULL, loss_weight = 1, power = NULL)

Arguments

name

The head's name.

family

"poisson", "gamma", "tweedie" (needs power) or "gaussian".

NULL for log (identity for the Gaussian), the only links the networks support.

loss_weight

The head's weight in the loss, the sum over heads of each head's weighted mean deviance times its loss weight.

power

Tweedie power in (1, 2).

Value

A net_head list.