scButterfly.butterfly.Butterfly.test_model

Butterfly.test_model(batch_size=64, model_path=None, load_model=False, output_path=None, test_cluster=False, test_figure=False, output_data=False)

Test for model.

Parameters:
  • model_path (str) – path for load trained model, default None.

  • load_model (bool) – load the pretrained model or not, default False.

  • output_path (str) – file path for model output, default None.

  • test_cluster (bool) – test clustrer index or not, default False.

  • test_figure (bool) – test tSNE or not, default False.

  • output_data (bool) – output the predicted test data to file or not, default False.