Machine learning methods for systemic risk analysis in financial sectors