for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
"""
Passive Aggressive Classifier
....................................................................................................
MIT License
Copyright (c) 2021-2023 AUT Iran, Mohammad H Forouhesh
Copyright (c) 2021-2022 MetoData.ai, Mohammad H Forouhesh
This module encapsulate the passive aggressive classifier.
from sklearn.linear_model import PassiveAggressiveClassifier
from .meta_sklearn_clf import MetaSkLearnClf
class PAClf(MetaSkLearnClf):
def __init__(self, **kwargs):
super().__init__(classifier_instance=PassiveAggressiveClassifier(max_iter=1000, loss='squared_hinge'), **kwargs)
This check looks for lines that are too long. You can specify the maximum line length.