Occurence of labels with undefined values in numeric datsets

1 visualización (últimos 30 días)
Kaviya Meena
Kaviya Meena el 7 de Jun. de 2022
Respondida: Amith el 9 de Ag. de 2024
I'm training network for a numeric datasets...during training stage, i have an error that" invalid training data.Labels must not contain undefined values"....But may dataset is defined and normalized..... what may be the reason for error

Respuestas (1)

Amith
Amith el 9 de Ag. de 2024
Hi Kaviya,
These errors might appear for the following reasons:
Potential Reasons
  1. NaN or Inf Values: Your labels might contain NaN (Not a Number) or Inf (Infinity) values, which are considered undefined.
  2. Missing Values: There might be missing values in your labels that are not properly handled.
  3. Incorrect Data Types: The labels might not be in the expected data type (e.g., they are strings instead of numeric values).
  4. Normalization Issue: The normalization process might have introduced undefined values into the labels.
Hope this helps!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by