16 lines
479 B
Python
16 lines
479 B
Python
from crossvalidation import lpls_val
|
|
from statistics import lpls_qvals
|
|
from engines import nipals_lpls as lpls
|
|
#from tests import *
|
|
|
|
__version__ = '0.0.1'
|
|
|
|
def test(level=1, verbosity=1):
|
|
import os, sys
|
|
print 'lplslib is installed in %s' % (os.path.split(__file__)[0],)
|
|
print 'lpls ib version %s' % (__version__,)
|
|
print 'Python version %s' % (sys.version.replace('\n', '',),)
|
|
from numpy.testing import NumpyTest
|
|
return NumpyTest().test(level, verbosity)
|
|
|