class_docstr: A :class:`Reporter` subclass to visualise the results in Tensorboard.
  
  It utilises Tensorboard's HParams plugin as a dashboard for the summary of
  the optimisation. This class prepares and creates entries with the scalar
  data of the experiment trials, containing the domain sample and the
  corresponding metrics.
  
  Notes:
      The user is responsible for launching TensorBoard in the browser.
class_docstr_tok: ["A",":","class",":","`","Reporter","`","subclass","to","visualise","the","results","in","Tensorboard",".","It","utilises","Tensorboard","'s","HParams","plugin","as","a","dashboard","for","the","summary","of","the","optimisation",".","This","class","prepares","and","creates","entries","with","the","scalar","data","of","the","experiment","trials",",","containing","the","domain","sample","and","the","corresponding","metrics",".","Notes",":","The","user","is","responsible","for","launching","TensorBoard","in","the","browser","."]
docstr: Load history from a database supplied as a path to a file or a
  :obj:`tinydb.TinyDB` object.
  
  Args:
      database: :obj:`str` or :obj:`tinydb.TinyDB`. The database to load.
      table: (optional) :obj:`str`. The table to load from the database.
          This argument is not required if the database has only one table.
  
  Raises:
      :class:`ValueError`: if the database contains more than one table
      and `table` is not given.
docstr_tok: ["Load","history","from","a","database","supplied","as","a","path","to","a","file","or","a",":","obj",":","`","tinydb.TinyDB","`","object",".","Args",":","database",":",":","obj",":","`","str","`","or",":","obj",":","`","tinydb.TinyDB","`",".","The","database","to","load",".","table",":","(","optional",")",":","obj",":","`","str","`",".","The","table","to","load","from","the","database",".","This","argument","is","not","required","if","the","database","has","only","one","table",".","Raises",":",":","class",":","`","ValueError","`",":","if","the","database","contains","more","than","one","table","and","`","table","`","is","not","given","."]
code: def from_database(
      self, database: Union[str, tinydb.TinyDB], table: str = None
  ):
      """Load history from a database supplied as a path to a file or a
      :obj:`tinydb.TinyDB` object.
  
      Args:
          database: :obj:`str` or :obj:`tinydb.TinyDB`. The database to load.
          table: (optional) :obj:`str`. The table to load from the database.
              This argument is not required if the database has only one table.
  
      Raises:
          :class:`ValueError`: if the database contains more than one table
          and `table` is not given.
      """
      super(Tensorboard, self).from_database(database, table)
      for doc in self._db_default_table:
          history_point = self._convert_doc_to_history(doc)
          self._log_history_point(history_point)
  
file_path: hypertunity/hypertunity/reports/tensorboard.py
imports: import os
  import sys
  from typing import Any, Dict, List, Union
  import tinydb
  from hypertunity import utils
  from hypertunity.domain import Domain, Sample
  from hypertunity.optimisation.base import HistoryPoint
  from .base import Reporter
label_desc: Use image node_id 8 for calling the Tensorboard obj's underlying member method code with example usage: obj.from_database(database, table) without return types