code: def test_invalid_init():
      with pytest.raises(Exception):
          MPCATrainer(classifier="Ridge")
      with pytest.raises(Exception):
          MPCATrainer(classifier_params=False)
  
file_path: pykale/tests/pipeline/test_mpca_trainer.py
imports: import matplotlib.figure
  import numpy
  import pytest
  from numpy import testing
  from sklearn.metrics import accuracy_score, roc_auc_score
  from kale.interpret import model_weights, visualize
  from kale.pipeline.mpca_trainer import MPCATrainer
label_desc: Use image node_id 2 for calling a global function with example usage: test_invalid_init() without return types