I am currently doing a supervised classification (just two classes for detection of large-scale solar plants) in GEE. When I am using training polygons drew and create as polygons everything works just fine but when I use the same training polygons as a fusion table (made from KML) I keep getting this message. Here is the sample of the code.
var trainingData = solarDenmark;
// Train Sample Data
// Select Bands
var bands = ['B2', 'B3', 'B4', 'B5', 'B6', 'B7', 'B8', 'B11', 'B12', 'nd', 'NDWI'];
var input = sentinelComposite.select(bands);
var classifierTraining = input.select(bands)
.sampleRegions({
collection: trainingData,
properties: ['solar'],
scale: 30
});
// Instantiate a CART and train it:
var classifier = ee.Classifier.randomForest(10).train({
features: classifierTraining,
classProperty: 'solar',
inputProperties: bands
});
//Classify the image
var classified = input.select(bands).classify(classifier).clip(region2);