Feature selection and hierarchical classifier design with applications to human motion recognition