Skip to content

Commit

Permalink
0.3.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
aksnzhy committed Oct 29, 2018
1 parent adab584 commit 8253ae6
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 13 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -32,6 +32,10 @@ xLearn can be used for solving large-scale machine learning problems. First, xLe

## What's New

- 2018-10-29 xLearn 0.3.6 version release. Main update:

* Add incremental Reader, which can save 50% memory cost.

- 2018-10-22 xLearn 0.3.5 version release. Main update:

* Fix bugs in 0.3.4.
Expand Down
2 changes: 1 addition & 1 deletion doc/install.rst
Expand Up @@ -124,7 +124,7 @@ You will see the following message if the installation is successful: ::
> <| |___| __/ (_| | | | | | |
/_/\_\_____/\___|\__,_|_| |_| |_|

xLearn -- 0.31 Version --
xLearn -- 0.36 Version --
-------------------------------------------------------------------------


Expand Down
6 changes: 5 additions & 1 deletion doc/news.md
@@ -1,5 +1,9 @@
## What's New

- 2018-10-29 xLearn 0.3.6 version release. Main update:

* Add incremental Reader, which can save 50% memory cost.

- 2018-10-22 xLearn 0.3.5 version release. Main update:

* Fix bugs in 0.3.4.
Expand Down Expand Up @@ -39,4 +43,4 @@
* New Documents
* Faster FTRL algorithm

- 2017-11-24 The first version (0.1.0) of xLearn release !
- 2017-11-24 The first version (0.1.0) of xLearn release !
2 changes: 1 addition & 1 deletion doc/python_package.rst
Expand Up @@ -18,7 +18,7 @@ If you install xLearn Python package successfully, you will see: ::
> <| |___| __/ (_| | | | | | |
/_/\_\_____/\___|\__,_|_| |_| |_|

xLearn -- 0.35 Version --
xLearn -- 0.36 Version --
-------------------------------------------------------------------------

Quick Start
Expand Down
2 changes: 1 addition & 1 deletion makeR.sh
Expand Up @@ -2,4 +2,4 @@ rm -r xlearn
cp -r R-package xlearn
cp -r src xlearn/src/src
R CMD build xlearn
R CMD INSTALL xlearn_0.3.5.tar.gz
R CMD INSTALL xlearn_0.3.6.tar.gz
2 changes: 1 addition & 1 deletion python-package/README.rst
Expand Up @@ -18,7 +18,7 @@ If you install xLearn Python package successfully, you will see ::
> <| |___| __/ (_| | | | | | |
/_/\_\_____/\___|\__,_|_| |_| |_|

xLearn -- 0.35 Version --
xLearn -- 0.36 Version --
-------------------------------------------------------------------------

Quick Start
Expand Down
2 changes: 1 addition & 1 deletion python-package/xlearn/VERSION
@@ -1 +1 @@
0.3.4
0.3.6
2 changes: 1 addition & 1 deletion src/c_api/c_api.cc
Expand Up @@ -39,7 +39,7 @@ XL_DLL int XLearnHello() {
" \\ \\/ / | / _ \\/ _` | '__| '_ \\ \n"
" > <| |___| __/ (_| | | | | | |\n"
" /_/\\_\\_____/\\___|\\__,_|_| |_| |_|\n\n"
" xLearn -- 0.35 Version --\n"
" xLearn -- 0.36 Version --\n"
"----------------------------------------------------------------------------------------------\n"
"\n";
Color::Modifier green(Color::FG_GREEN);
Expand Down
8 changes: 2 additions & 6 deletions src/solver/solver.cc
Expand Up @@ -238,9 +238,7 @@ void Solver::init_train() {
// Create Reader
for (int i = 0; i < num_reader; ++i) {
reader_[i] = create_reader();
if (reader_[i]->Type().compare("on-disk") == 0) {
reader_[i]->SetBlockSize(hyper_param_.block_size);
}
reader_[i]->SetBlockSize(hyper_param_.block_size);
reader_[i]->Initialize(file_list[i]);
if (!hyper_param_.on_disk) {
reader_[i]->SetShuffle(true);
Expand Down Expand Up @@ -430,9 +428,7 @@ void Solver::init_predict() {
// Create Reader
reader_.resize(1, create_reader());
CHECK_NE(hyper_param_.test_set_file.empty(), true);
if (reader_[0]->Type().compare("on-disk") == 0) {
reader_[0]->SetBlockSize(hyper_param_.block_size);
}
reader_[0]->SetBlockSize(hyper_param_.block_size);
reader_[0]->Initialize(hyper_param_.test_set_file);
reader_[0]->SetShuffle(false);
if (reader_[0] == nullptr) {
Expand Down

0 comments on commit 8253ae6

Please sign in to comment.