Dimensionality reduction and features visual representation based on conditional probabilities applied to activity classification