Skip to content

Commit

Permalink
display target description
Browse files Browse the repository at this point in the history
  • Loading branch information
AxeldeRomblay committed Aug 25, 2017
1 parent 9519937 commit d6259c3
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 6 deletions.
Binary file removed docker/mlbox-0.5.0-py2.py3-none-any.whl
Binary file not shown.
4 changes: 4 additions & 0 deletions docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,7 @@ History
* add of new dates features
* add of a new strategy for missing categorical values
* new parallel computing

0.5.1 (2017-08-25)
------------------
* improvement in verbose mode for reader (display target quantiles for regression)
15 changes: 12 additions & 3 deletions examples/regression/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
"\n",
"reading csv : train.csv ...\n",
"cleaning data ...\n",
"CPU time: 0.848104000092 seconds\n",
"CPU time: 0.870355129242 seconds\n",
"\n",
"reading csv : test.csv ...\n",
"cleaning data ...\n",
"CPU time: 0.841671943665 seconds\n",
"CPU time: 0.817306995392 seconds\n",
"\n",
"> Number of common features : 80\n",
"\n",
Expand All @@ -89,7 +89,16 @@
"FireplaceQu 47.3\n",
"dtype: float64\n",
"\n",
"> Task : regression\n"
"> Task : regression\n",
"count 1460.000000\n",
"mean 180921.195890\n",
"std 79442.502883\n",
"min 34900.000000\n",
"25% 129975.000000\n",
"50% 163000.000000\n",
"75% 214000.000000\n",
"max 755000.000000\n",
"Name: SalePrice, dtype: float64\n"
]
}
],
Expand Down
Binary file removed python-package/dist/mlbox-0.5.0-py2.py3-none-any.whl
Binary file not shown.
2 changes: 1 addition & 1 deletion python-package/mlbox/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = """Axel ARONIO DE ROMBLAY"""
__email__ = 'axelderomblay@gmail.com'
__version__ = '0.5.0'
__version__ = '0.5.1'

from .preprocessing import *
from .encoding import *
Expand Down
3 changes: 2 additions & 1 deletion python-package/mlbox/preprocessing/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,8 @@ def train_test_split(self, Lpath, target_name):
dtype='int')

else:
pass
if (self.verbose):
print(y_train.describe())

##############################################################
# Dumping
Expand Down
2 changes: 1 addition & 1 deletion python-package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def run(self):

setup(
name='mlbox',
version='0.5.0',
version='0.5.1',
description="A powerful Automated Machine Learning python library.",
long_description=readme,
author="Axel ARONIO DE ROMBLAY",
Expand Down

0 comments on commit d6259c3

Please sign in to comment.