This is the correspoinding matlab code for the paper " Joint Stage Recognition and Anatomical Annotation of Drosophila Gene Expression Patterns". % ---------------------------------------------------------------------- % Permission to use, copy, or modify this software and its documentation % for educational and research purposes only and without fee is here % granted, provided that this copyright notice and the original authors' % names appear on all copies and supporting documentation. This program % shall not be used, rewritten, or adapted as the basis of a commercial % software or hardware product without first obtaining permission of the % authors. The authors make no representations about the suitability of % this software for any purpose. It is provided "as is" without express % or implied warranty. %---------------------------------------------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% How to run: call scripts.m And the stage classification accuracy (avg_accuracy_c) and the anatomical terms annotation (avg_stat_info_a) (1) macro precision; (2) macro recall; (3) macro accuracy; (4) macro F1 (5) micro precision; (6) micro recall; (7) micro accuracy; (8) micro F1 will be reported for 5-fold Cross Validation, where we used one fold for training and 4 folds for testing.