<commit_before>"""
Concrete model classes.
"""

from .logistic_regression import LogisticRegression
from .perceptron import Perceptron
from .svm import SVM
<commit_msg>svm: not importing if libsvm interface not available<commit_after>"""
Concrete model classes.
"""
import logging

logger = logging.getLogger(__name__)

from .logistic_regression import LogisticRegression
from .perceptron import Perceptron
try:
    from .svm import SVM
except ImportError:
    logger.warn('libsvm python interface not found, SVM model not available.')

{'fraction_non_alphanumeric': 0.07462686567164178, 'fraction_numerical': 0.0, 'mean_word_length': 5.62962962962963, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5686718', 'n_tokens_mistral': 161, 'n_tokens_neox': 152, 'n_words': 55}