- Newest
- Most votes
- Most comments
When encountering a dataset load error in SageMaker Canvas after data transformation, there are several potential issues that could be causing the failure without a specific error code.
First, SageMaker Canvas performs data validation before building models to identify issues that might cause build failures. Even though your initial validation was successful, there might be underlying data quality issues that weren't caught initially but emerged during the model building process.
Common issues that could cause your dataset to fail include:
- Missing values in your target column
- Too many unique labels in your target column for a multi-class model
- Non-numeric values in your target column if the model requires numeric inputs
- Column names containing double underscores
- Incomplete rows in your dataset
- Schema inconsistencies after transformation
To troubleshoot this issue:
- Try validating your data again by choosing "Validate data" on the Build page to see if any issues are now detected
- Check your target column for missing values or too many unique classes
- Verify that your column names don't contain double underscores
- Ensure all rows in your dataset are complete after transformation
If the issue persists, you could try:
- Making changes to your data flow in Data Wrangler to address potential issues
- Creating a new version of your dataset with modifications
- Checking if your dataset size (50k rows with 11 columns) exceeds any service limits
You can also edit your data flow steps without deleting the transforms already applied. This allows you to make changes to your data source or dataset configuration while keeping the steps of your data flow intact.
Sources
Data validation - Amazon SageMaker
Update a dataset - Amazon SageMaker
Edit data flow steps - Amazon SageMaker
Removing "Column names containing double underscores" resolved the issue. Thanks
answered a year ago
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
