File: __init__.py

package info (click to toggle)
python-pattern 2.6%2Bgit20180818-4
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 95,148 kB
  • sloc: python: 28,136; xml: 15,085; javascript: 5,810; makefile: 194
file content (17 lines) | stat: -rw-r--r-- 300 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from __future__ import absolute_import
from __future__ import division

LIBSVM = LIBLINEAR = True

try:
    from svm import libsvm
    from svm import libsvmutil
except ImportError as e:
    LIBSVM = False
    raise e

try:
    import liblinear
    import liblinearutil
except:
    LIBLINEAR = False