原创 LeetCode 657 Judge Route Circle 判斷路線圈

Initially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot makes a circle, whic

原创 LeetCode 104 Maximum Depth of Binary Tree

Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the r

原创 LeetCode 520 Detect Capital 檢測大寫

Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in

原创 Matlab 數據處理總結

1、將圖片固定大小輸出 將圖片以227*227*3的大小固定輸出 new_image=imresize(image,[227,227]) 2、改變圖片的名字 path_image=’F:\image\’; files_all=dir(

原创 模型評估與選擇

一、經驗誤差與過擬合 錯誤率:分類錯誤的樣本書佔樣本總數的比例 誤差:學習器的實際預測輸出與樣本的真實輸出之間的差異 訓練誤差(經驗誤差)學習器在訓練集上的誤差 泛華誤差:在新樣本上的誤差 過擬合:學習器把訓練樣本學的“太好”了,

原创 LeetCode 461 Hamming Distance 漢明距離

The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Giv

原创 論文筆記《Faster RCNN》

摘要 最先進的目標檢測網絡 取決於感興趣區域提取算法以及目標定位,像SPP網以及Fast RCNN網絡減少了檢測的時間消耗,與此同時區域提取的時間消耗達到了瓶頸,本文使用區域提取網絡,該網絡與檢測網絡共享圖像的卷積特徵,因此區域提取的消

原创 決策樹

簡述 決策樹是一類常見的機器學習方法,是基於樹結構來進行決策的,決策過程中提出的每個判定問題都是對某個屬性的測試,每個測試的結果或是導出最終結論,或是導出進一步的判定問題,其考慮範圍是在上次決策結果的限定範圍之內。決策過程的最終結論對應了

原创 線性模型

基本形式 給定由d個屬性描述的示例 x=(x1;x2;…;xd) xi 是x在第i個屬性上的取值,線性模型試圖學得一個通過屬性的線性組合進行預測的函數 f(x)=wTx+b w=(w1;w2;…;wd) 線性迴歸 線性

原创 Mask R-CNN

創新點: 1、multi-task 同時完成classification、bounding box regression and instance segmentation 2、speed and accuracy 都有提升 3、增加

原创 LeetCode OJ 第1題 (Two Sum )

Two Sum C 語言和Python實現

原创 LeetCode 566 Reshape the Matrix 重置矩陣

In MATLAB, there is a very useful function called ‘reshape’, which can reshape a matrix into a new one with different s

原创 機器學習基本概念

機器學習基本概念: 假設有一批關於西瓜記錄的數據: 記錄的集合稱爲“數據集” 每條記錄是關於西瓜的描述稱爲“樣本” 機器學習包括訓練和測試兩部分,根據訓練數據是否擁有標記信息,學習任務大致分爲兩類“監督學習”和“無監督學習”分類和