code: def model_predictions(self):
          
          if isinstance(self.observed, ContinuousColumn):
              return ValueError("Cannot make model predictions on a continuous scale")
          pred = np.zeros(self.data_size).astype('object')
          for node in self:
              if node.is_terminal:
                  pred[node.indices] = max(node.members, key=node.members.get)
          return pred
docs: Determines the highest frequency of
          categorical dependent variable in the
          terminal node where that row fell