zhaozhiyong19890102 / python-machine-learning-algorithm Goto Github PK
View Code? Open in Web Editor NEWPython-Machine-Learning-Algorithm
Python-Machine-Learning-Algorithm
运行代码时,报错内容为NameError: name 'xrange' is not defined,请问下xrange是什么?
如题
你好!看到您写的关于BP神经网络的代码,针对w的初始化,搜索了下你使用的是Xavier的公式(http://proceedings.mlr.press/v9/glorot10a/glorot10a.pdf),即w在(-sqre(6/(n+n_hidden)), sqre(6/(n+n_hidden))), 这没有疑问,在具体实现中你的代码如下,先取0到1之间均匀分布随机数,后边应该乘以sqrt(6/(n+n_hidden)),但如下代码为什么会多出来一段,并且数字也不太一致,请教下是什么原因?是有别的初始化公式吗?
w0 = w0 * (8.0 * sqrt(6) / sqrt(n + n_hidden)) -
np.mat(np.ones((n, n_hidden))) *
(4.0 * sqrt(6) / sqrt(n + n_hidden))
如题
逛书店的时候找到了这本书
包含了很多最新的算法
目前市场上最好的教程
特地上来点赞
if subCenter[i, 0] <> minIndex: # 需要改变
change = True
subCenter[i, ] = np.mat([minIndex, minDist])
改成
if subCenter[i, 0] <> minIndex: # 需要改变
change = True
subCenter[i, ] = np.mat([minIndex, minDist])
第一章怎么没有测试数据?
书到手后,发现没有下载数据的接口。有代码没数据。。。尴尬
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.