原创 機器學習 第三週編程習題

plotData function plotData(X, y) %PLOTDATA Plots the data points X and y into a new figure % PLOTDATA(x,y) plots th

原创 python 遍歷文件目錄並修改包含某字符串的文件名字

import sys import os def replace_filename(file_path,var1,var2): for root,dirs,files in os.walk(file_path):

原创 一文搞懂反向傳播算法

  轉載自:https://www.jianshu.com/p/964345dddb70  一、前言 這是一場以誤差(Error)爲主導的反向傳播(Back Propagation)運動,旨在得到最優的全局參數矩陣,進而將多層神經網絡應用

原创 Android Camera驅動中添加新的mode

Camera驅動中添加新的mode模式,本文以全景模式SENSOR_PANORAMA_MODE例進行說明: { .x_output = 2100, .y_output = 1560, ... .mode = SENSOR_PA

原创 STL 中make_heap學習

STL中make_heap 的接口爲: default (1) template <class RandomAccessIterator> void make_heap (RandomAccessIterator first,

原创 吳恩達 機器學習 ex4 編程題

function [J grad] = nnCostFunction(nn_params, ... input_layer_size, ...

原创 機器學習 Coursera 第二週編程題

    ext1 : %% Machine Learning Online Class - Exercise 1: Linear Regression % Instructions % ------------ % % This

原创 7-27遇到問題及解決方法

1、  push到服務器上的代碼需要撤銷。 使用 git   revert  CommitID   git  push 經過這兩步就可以把自己的代碼撤銷,代碼恢復到提交前的狀態。 2、  gpio size和自己的期望不符合。 查找問題的