calcdf.Rd
This function calculate degree of freedom of NEMoE object.
calcdf(NEMoE_obj, output = "all")
NEMoE_obj | A NEMoE object with fitted result. |
---|---|
output | whether degree of freedom with combined components or compute within each component. |
a list of degree of freedom in gating network and experts network.
#> $df_gamma #> [1] 9 #> #> $df_beta #> [,1] #> [1,] 4 #> [2,] 13 #> [3,] 16 #> [4,] 14 #> [5,] 42 #>