Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(1)  |  Import(1)

src/p/e/pegasos-HEAD/pegasos/__init__.py   pegasos(Download)
 
 
from .models import SVMPegasosBase, LogisticPegasosBase
from . import constants
 
class PegasosLogisticRegression(LogisticPegasosBase):
    def __init__(self,
                 iterations=constants.DFLT_ITERATIONS,
                 lambda_reg=constants.DFLT_LAMBDA_REG,
                 loop_type=constants.LOOP_STOCHASTIC,