Checks both the types and the values of all instance variables and raises an exception if something is off.
- params (dict, optional): A dictionary containing
the parameters to validate. If not is passed, the own parameters will be validated.
l = getml.predictors.LogisticRegression() l.learning_rate = 20 l.validate()
This method is called at end of the __init__ constructor and every time before the predictor - or a class holding it as an instance variable - is send to the getML engine.