Skip to contents

Inspect VCMoE local-linear slopes on the scaled basis.

Usage

vcmoe_scaled_slopes(object, type = c("expert", "gating"), bandwidth = NULL)

Arguments

object

A vcmoe object.

type

Coefficient block, either "expert" or "gating".

bandwidth

Optional bandwidth recorded in the returned attributes. Defaults to the fitted bandwidth.

Value

An array with the same dimensions as the stored slope block.

Details

VCMoE stores slopes on the scaled local-linear basis (u - u0) / h. This helper returns the stored scaled-basis slope block.