Flexible Hierarchical Model for Multidomain Prediction and Feature-Outcome Correlation Analysis