We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b7d4869 + 8ad61fa commit 927df74Copy full SHA for 927df74
setup.py
@@ -1,19 +1,6 @@
1
-import sys
2
from setuptools import setup, find_packages
3
4
5
-try:
6
- import numpy
7
-except ImportError:
8
- print('numpy is required during installation')
9
- sys.exit(1)
10
-
11
12
- import scipy
13
14
- print('scipy is required during installation')
15
16
17
setup(name='skope-rules',
18
version='1.0.0',
19
description='Machine Learning with Interpretable Rules',
skrules/tests/test_common.py
@@ -4,8 +4,8 @@
def test_classifier():
- return check_estimator(SkopeRules)
+ check_estimator(SkopeRules)
def test_load_credit_data():
- return load_credit_data().data.shape[0] == 30000
+ assert load_credit_data().data.shape[0] == 30000
0 commit comments