I'm getting a weird caret error that isn't google-able and I've not found it here:
+ Fold10: alpha=0.00, lambda=0.1
+ Fold10: alpha=0.25, lambda=0.1
+ Fold10: alpha=0.50, lambda=0.1
+ Fold10: alpha=0.75, lambda=0.1
+ Fold10: alpha=1.00, lambda=0.1
Error in { : task 1 failed - "replacement has 21282 rows, data has 21162"
In addition: There were 50 or more warnings (use warnings() to see the first 50)
>
warnings()
Warning messages:
1: There are new levels in a factor: NA
2: There are new levels in a factor: NA
3: There are new levels in a factor: NA
4: There are new levels in a factor: NA
I see the warning here, so haven't worried about it too much, and the same error here. I can't give a reprex b/c the data isn't shareable.