當前位置: 首頁>>編程示例 >>用法及示例精選 >>正文


R discrim frac_common_cov 正則判別模型的參數對象

discrim_regularized() 說明了 frac_common_cov()frac_identity() 的效果。 smoothness()stats::density() 中的 adjust 參數的別名。

用法

frac_common_cov(range = c(0, 1), trans = NULL)

frac_identity(range = c(0, 1), trans = NULL)

smoothness(range = c(0.5, 1.5), trans = NULL)

參數

range

一個二元素向量,分別保存最小和最大可能值的默認值。

trans

scales 包中的 trans 對象,例如 scales::log10_trans()scales::reciprocal_trans() 。如果未提供,則使用與 range 中使用的單位相匹配的默認值。如果沒有轉換,NULL

具有類 "quant_param" 和 "param" 的函數

細節

這些參數可以調節 RDA 模型以在線性和二次類邊界之間移動。

例子

frac_common_cov()
#> Fraction of the Common Covariance Matrix (quantitative)
#> Range: [0, 1]
源代碼:R/parameters.R

相關用法


注:本文由純淨天空篩選整理自Max Kuhn等大神的英文原創作品 Parameter objects for Regularized Discriminant Models。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。