class_docstr: ```
  Abstract class used to tune and train Keras models. The fit method is
  an abstract method and must be implemented by subclasses.
  ```
class_docstr_tok: ["``","`","Abstract","class","used","to","tune","and","train","Keras","models",".","The","fit","method","is","an","abstract","method","and","must","be","implemented","by","subclasses",".","``","`"]
docstr: ```
  loads model from folder.
  Note: **kwargs included for backwards compatibility only, as TransformerTextClassLearner.load_model was removed in v0.18.0.
  Args:
    fpath(str): path to folder containing model
    custom_objects(dict): custom objects required to load model.
                          For models included with ktrain, this is populated automatically
                          and can be disregarded.
  
  ```
docstr_tok: ["``","`","loads","model","from","folder",".","Note",":","*","*","kwargs","included","for","backwards","compatibility","only",",","as","TransformerTextClassLearner.load_model","was","removed","in","v0.18.0",".","Args",":","fpath","(","str",")",":","path","to","folder","containing","model","custom_objects","(","dict",")",":","custom","objects","required","to","load","model",".","For","models","included","with","ktrain",",","this","is","populated","automatically","and","can","be","disregarded",".","``","`"]
code: def load_model(self, fpath, custom_objects=None, **kwargs):
      """
      ```
      loads model from folder.
      Note: **kwargs included for backwards compatibility only, as TransformerTextClassLearner.load_model was removed in v0.18.0.
      Args:
        fpath(str): path to folder containing model
        custom_objects(dict): custom objects required to load model.
                              For models included with ktrain, this is populated automatically
                              and can be disregarded.
  
      ```
      """
      self.model = _load_model(
          fpath,
          train_data=self.train_data,
          custom_objects=custom_objects,
      )
      return
  
imports: from .None import utils
  from .graph.predictor import LinkPredictor, NodePredictor
  from .graph.preprocessor import LinkPreprocessor, NodePreprocessor
  from .imports import *
  from .lroptimize.lrfinder import *
  from .tabular.predictor import TabularPredictor
  from .tabular.preprocessor import TabularPreprocessor
  from .text.ner.predictor import NERPredictor
  from .text.ner.preprocessor import NERPreprocessor
  from .text.predictor import TextPredictor
  from .text.preprocessor import BERTPreprocessor, TextPreprocessor, TransformersPreprocessor
  from .vision.predictor import ImagePredictor
  from .vision.preprocessor import ImagePreprocessor
label_desc: Use image node_id 12 for calling the Learner obj's underlying member method code with example usage: obj.load_model(fpath, custom_objects) without return types