Posts Tagged ‘ SVD ’

%SVD macro with BY-Processing

December 18, 2014
By
%SVD macro with BY-Processing

For the Regularized Discriminant Analysis Cross Validation, we need to compute SVD for each pair of \((\lambda, \gamma)\), and the factorization result will be feed to the downdating algorithm to obtain leave one out variance-covariance matrix \(\hat{\...

Read more »

Experient downdating algorithm for Leave-One-Out CV in RDA

December 15, 2014
By
Experient downdating algorithm for Leave-One-Out CV in RDA

In this post, I want to demonstrate a piece of experiment code for downdating algorithm for Leave-One-Out (LOO) Cross Validation in Regularized Discriminant Analysis [1]. In LOO CV, the program needs to calculate the inverse of \(\hat{\Sigma}_{k\v}(\la...

Read more »

The power, and danger, of visualizations

August 7, 2013
By
The power, and danger, of visualizations

I recently posted about visualizing the voting patterns of senators. In the post, I scraped voting data for each senator on every vote in the 113th Congress from the Senate website, and then assigned a code of 0 for a no vote on a particular issue, 1 for a yes vote, 2 for abstention, and 3 if the senator was not in office at the time of the vote (ie,…

Read more »

Kaggle Digit Recoginizer: SAS k-Nearest Neighbor solution

December 11, 2012
By
Kaggle Digit Recoginizer: SAS k-Nearest Neighbor solution

Kaggle is hosting an educational data mining competition: Kaggle Digit Recognizer, using MNIST data. Handwritten digit recognition is one of the few applications that kNN classifier performs well. Of course, the benchmark kNN classifier provided by the...

Read more »

Singular Value Decomposition in SciPy

December 7, 2012
By
Singular Value Decomposition in SciPy

SciPy contains two methods to compute the singular value decomposition (SVD) of a matrix: scipy.linalg.svd and scipy.sparse.linalg.svds. In this post I'll compare both methods for the task of computing the full SVD of a large dense matrix. The first me...

Read more »

KNN Classification and Regression in SAS

November 25, 2012
By
KNN Classification and Regression in SAS

PDF available at here. Related post on KNN classification using SAS is here.In data mining and predictive modeling, it refers to a memory-based (or instance-based) algorithm for classification and regression problems. It is a widely used algorithm with...

Read more »

Multivariate data analysis (using R)

May 29, 2012
By
Multivariate data analysis (using R)

I’ve been very quiet on-line in the last few months, due mainly to the fact that I’ve been writing a new undergraduate course on multivariate data analysis. Although there are many books and on-line notes on the general topic of multivariate statistics, I wanted to do something a little bit different from any text I … … Continue reading →

Read more »

Low Rank Radial Smoothing using GLIMMIX and its Scoring

September 30, 2010
By
Low Rank Radial Smoothing using GLIMMIX and its Scoring

Low Rank Radial Smoothing using GLIMMIX [1], a semiparametric approach to smooth curves [2]. Specifying TYPE=RSMOOTH option in RANDOM statement, we can implement this spline smooth approach. The best thing is that for future scoring, data preparation i...

Read more »

Implement Randomized SVD in SAS

July 13, 2010
By
Implement Randomized SVD in SAS

In the 2010 SASware Ballot®, a dedicated PROC for Randomized SVD was among the options. While an official SAS PROC will not be available in the immediate future as well as in older SAS releases, it is fairly simple to implement this algorithm using ex...

Read more »

"Entrywise" Norm calculation using PROC FASTCLUS

June 26, 2010
By
"Entrywise" Norm calculation using PROC FASTCLUS

In some data mining applications, matrix norm has to be calculated, for instance [1]. You can find a detailed explanation of Matrix Norm on Wiki @ Here Instead of user written routine in DATA STEP, we can obtain "Entrywise" norm via PROC FASTCLUS effi...

Read more »


Subscribe

Email:

  Subscribe