PassiveAggressiveClassifier
PassiveAggressiveClassifier
A model type for constructing a passive aggressive classifier, based on MLJScikitLearnInterface.jl, and implementing the MLJ model interface.
From MLJ, the type can be imported using
PassiveAggressiveClassifier = @load PassiveAggressiveClassifier pkg=MLJScikitLearnInterface
Do model = PassiveAggressiveClassifier()
to construct an instance with default hyper-parameters. Provide keyword arguments to override hyper-parameter defaults, as in PassiveAggressiveClassifier(C=...)
.
Hyper-parameters
C = 1.0
fit_intercept = true
max_iter = 100
tol = 0.001
early_stopping = false
validation_fraction = 0.1
n_iter_no_change = 5
shuffle = true
verbose = 0
loss = hinge
n_jobs = nothing
random_state = 0
warm_start = false
class_weight = nothing
average = false