liyanghua / gradient-descent-method Goto Github PK
View Code? Open in Web Editor NEWA simple implementation of gradient descent in c++
Home Page: gd
A simple implementation of gradient descent in c++
Home Page: gd
您好,这里是机器学习初学者.
自己编了一组数据跑了一下代码,x是[0, 1]区间内2维的随机数,y[i]是x[i][0] + x[i][1]>1?1:0,一共一千组
看过代码之后觉得target应该是2范数的距离
实际测试的时候target从500降到475.767就停止了,这个算法的效果是不是不太好?
(PS:我昨天自己实现了一下算法,代价函数使用的是Ng CS229的ylog(y^) + (1-y)log(y^),也出现类似误差减小到某一范围后不再减小的问题.很想请问这是固定学习率的通病吗)
谢谢赐教~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.