登录
首页 » Others » 黄金矿工源码

黄金矿工源码

于 2020-12-01 发布
0 287
下载积分: 1 下载次数: 1

代码说明:

这个小程序自己写了,时间紧促,其中有不足之处,希望谅解,这个程序只是供大家学习用,开发环境是xcode cocos2d-x

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 稀疏自码深度学习的Matlab实现
    稀疏自编码深度学习的Matlab实现,sparse Auto coding,Matlab codetrain, m/7% CS294A/CS294W Programming Assignment Starter CodeInstructions%%%This file contains code that helps you get started ontheprogramming assignment. You will need to complete thecode in sampleIMAgEsml sparseAutoencoder Cost m and computeNumericalGradientml For the purpose of completing the assignment, you domot need tochange the code in this filecurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencodtrain.m∥%%========%6% STEP 0: Here we provide the relevant parameters valuesthat willl allow your sparse autoencoder to get good filters; youdo not need to9 change the parameters belowvisibleSize =8*8; number of input unitshiddensize 25number of hidden unitssparsity Param =0.01; desired average activation ofthe hidden units7 (This was denoted by the greek alpharho, which looks like a lower-case pcurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod4/57train.,m∥in the lecture notes)1 ambda=0.0001%o weight decay parameterbeta 3%o weight of sparsity penalty term%%==:79 STEP 1: Implement sampleIMAGESAfter implementing sampleIMAGES, the display_networkcommand shouldfo display a random sample of 200 patches from the datasetpatches sampleIMAgES;display_network(patches(:, randi(size(patches, 2), 204, 1)), 8)%为产生一个204维的列向量,每一维的值为0~10000curer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod5/57train.m/v%中的随机数,说明是随机取204个 patch来显示%o Obtain random parameters thetatheta= initializeParameters ( hiddenSize, visibleSize)%%=============三三三三====================================97 STEP 2: Implement sparseAutoencoder CostYou can implement all of the components (squared errorcost, weight decay termsparsity penalty) in the cost function at once, butit may be easier to do%o it step-by-step and run gradient checking (see STEP3 after each stepWecurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod6/57train. m vb suggest implementing the sparseAutoencoder Cost functionusing the following steps(a) Implement forward propagation in your neural networland implement the%squared error term of the cost function. Implementbackpropagation tocompute the derivatives. Then (using lambda=beta=(run gradient Checking%to verify that the calculations corresponding tothe squared error costterm are correctcurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod7/57train. m vl(b) Add in the weight decay term (in both the cost funcand the derivativecalculations), then re-run Gradient Checking toverify correctnessl (c) Add in the sparsity penalty term, then re-run gradiChecking toverify correctnessFeel free to change the training settings when debuggingyour%o code. (For example, reducing the training set sizecurer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod8/57train m vl/number of hidden units may make your code run fasterand setting betaand/or lambda to zero may be helpful for debuggingHowever, in yourfinal submission of the visualized weights, please useparameters web gave in Step 0 abovecoS七grad]sparseAutoencoderCost(theta, visibleSize,hiddensize, lambda,sparsityParam, beta,patches)二〓二二二二二二二〓二〓二〓二〓=二====〓=curer:YiBinYUyuyibintony@163.com,WuYiUniversityning, MATLAB Code for Sparse Autoencod9/57train.m vlll96% STeP 3: Gradient CheckingHint: If you are debugging your code, performing gradienchecking on smaller modelsand smaller training sets (e. g, using only 10 trainingexamples and 1-2 hiddenunits) may speed things upl First, lets make sure your numerical gradient computationis correct for a%o simple function. After you have implemented computeNumerun the followingcheckNumericalGradientocurer:YiBinYUyuyibintony@163.com,WuYiUniversityDeep Learning, MATLAB Code for Sparse Autoencode10/57
    2020-12-05下载
    积分:1
  • 计算机科学中的范畴论.pdf
    计算机科学中的范畴论.pdf计算机科学中的范畴论.pdf
    2020-06-03下载
    积分:1
  • PacketTracer实验成品全集
    最全面的ccna实验集合,里面有详细的讲解和拓扑实验,助考ccna不是梦!
    2020-12-12下载
    积分:1
  • 图像质心提取算法
    【实例简介】亚像素质心定位算法 二值化质心定位算法 加权二值化质心定位算法
    2021-11-18 00:45:32下载
    积分:1
  • stm32f4xx固件库
    这是stm32f4xx的固件库,里面有启动文件和各种库函数的c代码和h代码应有尽有
    2021-05-07下载
    积分:1
  • 旅游网站系统项目开发
    1、系统分为系统前台和系统后台,并使用了母版;2、用户分为普通用户、注册用户、管理者;3、代码都有详细的注解;4、是网站开发者的引路项目,也适合新手参考研究。
    2020-12-08下载
    积分:1
  • 任意次B样条小波的构造及小波模极大值检测奇异点例子 matlab
    可以构造任意次B样条小波,有小波模极大值检测奇异点例子, matlab程序
    2020-11-27下载
    积分:1
  • 逐步回归MATLAB序(新)
    曾经下过一个关于逐步回归的程序,但好像有问题,为此编写了一个精简的MATLAB逐步回归算法,如果想增加它的适用范围的话,还可以补充上你自己的代码。
    2020-12-06下载
    积分:1
  • 电子相册--QT
    基于QT的电子相册 可实现U盘读取 自动播放 暂停播放等功能 程序截图在博客里
    2020-12-08下载
    积分:1
  • DAVE4教,入门.docx
    【实例简介】infineon dave4入门教程,包含新建,导入工程,调试,下载程序
    2021-11-21 01:02:00下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载