Hi, The result you get does not mean that the classes are not detected to create the model. If they appear in the list of classes, that means that they are used during the training.
This probably means that these classes are not correctly classified. Maybe the number of training samples is to low or the classes are difficult to distinguish. You can have a look at the confusion matrix and investigate with which classes they are confused. Maybe this will give you ideas about image features which could enhance the recognition of these classes. Jordi benslimen ines <[email protected]> wrote: > > Hello, > > I applied 'TrainImagesClassifier' on my .shp with 19 classes. Some classes > are not detected to create the model ... > > Example : Precision of class [X] vs all =0 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [1] vs > all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [1] vs all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [1] vs all: > 0 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [2] vs > all: 0.447061 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [2] vs all: > 0.408142 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [2] vs all: > 0.426716 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [3] vs > all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [3] vs all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [3] vs all: > 0 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [4] vs > all: 0.403965 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [4] vs all: > 0.0390466 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [4] vs all: > 0.0712101 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [5] vs > all: 0.622302 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [5] vs all: > 0.935787 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [5] vs all: > 0.747509 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [6] vs > all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [6] vs all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [6] vs all: > 0 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [7] vs > all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [7] vs all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [7] vs all: > 0 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [8] vs > all: 0.495662 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [8] vs all: > 0.0743525 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [8] vs all: > 0.129308 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [9] vs > all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [9] vs all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [9] vs all: > 0 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [10] vs > all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [10] vs all: > 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [10] vs > all: 0 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [11] vs > all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [11] vs all: > 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [11] vs > all: 0 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [12] vs > all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [12] vs all: > 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [12] vs > all: 0 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [13] vs > all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [13] vs all: > 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [13] vs > all: 0 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [14] vs > all: 0.75 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [14] vs all: > 7.34107e-005 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [14] vs > all: 0.000146807 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [15] vs > all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [15] vs all: > 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [15] vs > all: 0 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [16] vs > all: 0.429225 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [16] vs all: > 0.0938102 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [16] vs > all: 0.153969 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [17] vs > all: 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [17] vs all: > 0 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [17] vs > all: 0 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [18] vs > all: 0.733633 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [18] vs all: > 0.79161 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [18] vs > all: 0.761519 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Precision of class [19] vs > all: 0.944808 > 2016 Jun 23 16:35:37 : Application.logger (INFO) Recall of class [19] vs all: > 0.427785 > 2016 Jun 23 16:35:37 : Application.logger (INFO) F-score of class [19] vs > all: 0.588921 > > 2016 Jun 23 16:35:37 : Application.logger (INFO) Global performance, Kappa > index: 0.370707 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[0] = 1 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[1] = 2 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[2] = 3 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[3] = 4 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[4] = 5 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[5] = 6 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[6] = 7 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[7] = 8 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[8] = 9 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[9] = 10 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[10] = 11 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[11] = 12 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[12] = 13 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[13] = 14 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[14] = 15 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[15] = 16 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[16] = 17 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[17] = 18 > 2016 Jun 23 16:35:37 : Application.logger (INFO) mapOfIndicesValid[18] = 19 > > > -- -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
