sanketsaurav / lore

if expression used can be simplified PYL-R1719
Anti-pattern
Minor
4 years ago5 years old
The if expression can be replaced with 'test'
 51        if validation_x is not None and validation_y is not None:
 52            eval_set += [(validation_x, validation_y)]
 53        if verbose is None:
 54            verbose = True if lore.env.NAME == lore.env.DEVELOPMENT else False 55        try:
 56            super(Base, self).fit(
 57                X=x,