class_docstr: Distance function obtained from a kernel function.
  
  Formal details (for real valued objects, mixed typed rows in analogy):
  Let :math:`k: \mathbb{R}^D \times \mathbb{R}^D\rightarrow \mathbb{R}`
  be the pairwise function in `kernel`, when applied to `D`-vectors.
  `DistFromKernel(dist)` corresponds to the distance function
  :math:`d(x, y) := \sqrt{k(x, x) + k(y, y) - 2 \cdot k(x, y)}`.
  
  It should be noted that if :math:`k` is positive semi-definite,
  then :math:`d` will be a metric and satisfy the triangle inequality.
  
  Parameters
  ----------
  kernel : pairwise transformer of BasePairwiseTransformer scitype, or
      callable np.ndarray (n_samples, nd) x (n_samples, nd) -> (n_samples x n_samples)
class_docstr_tok: ["Distance","function","obtained","from","a","kernel","function",".","Formal","details","(","for","real","valued","objects",",","mixed","typed","rows","in","analogy",")",":","Let",":","math",":","`","k",":","\\mathbb","{","R","}","^D","\\times","\\mathbb","{","R","}","^D\\rightarrow","\\mathbb","{","R","}","`","be","the","pairwise","function","in","`","kernel","`",",","when","applied","to","`","D","`","-vectors",".","`","DistFromKernel","(","dist",")","`","corresponds","to","the","distance","function",":","math",":","`","d","(","x",",","y",")",":","=","\\sqrt","{","k","(","x",",","x",")","+","k","(","y",",","y",")","-","2","\\cdot","k","(","x",",","y",")","}","`",".","It","should","be","noted","that","if",":","math",":","`","k","`","is","positive","semi-definite",",","then",":","math",":","`","d","`","will","be","a","metric","and","satisfy","the","triangle","inequality",".","Parameters","--","--","--","--","--","kernel",":","pairwise","transformer","of","BasePairwiseTransformer","scitype",",","or","callable","np.ndarray","(","n_samples",",","nd",")","x","(","n_samples",",","nd",")","-",">","(","n_samples","x","n_samples",")"]
docstr: Return testing parameter settings for the estimator.
  
  Parameters
  ----------
  parameter_set : str, default="default"
      Name of the set of test parameters to return, for use in tests. If no
      special parameters are defined for a value, will return `"default"` set.
  
  Returns
  -------
  params : dict or list of dict, default={}
      Parameters to create testing instances of the class.
      Each dict are parameters to construct an "interesting" test instance, i.e.,
      `MyClass(**params)` or `MyClass(**params[i])` creates a valid test instance.
      `create_test_instance` uses the first (or only) dictionary in `params`.
docstr_tok: ["Return","testing","parameter","settings","for","the","estimator",".","Parameters","--","--","--","--","--","parameter_set",":","str",",","default=","''","default","''","Name","of","the","set","of","test","parameters","to","return",",","for","use","in","tests",".","If","no","special","parameters","are","defined","for","a","value",",","will","return","`","``","default","''","`","set",".","Returns","--","--","--","-","params",":","dict","or","list","of","dict",",","default=","{","}","Parameters","to","create","testing","instances","of","the","class",".","Each","dict","are","parameters","to","construct","an","``","interesting","''","test","instance",",","i.e.",",","`","MyClass","(","*","*","params",")","`","or","`","MyClass","(","*","*","params","[","i","]",")","`","creates","a","valid","test","instance",".","`","create_test_instance","`","uses","the","first","(","or","only",")","dictionary","in","`","params","`","."]
code: def get_test_params(cls, parameter_set="default"):
      """Return testing parameter settings for the estimator.
  
      Parameters
      ----------
      parameter_set : str, default="default"
          Name of the set of test parameters to return, for use in tests. If no
          special parameters are defined for a value, will return `"default"` set.
  
      Returns
      -------
      params : dict or list of dict, default={}
          Parameters to create testing instances of the class.
          Each dict are parameters to construct an "interesting" test instance, i.e.,
          `MyClass(**params)` or `MyClass(**params[i])` creates a valid test instance.
          `create_test_instance` uses the first (or only) dictionary in `params`.
      """
      from sktime.dists_kernels import DtwDist, EditDist
  
      params1 = {"kernel": DtwDist()}
      params2 = {"kernel": EditDist()}
  
      return [params1, params2]
  
file_path: sktime/sktime/dists_kernels/dist_to_kern.py
imports: import numpy
  from sktime.dists_kernels.base import BasePairwiseTransformerPanel
label_desc: Use image node_id 3 for calling the DistFromKernel obj's underlying member method code with example usage: obj.get_test_params(cls, parameter_set) and returns: list