This archive contains the test functions for the tanh loss experiments
(Section 7.2.1) in 'Block BFGS Methods'.

The test data is from various sources, and was obtained through the LIBSVM project [1].
All the needed data is stored within the Matlab environment 'tanhEnv.mat', and
the wrappers ('a1a.m', 'a1a_Hessv.m',...) are interfaces which supply function and
gradient/Hessian values to an optimization routine.

If you wish to perform similar tests on other data sets, you can use my
'saveTanh.m' function. This requires a compiled Matlab binary of
'libsvmread.c' from LIBSVM [2].

Wenbo Gao (wg2279@columbia.edu)
Sept 2016

[1] https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/
[2] https://www.csie.ntu.edu.tw/~cjlin/libsvm/


LICENSE
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.