d3rlpy.models.RMSpropFactory¶
- class d3rlpy.models.RMSpropFactory(alpha=0.95, eps=0.01, weight_decay=0.0, momentum=0.0, centered=True)[source]¶
An alias for RMSprop optimizer.
from d3rlpy.optimizers import RMSpropFactory factory = RMSpropFactory(weight_decay=1e-4)
- Parameters:
alpha (float) – smoothing constant.
eps (float) – term added to the denominator to improve numerical stability.
weight_decay (float) – weight decay (L2 penalty).
momentum (float) – momentum factor.
centered (bool) – flag to compute the centered RMSProp, the gradient is normalized by an estimation of its variance.
Methods
- classmethod deserialize(serialized_config)¶
- Parameters:
serialized_config (str) –
- Return type:
TConfig
- classmethod deserialize_from_dict(dict_config)¶
- classmethod from_dict(kvs, *, infer_missing=False)¶
- classmethod from_json(s, *, parse_float=None, parse_int=None, parse_constant=None, infer_missing=False, **kw)¶
- classmethod schema(*, infer_missing=False, only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)¶
- to_dict(encode_json=False)¶
- to_json(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, indent=None, separators=None, default=None, sort_keys=False, **kw)¶
Attributes