code: def structure_hierarchical_multilabel_classification(
      train_file_name, test_file_name
  ):
      train_file = open(train_file_name)
      test_file = open(test_file_name)
  
      (
          train_features,
          train_labels,
          train_taxonomy,
      ) = get_features_labels(train_file)
  
      # TODO: fix HierarchicalMultilabelModel initialisation
      model = sg.create_structured_model(
          "HierarchicalMultilabelModel",
          features=train_features,
          labels=train_labels,
          taxonomy=train_taxonomy,
      )
      sgd = sg.create_machine(
          "StochasticSOSVM", model=model, labels=train_labels
      )
  
file_path: shogun/examples/undocumented/python/structure_hierarchical_multilabel_classification.py
imports: import shogun
  import numpy
  import time
label_desc: Use image node_id 5 for calling a global function with example usage: structure_hierarchical_multilabel_classification(train_file_name, test_file_name) without return types