zoukankan      html  css  js  c++  java
  • 神经网络

    Program exercise

    • Feedforward and cost function
      •   complete the code in nnCostFunction.m
      •       costFunction is
      •  
      • The input Matrix X is a 5000 * 400 matrix, and the output vector y is 5000 * 1.
      • The initial theta provided by assignment is a vetor and need to be urolled into matrix. This procedure can be done by using the function           reshape(X, M, N). This function return a M*N matrix whose element is clockwise of vector X. An error is returned if X does not have M*N element. And, we can use theta1 directly because the code have reshape the matrix for us.
      • when I calculate the transform_y, I made I stupid mistake ...
      • another mistake , forget to remove theta1 when do the regulization cost funtion. And forget how to trim a matrix 
  • 相关阅读:
    MLE
    AHOI/HNOI2018道路
    AHOI/HNOI2018排列
    推式子
    AHOI/HNOI2018游戏
    ! BJOI2018治疗之雨
    BJOI2018链上二次求和
    BJOI2018双人猜数游戏
    ! BJOI2018染色
    BJOI2018二进制
  • 原文地址:https://www.cnblogs.com/xinsheng/p/3094687.html
Copyright © 2011-2022 走看看