code: def load_vertex(cls, v):
      node_type = GBDTNode.type2typeid[v["type"]]
      name = v["name"] if (node_type != GBDTNode.NODE_TYPE_LEAF) else ""
      gid = v["id"]
      value = v["value"]
      return GBDTNode(node_type, value, gid, name)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import turicreate
  import unittest
  import json
  import random
  import numpy
  import pytest
label_desc: Use image node_id 2 for calling the GBDTNode obj's underlying member method code with example usage: obj.load_vertex(cls, v) and returns: GBDTNode