class_docstr: An abstract class for representing model outputs (e.g. predictions, probabilities, etc.)
  for internal use within Datalab. This class is not meant to be used by users.
  
  It is used internally within the issue-finding process Datalab runs to assign
  types to the data and process it accordingly.
  
  Parameters
  ----------
  data : array-like
      The model outputs. Not to be confused with the data used to train the model.
      This is mainly intended for NumPy arrays.
class_docstr_tok: ["An","abstract","class","for","representing","model","outputs","(","e.g",".","predictions",",","probabilities",",","etc",".",")","for","internal","use","within","Datalab",".","This","class","is","not","meant","to","be","used","by","users",".","It","is","used","internally","within","the","issue-finding","process","Datalab","runs","to","assign","types","to","the","data","and","process","it","accordingly",".","Parameters","--","--","--","--","--","data",":","array-like","The","model","outputs",".","Not","to","be","confused","with","the","data","used","to","train","the","model",".","This","is","mainly","intended","for","NumPy","arrays","."]
docstr: Validate the data format and content.
  E.g. a pred_probs object used for classification
  should be a 2D array with values between 0 and 1 and sum to 1 for each row.
docstr_tok: ["Validate","the","data","format","and","content",".","E.g",".","a","pred_probs","object","used","for","classification","should","be","a","2D","array","with","values","between","0","and","1","and","sum","to","1","for","each","row","."]
code: def validate(self):
      """
      Validate the data format and content.
      E.g. a pred_probs object used for classification
      should be a 2D array with values between 0 and 1 and sum to 1 for each row.
      """
      pass
  
file_path: cleanlab/cleanlab/datalab/internal/model_outputs.py
imports: from abc import ABC, abstractmethod
  import numpy
  from dataclasses import dataclass
label_desc: Use image node_id 1 for calling the ModelOutput obj's underlying member method code with example usage: obj.validate() without return types