资源简介
实现Logistic Regression的开源代码,LBFGS应该是目前普遍被采用的一种方法,代码简洁,注释详细,不得不拥有!
代码片段和文件信息
/*
* Limited memory BFGS (L-BFGS).
*
* Copyright (c) 1990 Jorge Nocedal
* Copyright (c) 2007-2010 Naoaki Okazaki
* All rights reserved.
*
* Permission is hereby granted free of charge to any person obtaining a copy
* of this software and associated documentation files (the “Software“) to deal
* in the Software without restriction including without limitation the rights
* to use copy modify merge publish distribute sublicense and/or sell
* copies of the Software and to permit persons to whom the Software is
* furnished to do so subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND EXPRESS OR
* IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER
* LIABILITY WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING FROM
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
/* $Id$ */
/*
This library is a C port of the FORTRAN implementation of Limited-memory
Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) method written by Jorge Nocedal.
The original FORTRAN source code is available at:
http://www.ece.northwestern.edu/~nocedal/lbfgs.html
The L-BFGS algorithm is described in:
- Jorge Nocedal.
Updating Quasi-Newton Matrices with Limited Storage.
Mathematics of Computation Vol. 35 No. 151 pp. 773--782 1980.
- Dong C. Liu and Jorge Nocedal.
On the limited memory BFGS method for large scale optimization.
Mathematical Programming B Vol. 45 No. 3 pp. 503-528 1989.
The line search algorithms used in this implementation are described in:
- John E. Dennis and Robert B. Schnabel.
Numerical Methods for Unconstrained Optimization and Nonlinear
Equations Englewood Cliffs 1983.
- Jorge J. More and David J. Thuente.
Line search algorithm with guaranteed sufficient decrease.
ACM Transactions on Mathematical Software (TOMS) Vol. 20 No. 3
pp. 286-307 1994.
This library also implements Orthant-Wise Limited-memory Quasi-Newton (OWL-QN)
method presented in:
- Galen Andrew and Jianfeng Gao.
Scalable training of L1-regularized log-linear models.
In Proceedings of the 24th International Conference on Machine
Learning (ICML 2007) pp. 33-40 2007.
I would like to thank the original author Jorge Nocedal who has been
distributing the effieicnt and explanatory implementation in an open source
licence.
*/
#ifdef HAVE_CONFIG_H
#include
#endif/*HAVE_CONFIG_H*/
#include
#include
#include
#include
#include
#ifdef _MSC_VER
#define inline _
相关资源
- railroad铁路CAD生成
- 操作系统 LRU算法 实验报告 及 程序代
- UART转CAN或LIN的工具(Uart2any)和文档
- LR0分析LR0分析LR0分析LR0分析LR0分析
- 编译原理LR(0)语法分析
- 编译原理:LR分析程序
- 斜带石斑鱼TLR22基因的克隆和鉴定
- TLR2在新生大鼠缺氧缺血性脑损伤后海
- 脑缺氧缺血增加新生大鼠海马区TLR4的
- SentinelRMSToolkitv2.0.rar
- xlrd-1.2.0完整包
- TLR4基因多态性与军团菌感染易感性的
- lr_Del_license.exe LoadRunner 注册表清除工
- 猕猴桃近红外光谱MLR建模中的波长选
- TLR7和NF-κB在外阴硬化性苔藓及外
- 翼型及机翼空气动力分析开源软件X
- SignalR net版本的在线聊天室
- DSLR Remote Pro v2.6.2注册版.rar
- 操作系统实现请求分页存储管理页面
- LR预设大师之作大全
- CLRProfiler 内存泄漏工具 .net
- 凯特龙新产品LRC-M1遥控器的发布
- 高通量实时荧光定量PCR方法筛选FL细胞
- 补糖对运动后血清TLR4水平和白细胞
- 17品优购电商系统开发(学习20天视频
- 10GB ASE-LRM光纤端口的互通性测试
- 编译原理课程设计for循环LR法三元式
- 软件测试实验报告——LR
- .net MVC+Bootstrap下使用localResizeIMG上传图
- IMX6SDLRM.pdf
评论
共有 条评论