原创 L1 L2 LASSO問題

 Sparsity 是當今機器學習領域中的一個重要話題。John Lafferty 和 Larry Wasserman 在 2006 年的一篇評論中提到: Some current challenges … are

原创 梯度下降法

 迴歸(regression)、梯度下降(gradient descent) 發表於332 天前 ⁄ 技術, 科研 ⁄ 評論數 3 ⁄ 被圍觀 1152 次+ 本文由LeftNotEasy所有,發佈於http://lef

原创 Matlab如何循環讀取文件

 轉載http://www.cnblogs.com/woshitianma/p/3724922.html 循環讀取圖片第一種方法①List =dir('*.jpg'); %如需其它圖片格式支持,可以自己【重載dir()】函數,實現查

原创 FACE RECOGNITION CODES

 轉載http://www.face-rec.org/source-codes/ On this page you can find source codes contributed by users. For the contrib

原创 soft thresholding and hard thresholding

 今天在看Michael Elad 大牛的論文《On the Role of Sparse and Redundant Representations in Image Processing》中,看到了soft thresholdin

原创 Kullback–Leibler divergence KL散度

   In probability theory and information theory, the Kullback–Leibler divergence[1][2][3] (also information diverge

原创 Matlab 中 imshow() 的使用問題

 Matlab 中 imshow() 的使用問題 轉載http://blog.sina.com.cn/s/blog_4d2f2f010101179g.html     matlab中,我們常使用imshow()函數來顯示圖像

原创 核函數-Kernel Function彙總

 Kernel Functions Below is a list of some kernel functions available from the existing literature. As was the case w

原创 Low-Rank Matrix Fitting

  http://lmafit.blogs.rice.edu/ LMaFit is a MATLAB package that currently solves the following problems Matrix Com

原创 先驗概率與後驗概率的區別(通俗易懂)

     先驗(A priori;又譯:先天)在拉丁文中指“來自先前的東西”,或稍稍引申指“在經驗之前”。近代西方傳統中,認爲先驗指無需經驗或先於經驗獲得的知識。它通常與後驗知識相比較,後驗意指“在經驗之後”,需要經驗。這一區分來自於中

原创 偏最小二乘法迴歸(Partial Least Squares Regression)

 1. 問題      這節我們請出最後的有關成分分析和迴歸的神器PLSR。PLSR感覺已經把成分分析和迴歸發揮到極致了,下面主要介紹其思想而非完整的教程。讓我們回顧一下最早的Linear Regression的缺點:如果樣例數m相比

原创 LaTex:算法排版

 排版可能需要的包: \usepackage{algorithm} //format of the algorithm \usepackage{algorithmic} //format of the algorithm \usepa

原创 maltab 保存數據到指定文件夾

 save('E\matlab\filename.mat','variable')

原创 讀取同一個文件夾的統一格式的文件

 clc clear file_path = 'E:\Yale\CroppedYale\yaleB01\';% 圖像文件夾路徑 img_path_list = dir(strcat(file_path,'*.pgm'));%獲取該文

原创 matlab函數 bsxfun淺談(轉載)

 網上關於bsxfun的東西不多,今天需要看到一個,由於原博文插入的圖片顯示不出來,於是筆者大發善心進行了contrl+V 以及alt+ctrl+A的操作,供大家交流學習。   bsxfun是一個matlab自版本R2007a