tf.contrib.learn.BaseEstimator.set_params()

tf.contrib.learn.BaseEstimator.set_params(**params)

Set the parameters of this estimator.

The method works on simple estimators as well as on nested objects (such as pipelines). The former have parameters of the form <component>__<parameter> so that it's possible to update each component of a nested object.

Args:
  • **params: Parameters.
Returns:

self

Raises:
  • ValueError: If params contain invalid names.
doc_TensorFlow
2016-10-14 13:05:30
Comments
Leave a Comment

Please login to continue.