docstr: Retrieves the Kolmogorov-Smirnov metric (K-S metric) for a given binomial model. The number returned is in range between 0 and 1.
  The K-S metric represents the degree of separation between the positive (1) and negative (0) cumulative distribution
  functions. Detailed metrics per each group are to be found in the gains-lift table.
  
  :return: Kolmogorov-Smirnov metric, a number between 0 and 1.
  
  :examples:
  
  >>> from h2o.estimators import H2OGradientBoostingEstimator
  >>> airlines = h2o.import_file("https://s3.amazonaws.com/h2o-public-test-data/smalldata/testng/airlines_train.csv")
  >>> model = H2OGradientBoostingEstimator(ntrees=1,
  ...                                      gainslift_bins=20)
  >>> model.train(x=["Origin", "Distance"],
  ...             y="IsDepDelayed",
  ...             training_frame=airlines)
  >>> model.kolmogorov_smirnov()
docstr_tok: ["Retrieves","the","Kolmogorov-Smirnov","metric","(","K-S","metric",")","for","a","given","binomial","model",".","The","number","returned","is","in","range","between","0","and","1",".","The","K-S","metric","represents","the","degree","of","separation","between","the","positive","(","1",")","and","negative","(","0",")","cumulative","distribution","functions",".","Detailed","metrics","per","each","group","are","to","be","found","in","the","gains-lift","table",".",":","return",":","Kolmogorov-Smirnov","metric",",","a","number","between","0","and","1.",":","examples",":",">",">",">","from","h2o.estimators","import","H2OGradientBoostingEstimator",">",">",">","airlines","=","h2o.import_file","(","``","https",":","\/\/s3.amazonaws.com\/h2o-public-test-data\/smalldata\/testng\/airlines_train.csv","''",")",">",">",">","model","=","H2OGradientBoostingEstimator","(","ntrees=1",",","...","gainslift_bins=20",")",">",">",">","model.train","(","x=","[","``","Origin","''",",","``","Distance","''","]",",","...","y=","''","IsDepDelayed","''",",","...","training_frame=airlines",")",">",">",">","model.kolmogorov_smirnov","(",")"]
code: def kolmogorov_smirnov(self):
      """
      Retrieves the Kolmogorov-Smirnov metric (K-S metric) for a given binomial model. The number returned is in range between 0 and 1.
      The K-S metric represents the degree of separation between the positive (1) and negative (0) cumulative distribution
      functions. Detailed metrics per each group are to be found in the gains-lift table.
  
      :return: Kolmogorov-Smirnov metric, a number between 0 and 1.
  
      :examples:
  
      >>> from h2o.estimators import H2OGradientBoostingEstimator
      >>> airlines = h2o.import_file("https://s3.amazonaws.com/h2o-public-test-data/smalldata/testng/airlines_train.csv")
      >>> model = H2OGradientBoostingEstimator(ntrees=1,
      ...                                      gainslift_bins=20)
      >>> model.train(x=["Origin", "Distance"],
      ...             y="IsDepDelayed",
      ...             training_frame=airlines)
      >>> model.kolmogorov_smirnov()
      """
      return max(self.gains_lift()["kolmogorov_smirnov"])
  
imports: from h2o.utils.compatibility import *
  from h2o.exceptions import H2OValueError
  from h2o.model import ModelBase
  from h2o.model.extensions import has_extension
  from h2o.utils.metaclass import deprecated_params
  from h2o.utils.typechecks import assert_is_type
label_desc: Use image node_id 25 for calling the H2OBinomialModel obj's underlying member method code with example usage: obj.kolmogorov_smirnov() and returns: max