MCPcopy Create free account
hub / github.com/catboost/catboost / UniformChoice

Class UniformChoice

catboost/python-package/ut/medium/test.py:3994–4000  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3992 )
3993
3994 class UniformChoice:
3995
3996 def __init__(self, values):
3997 self.values = values
3998
3999 def rvs(self):
4000 return np.random.choice(self.values)
4001
4002 feature_border_type_list = ['Median', 'Uniform', 'UniformAndQuantiles', 'MaxLogSum']
4003 results = model.randomized_search(

Calls

no outgoing calls