validate

FastProp.validate(params=None)[source]

Checks both the types and the values of all instance variables and raises an exception if something is off.

Args:
params (dict, optional):

A dictionary containing the parameters to validate. params can hold the full set or a subset of the parameters explained in FastProp. If params is None, the current set of parameters in the instance dictionary will be validated.