How does the annTrain action handle missing values in the training data?

5 vues

Réponse

You can control missing value imputation using the 'missing' parameter for input variables and 'targetMissing' for the target variable. Options include 'MEAN', 'MAX', or 'MIN' to replace missing values with the mean, maximum, or minimum value of the variable. If set to 'NONE' (the default for interval variables), observations with missing values are ignored. For nominal variables, a new category is created for missing values by default.
Did this answer help you?
annTrain

neuralNet

See technical action