- NaN or Inf Values: Your labels might contain NaN (Not a Number) or Inf (Infinity) values, which are considered undefined.
- Missing Values: There might be missing values in your labels that are not properly handled.
- Incorrect Data Types: The labels might not be in the expected data type (e.g., they are strings instead of numeric values).
- Normalization Issue: The normalization process might have introduced undefined values into the labels.
Occurence of labels with undefined values in numeric datsets
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Amith
2024-8-9
Hi Kaviya,
These errors might appear for the following reasons:
Potential Reasons
You can also take a look at this MATLAB Answer: https://www.mathworks.com/matlabcentral/answers/505220-invalid-training-data-labels-must-not-contain-undefined-values
Hope this helps!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!