[R-sig-Geo] Error image
Enoch Gyamfi Ampadu
eg@mp@du @end|ng |rom gm@||@com
Mon Sep 14 17:48:32 CEST 2020
Dear List,
Please I am undertaking land cover classification with the support vector
machine but output image have some portions appearing white. I have tried
both the *caret *and *e1071, *yet I got the same error image. Find below
the codes:
Caret package
modFit_svmR1999 <- train(as.factor(class) ~ B1 + B2 + B3 + B4 + B5 + B7,
data = TrainSet1999, method = "svmRadial")
e1071 package
modFit_svmR1999 <- svm(as.factor(class) ~ B1 + B2 + B3 + B4 + B5 + B7, data
= TrainSet1999)
Before running the above codes, I had done all the necessary image staking,
extracting of pixel values and data partitioning. I don't know what I am
not doing right and I will be glad to have some assistance.
Thank you
Best regards,
Enoch
--
*Enoch Gyamfi - Ampadu*
*Geography & Environmental Sciences*
*College of Agriculture, Engineering & Science*
*University of KwaZulu-Natal, Westville Campus*
*Private Bag X54001*
*Durban, South Africa **– 4000**.*
*Phone: +27 835 828255*
*email: egampadu using gmail.com <egampadu using gmail.com>*
*skype: enoch.ampadu*
*The highest evidence of nobility is self-control*.
*A simple act of kindness creates an endless ripple*.
[[alternative HTML version deleted]]
More information about the R-sig-Geo
mailing list