code: def get_type(self, ps=None):
      if ps is None:
          return self.type_
      return [self.type_[self.ind[p]] for p in ps]
  
imports: import random
  import os
  import sys
  import collections
  import itertools
  import pickle
  import scipy.sparse
  import networkx
  import numpy
  from sklearn.cluster import SpectralClustering
  from sklearn import gaussian_process
  from scipy.optimize import minimize
  from bayes_opt import BayesianOptimization
label_desc: Use image node_id 3 for calling the Params obj's underlying member method code with example usage: obj.get_type(ps) and returns: unknown, self