def _partial_fit_binary(estimator, X, y):
 estimator.partial_fit(X, y, np.array((0, 1)))
 return estimator

def _partial_fit_binary ( estimator , X , y ) : estimator . partial_fit ( X , y , np . array ( ( 0 , 1 ) ) ) return estimator
partially fit a single binary estimator .