All Projects → hiroyuki-kasai → ClassifierToolbox

hiroyuki-kasai / ClassifierToolbox

Licence: MIT license
A MATLAB toolbox for classifier: Version 1.0.7

Programming Languages

matlab
3953 projects
c
50402 projects - #5 most used programming language
M
324 projects

Projects that are alternatives of or similar to ClassifierToolbox

MachineLearning
โค้ดประกอบเนื้อหา Python Machine Learning เบื้องต้น [2020]
Stars: ✭ 28 (-61.11%)
Mutual labels:  linear-regression, pca, face-recognition
abess
Fast Best-Subset Selection Library
Stars: ✭ 266 (+269.44%)
Mutual labels:  linear-regression, principal-component-analysis
Facerecognition
Implement face recognition using PCA, LDA and LPP
Stars: ✭ 206 (+186.11%)
Mutual labels:  pca, face-recognition
Machine Learning With Python
Python code for common Machine Learning Algorithms
Stars: ✭ 3,334 (+4530.56%)
Mutual labels:  linear-regression, pca
FaceRecognition
Face Recognition in real-world images [ICASSP 2017]
Stars: ✭ 36 (-50%)
Mutual labels:  face-recognition, sparse-coding
pca
Principal component analysis (PCA) in Ruby
Stars: ✭ 25 (-65.28%)
Mutual labels:  pca, principal-component-analysis
models-by-example
By-hand code for models and algorithms. An update to the 'Miscellaneous-R-Code' repo.
Stars: ✭ 43 (-40.28%)
Mutual labels:  linear-regression, pca
sparselandtools
✨ A Python package for sparse representations and dictionary learning, including matching pursuit, K-SVD and applications.
Stars: ✭ 55 (-23.61%)
Mutual labels:  sparse-coding, dictionary-learning
100 Days Of Ml Code
100 Days of ML Coding
Stars: ✭ 33,641 (+46623.61%)
Mutual labels:  linear-regression, support-vector-machines
Isl Python
Solutions to labs and excercises from An Introduction to Statistical Learning, as Jupyter Notebooks.
Stars: ✭ 108 (+50%)
Mutual labels:  linear-regression, pca
Ml Course
Starter code of Prof. Andrew Ng's machine learning MOOC in R statistical language
Stars: ✭ 154 (+113.89%)
Mutual labels:  linear-regression, pca
FaceRecognitionLib
Library for calculating Eigenfaces and Fisherfaces in C++
Stars: ✭ 66 (-8.33%)
Mutual labels:  face-recognition, eigenfaces
random-fourier-features
Implementation of random Fourier features for kernel method, like support vector machine and Gaussian process model
Stars: ✭ 50 (-30.56%)
Mutual labels:  support-vector-machines, principal-component-analysis
NMFADMM
A sparsity aware implementation of "Alternating Direction Method of Multipliers for Non-Negative Matrix Factorization with the Beta-Divergence" (ICASSP 2014).
Stars: ✭ 39 (-45.83%)
Mutual labels:  pca, principal-component-analysis
ksvd reg
Regularized K-SVD Algorithm
Stars: ✭ 29 (-59.72%)
Mutual labels:  sparse-coding, dictionary-learning
R-stats-machine-learning
Misc Statistics and Machine Learning codes in R
Stars: ✭ 33 (-54.17%)
Mutual labels:  support-vector-machines, principal-component-analysis
dictlearn
Dictionary Learning for image processing
Stars: ✭ 23 (-68.06%)
Mutual labels:  sparse-coding, dictionary-learning
gproshan
geometry processing and shape analysis framework
Stars: ✭ 48 (-33.33%)
Mutual labels:  sparse-coding, dictionary-learning
2018 Machinelearning Lectures Esa
Machine Learning Lectures at the European Space Agency (ESA) in 2018
Stars: ✭ 280 (+288.89%)
Mutual labels:  linear-regression, pca
xmca
Maximum Covariance Analysis in Python
Stars: ✭ 41 (-43.06%)
Mutual labels:  pca, principal-component-analysis

ClassifierToolbox : A Matlab toolbox for classifier.


Authors: Hiroyuki Kasai

Last page update: Seo. 11, 2017

Latest library version: 1.0.7 (see Release notes for more info)

Introduction

This package provides various tools for classification, e.g., image classification, face recogntion, and related applicaitons.

List of algorithms


Folders and files

./                              - Top directory.
./README.md                     - This readme file.
./run_me_first.m                - The scipt that you need to run first.
./demo.m                        - Demonstration script to check and understand this package easily. 
|algorithm/                     - Algorithms for classifcations.
|auxiliary/                     - Some auxiliary tools for this project.
|demo_examples/                 - Some demonstration files.
|lib/                           - 3rd party tools.
|dataset/                       - Folder where datasets are stored.

First to do: configure path

Run run_me_first for path configurations.

%% First run the setup script
run_me_first; 

Second to do: download datasets and external libraries

Run download for downloading datasets and external libraries.

%% Run the downloading script
download; 
  • If your computer is behind a proxy server, please configure your Matlab setting. See this.

Usage example: ORL face dateset demo: 3 steps!

Now, just execute demo for demonstration of this package.

%% Execute the demonstration script
demo; 

The "demo.m" file contains below.

%% load data
load('./dataset/AR_Face_img_60x43.mat');

%% set option
options.verbose = true;

%% LSR
[accuracy_lsr, ~, ~] = lsr(TrainSet, TestSet, train_num, test_num, class_num, 0.001, options);

%% LRC
accuracy_lrc = lrc(TrainSet, TestSet, test_num, class_num, options);

%% show recognition accuracy
fprintf('# LSR: Accuracy = %5.5f\n', accuracy_lsr);
fprintf('# LRC: Accuracy = %5.5f\n', accuracy_lrc);

Let take a closer look at the code above bit by bit. The procedure has only 3 steps!

Step 1: Load data

First, we load datasets including train set and test set.

load('./dataset/AR_Face_img_60x43.mat');

Step 2: Perform solver

Now, you can perform optimization solvers, i.e., LSR and LRC with appropriate paramters.

%% LSR
[accuracy_lsr, ~, ~] = lsr(TrainSet, TestSet, train_num, test_num, class_num, 0.001, options);

%% LRC
accuracy_lrc = lrc(TrainSet, TestSet, test_num, class_num, options);

Step 3: Show recognition accuracy

Finally, the final recognition accuracis are shown.

fprintf('# LSR: Accuracy = %5.5f\n', accuracy_lsr);
fprintf('# LRC: Accuracy = %5.5f\n', accuracy_lrc);

That's it!


License

  • This toobox is free, non-commercial and open source.
  • The code provided in this toobox should only be used for academic/research purposes.

Third party tools, libraries, and packages.


Problems or questions

If you have any problems or questions, please contact the author: Hiroyuki Kasai (email: kasai at is dot uec dot ac dot jp)


Release Notes

  • Version 1.0.7 (Sep. 11, 2017)
    • Fix bugs.
  • Version 1.0.6 (Aug. 03, 2017)
    • Add R-DR, R-SRC, others.
  • Version 1.0.5 (July 27, 2017)
    • Add JDDRDL and others.
  • Version 1.0.4 (July 11, 2017)
    • Add and modify SSRC etc.
  • Version 1.0.3 (July 10, 2017)
    • Add and modify SDR-SLR etc.
  • Version 1.0.2 (July 07, 2017)
    • Add and modify RSR, SVM etc.
  • Version 1.0.1 (July 06, 2017)
    • Add and modify many items.
  • Version 1.0.0 (July 01, 2017)
    • Initial version.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].