συμβάν
31 Μαρ, 11 μ.μ. - 2 Απρ, 11 μ.μ.
Το μεγαλύτερο συμβάν εκμάθησης SQL, Fabric και Power BI. 31 Μαρτίου – 2 Απριλίου. Χρησιμοποιήστε τον κωδικό FABINSIDER για να εξοικονομήσετε 400 $.
Εγγραφείτε σήμεραΑυτό το πρόγραμμα περιήγησης δεν υποστηρίζεται πλέον.
Κάντε αναβάθμιση σε Microsoft Edge για να επωφεληθείτε από τις τελευταίες δυνατότητες, τις ενημερώσεις ασφαλείας και την τεχνική υποστήριξη.
The loss functions for classification and regression.
expLoss(beta = 1, ...)
hingeLoss(margin = 1, ...)
logLoss(...)
smoothHingeLoss(smoothingConst = 1, ...)
poissonLoss(...)
squaredLoss(...)
Specifies the numeric value of beta (dilation). The default value is 1.
Specifies the numeric margin value. The default value is 1.
Specifies the numeric value of the smoothing constant. The default value is 1.
hidden argument.
A loss function measures the discrepancy between the prediction of a machine learning algorithm and the supervised output and represents the cost of being wrong.
The classification loss functions supported are:
logLoss
expLoss
hingeLoss
smoothHingeLoss
The regression loss functions supported are:
poissonLoss
squaredLoss
.
A character string defining the loss function.
Microsoft Corporation Microsoft Technical Support
train <- function(lossFunction) {
result <- rxFastLinear(isCase ~ age + parity + education + spontaneous + induced,
transforms = list(isCase = case == 1), lossFunction = lossFunction,
data = infert,
type = "binary")
coef(result)[["age"]]
}
age <- list()
age$LogLoss <- train(logLoss())
age$LogLossHinge <- train(hingeLoss())
age$LogLossSmoothHinge <- train(smoothHingeLoss())
age
συμβάν
31 Μαρ, 11 μ.μ. - 2 Απρ, 11 μ.μ.
Το μεγαλύτερο συμβάν εκμάθησης SQL, Fabric και Power BI. 31 Μαρτίου – 2 Απριλίου. Χρησιμοποιήστε τον κωδικό FABINSIDER για να εξοικονομήσετε 400 $.
Εγγραφείτε σήμερα