SGDClassifier
SGDClassifierA model type for constructing a sgd classifier, based on MLJScikitLearnInterface.jl, and implementing the MLJ model interface.
From MLJ, the type can be imported using
SGDClassifier = @load SGDClassifier pkg=MLJScikitLearnInterfaceDo model = SGDClassifier() to construct an instance with default hyper-parameters. Provide keyword arguments to override hyper-parameter defaults, as in SGDClassifier(loss=...).
Hyper-parameters
loss = hingepenalty = l2alpha = 0.0001l1_ratio = 0.15fit_intercept = truemax_iter = 1000tol = 0.001shuffle = trueverbose = 0epsilon = 0.1n_jobs = nothingrandom_state = nothinglearning_rate = optimaleta0 = 0.0power_t = 0.5early_stopping = falsevalidation_fraction = 0.1n_iter_no_change = 5class_weight = nothingwarm_start = falseaverage = false