class_docstr: This table contains the base learner origins of the Xcessiv notebook
class_docstr_tok: ["This","table","contains","the","base","learner","origins","of","the","Xcessiv","notebook"]
code: def serialize(self):
      return dict(
          id=self.id,
          source=self.source,
          name=self.name,
          validation_results=self.validation_results,
          final=self.final,
          meta_feature_generator=self.meta_feature_generator,
          metric_generators=self.metric_generators,
          hyperparameters=self.hyperparameters,
          description=self.description,
      )
  
imports: from __future__ import absolute_import, print_function, division, unicode_literals
  import random
  import string
  from sqlalchemy.ext.declarative import declarative_base
  from sqlalchemy import Column, Text, Integer, Boolean, TypeDecorator, ForeignKey, Table, UniqueConstraint
  from sqlalchemy.orm import relationship
  from sqlalchemy.ext import mutable
  import numpy
  import json
  import os
  from sklearn.model_selection import train_test_split
  from xcessiv import constants
  from xcessiv import exceptions
  from xcessiv import functions
  from xcessiv import app
label_desc: Use image node_id 2 for calling the BaseLearnerOrigin obj's underlying member method code with example usage: obj.serialize() and returns: dict