class_docstr: A class for representing a model's predictions for a regression problem.
  This class is not meant to be used by users.
class_docstr_tok: ["A","class","for","representing","a","model","'s","predictions","for","a","regression","problem",".","This","class","is","not","meant","to","be","used","by","users","."]
code: def validate(self):
      predictions = self.data
      if predictions.ndim != 1:
          raise ValueError(
              "pred_probs must be a 1D array for regression"
          )
  
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 RegressionPredictions obj's underlying member method code with example usage: obj.validate() without return types