I am using google earth engine to classify landcover. The training samples are trained in google earth and processed in ArcGIS and then I uploaded the shapefiles as a table in GEE. I specify the property for each land cover class ( e.g: water: landscape 0, urban: landscape 1). Here's my code
/// Merge the hand-drawn features into a single FeatureCollection.
var newtrainingpolygons = Barren_Train.merge(Urban_Train).merge(Water_Train).merge(Taiga_Train).merge(Tundra_Train);
var bands = ['B2_median','B3_median','B4_median','B5_median','B6_median','NDVI_max'];
var training = Landsat_Composite5.select(bands).sampleRegions({
collection: newtrainingpolygons,
properties: ['Landscape'],
scale: 30
}).randomColumn('random');
///Train the classifier
var classifier = ee.Classifier.randomForest(30).train({
features:training,
classProperty:'Landscape',
inputProperties: bands
});
var classified = Landsat_Composite5.select(bands).classify(classifier);
I am getting the layer error every time.What does it even mean.