docstr: Compute the accuracy given by the statistics computed in _compute_stats().
docstr_tok: ["Compute","the","accuracy","given","by","the","statistics","computed","in","_compute_stats","(",")","."]
code: def _compute_accuracy_from_stats(
      self, num_true_positives, total_exemples
  ):
      """
      Compute the accuracy given by the statistics computed in _compute_stats().
      """
      return num_true_positives / total_exemples * 100
  
file_path: poutyne/examples/medium_post/train_with_custom_metrics.py
imports: import torch
  import torch.nn
  from torch.utils.data import random_split
  from torchvision.datasets import MNIST
  from torchvision.transforms import ToTensor
  from poutyne import Model, Metric
label_desc: Use image node_id 3 for calling the MyAccuracyMetric obj's underlying member method code with example usage: obj._compute_accuracy_from_stats(num_true_positives, total_exemples) and returns: unknown