.. index:: single: linear_svm_classifier .. _linear_svm_classifier/0: .. rst-class:: right **object** ``linear_svm_classifier`` ========================= Linear support vector machine classifier supporting binary and multiclass classification using one-vs-rest margin models. Learns from a dataset object implementing the ``dataset_protocol`` protocol and returns a classifier term that can be used for prediction and exported as predicate clauses. | **Availability:** | ``logtalk_load(linear_svm_classifier(loader))`` | **Author:** Paulo Moura | **Version:** 2:0:0 | **Date:** 2026-05-11 | **Compilation flags:** | ``static, context_switching_calls`` | **Imports:** | ``public`` :ref:`classifier_common ` | **Uses:** | :ref:`format ` | :ref:`linear_algebra ` | :ref:`list ` | :ref:`numberlist ` | :ref:`pairs ` | :ref:`population ` | :ref:`type ` | **Remarks:** | (none) | **Inherited public predicates:** |  :ref:`classifier_protocol/0::check_classifier/1`  :ref:`options_protocol/0::check_option/1`  :ref:`options_protocol/0::check_options/1`  :ref:`classifier_protocol/0::classifier_options/2`  :ref:`options_protocol/0::default_option/1`  :ref:`options_protocol/0::default_options/1`  :ref:`classifier_protocol/0::diagnostic/2`  :ref:`classifier_protocol/0::diagnostics/2`  :ref:`classifier_protocol/0::export_to_clauses/4`  :ref:`classifier_protocol/0::export_to_file/4`  :ref:`classifier_protocol/0::learn/2`  :ref:`classifier_protocol/0::learn/3`  :ref:`options_protocol/0::option/2`  :ref:`options_protocol/0::option/3`  :ref:`classifier_protocol/0::predict/3`  :ref:`classifier_protocol/0::print_classifier/1`  :ref:`classifier_protocol/0::valid_classifier/1`  :ref:`options_protocol/0::valid_option/1`  :ref:`options_protocol/0::valid_options/1`   .. contents:: :local: :backlinks: top Public predicates ----------------- (no local declarations; see entity ancestors if any) Protected predicates -------------------- (no local declarations; see entity ancestors if any) Private predicates ------------------ (no local declarations; see entity ancestors if any) Operators --------- (none) .. seealso:: :ref:`dataset_protocol `, :ref:`logistic_regression_classifier `, :ref:`c45_classifier `, :ref:`knn_classifier `, :ref:`naive_bayes_classifier `, :ref:`nearest_centroid_classifier `, :ref:`random_forest_classifier `, :ref:`adaptive_boosting_classifier `