class_docstr: ```
  predictions for tabular data
  ```
code: def __init__(self, model, preproc, batch_size=U.DEFAULT_BS):
      if not isinstance(model, keras.Model):
          raise ValueError("model must be of instance keras.Model")
      if (
          not isinstance(preproc, TabularPreprocessor)
          and type(preproc).__name__ != "TabularPreprocessor"
      ):
          raise ValueError(
              "preproc must be a TabularPreprocessor object"
          )
      self.model = model
      self.preproc = preproc
      self.c = self.preproc.get_classes()
      self.batch_size = batch_size
  
file_path: ktrain/ktrain/tabular/predictor.py
imports: from ..None import utils
  from ..imports import *
  from ..predictor import Predictor
  from .preprocessor import TabularPreprocessor
label_desc: Use image node_id 1 to create a new TabularPredictor object from inherited base classes: Predictor with example: obj = TabularPredictor(model, preproc, batch_size)