Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
faust group
faust
Commits
478d4f6f
Commit
478d4f6f
authored
8 years ago
by
Adrien Leman
Committed by
hhakim
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
modif files
parent
a360c72b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
README.txt
+24
-142
24 additions, 142 deletions
README.txt
with
25 additions
and
143 deletions
CMakeLists.txt
+
1
−
1
View file @
478d4f6f
...
...
@@ -724,7 +724,7 @@ set(CPACK_PACKAGE_URL "http://faust.gforge.inria.fr/" )
# SOURCE DISTRIBUTION:
##############################################################################
set
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"FAUST-Source-
${
FAUST_VERSION_MAJOR
}
.
${
FAUST_VERSION_MINOR
}
.
${
FAUST_VERSION_PATCH
}
"
)
set
(
CPACK_SOURCE_IGNORE_FILES
"/build/;/.bzr/;/CMakeFiles/;/_CPack_Packages/;/.svn/;/.git/;/headerCPP.txt;/headerMatlab.txt;/headerCMakeList.txt;/gen_doc/LaTeX/images/;/gen_doc/installation_README.odt;/gen_doc/installation_Virtual_Machine.txt;/misc/data/txt/;/misc/data/mat/visage/;/misc/CTest_nightly/;"
)
set
(
CPACK_SOURCE_IGNORE_FILES
"/build/;/.bzr/;/CMakeFiles/;/_CPack_Packages/;/.svn/;/.git/;/headerCPP.txt;/headerMatlab.txt;/headerCMakeList.txt;/gen_doc/LaTeX/images/;/gen_doc/installation_README.odt;/gen_doc/installation_Virtual_Machine.txt;/misc/data/txt/;/misc/data/mat/visage/;/misc/CTest_nightly/;
/CTestConfig.cmake
"
)
set
(
CPACK_SOURCE_IGNORE_FILES
"
${
CPACK_SOURCE_IGNORE_FILES
}
;/externals/unix/tarLibs/libxml2-2.9.4.tar.gz;/externals/unix/tarLibs/matio-1.5.7.7z;"
)
#if(WIN32 AND NOT UNIX)
...
...
This diff is collapsed.
Click to expand it.
README.txt
+
24
−
142
View file @
478d4f6f
##########################################################################
########
############ FAuST Toolbox
##########
######## Flexible Approximate Multi-Layer Sparse Transform
##
##########
########
FAuST Toolbox
##########
######## Flexible Approximate Multi-Layer Sparse Transform
##########
##########################################################################
##########################################################################
...
...
@@ -15,38 +15,20 @@ For more information on the FAuST Project, please visit the website of the
project: <http://faust.gforge.inria.fr>
##########################################################################
##########################################################################
License:
Copyright (2016): Luc Le Magoarou, Remi Gribonval
INRIA Rennes, FRANCE
http://www.inria.fr/
The FAuST Toolbox is distributed under the terms of the GNU Affero General
Public License.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
##########################################################################
##########################################################################
Installation:
Please refer to the document "./Faust.pdf" to install the FAUST toolbox.
Please refer to the document "./getting-started-with-faust-toolbox.pdf"
to install the FAUST toolbox.
The FAUST toolbox have been tested on multiplatform :
- LINUX (fedora 20, 21, 22, 23 / Ubuntu)
- MAC
- WINDOWS (windows 7)
##########################################################################
##########################################################################
Quick install on UNIX :
1- Unpack the directory.
2- mkdir ./build
3- cd ./build
...
...
@@ -60,130 +42,32 @@ For that, please refers to the matworks information:
http://fr.mathworks.com/support/compilers/R2016a/index.html
##########################################################################
##########################################################################
Main tools :
The main tools offered by the FAuST toolbox are implemented in two mex function:
[lambda, facts, errors] = mexHierarchical_fact(params)
[lambda, facts] = mexPalm4MSA(params)
These functions are available in the wrapper matlab.
###### [lambda, facts, errors] = mexHierarchical_fact(params) #######################
# This mex function runs the hierarchical
# matrix factorization algorithm (Algorithm 3 of [1])on the specified
# input matrix, returning the factors in "facts" (cell array of sparse matrices),
# the multiplicative scalar in "lambda" and the errors in "errors".
#
# Required fields in PARAMS:
# --------------------------
# 'data' - Training data.
# A matrix to hierarchically factorize.
# 'nfacts' - Number of factors.
# Specifies the desired number of factors.
# 'cons' - Constraint sets.
# Specifies the constraint sets in which eafaust_params_palm.ch factor should lie. It
# should be a cell-array of size 2*(nfacts-1), where the jth columns
# sets the constraints for the jth factorization in two factors:
# cons(1,j) specifies the constraints for the left factor and
# cons(2,j) for the right factor. cons(i,j) should be itself a
# cell-array of size 1*4 taking this form for a factor of size m*n:
# {'constraint name', 'constraint parameter', m, n}
#
# Optional fields in PARAMS:
# --------------------------
# 'niter1' - Number of iterations for the 2-factorisation.
# Specifies the desired number of iteration for the factorisations in
# 2 factors. The default value is 500.
# 'niter2' - Number of iterations for the global optimisation.
# Specifies the desired number of iteration for the global
# optimisation. The default value is 500.
# 'fact_side' - Side to be factorized iteratively: 1-the left or
# 0-the right. The default value is 0;
# 'verbose' - Verbosity of the function. if verbose=1, the function
# outputs the error at each iteration. if verbose=0, the function runs
# in silent mode. The default value is 0.
# 'update_way' - Way in which the factors are updated. If update_way = 1
# ,the factors are updated from right to left, and if update_way = 0,
# the factors are updated from left to right. The default value is 0.
###### [lambda, facts] = mexPalm4MSA(params)
# Factorization of a data matrix into multiple factors using PALM.
# This mex function runs the PALM algorithm on the
# specified set of signals (Algorithm 2 of [1]), returning the factors in
# "facts" and the multiplicative scalar in "lambda".
#
# Required fields in PARAMS:
# --------------------------
# 'data' - Training data.
# A matrix containing the training signals as its columns.
# 'nfacts' - Number of factors.
# Specifies the desired number of factors.
# 'cons' - Constraint sets.
# Specifies the constraint sets in which each factor should lie. It
# should be a cell-array of size 1*nfacts, where the jth column sets
# the constraints for the jth factor (starting from the left). cons(j)
# should be itself a cell-array of size 1*4 taking this form for a
# factor of size m*n:
# {'constraint name', 'constraint parameter', m, n}
# 'niter' - Number of iterations.
# Specifies the number of iterations to run.
# 'init_facts' - Initialization of "facts".
# Specifies a starting point for the algorithm.
# Optional fields in PARAMS:
# --------------------------
# 'init_lambda' - Initialization of "lambda".
# Specifies a starting point for the algorithm. The default value is 1
# 'verbose' - Verbosity of the function. if verbose=1, the function
# outputs the error at each iteration. if verbose=0, the function runs
# in silent mode. The default value is 0.
# 'update_way' - Way in which the factors are updated. If update_way = 1
# ,the factors are updated from right to left, and if update_way = 0,
# the factors are updated from left to right. The default value is 0.
##########################################################################
class FAUST :
It represents a given dense matrix by a product of sparse matrix (i.e faust)
in order to speed-up multiplication by this matrix.
##########################################################################
License:
##########################################################################
Demonstration:
This package contains the Matlab code which represented the results of [1].
One demonstration is available in "./DIR_INSTALL/demo/" directory:
- Brain_source_localization using MEG data (cf. Sec.V. of [1];)
- Hadamard_factorization
- Runtime_comparison
This package contains a CTest tool to execute binary file automatically.
(cf. CMakeLists.txt)
##########################################################################
##########################################################################
Naming conventions in the C++ FAuST project :
- namespace : Faust::xxx
- class : Faust::MyClass / Faust::Class
- attributs : m_myAttribut / m_attribut
#- methods : my_method() / method()
- methods : myMethod() / method()
- function : Faust::my_function()
- variable : myVariable
- object : myObjet
Copyright (2016): Luc Le Magoarou, Remi Gribonval,
Nicolas Bellot, Adrien Leman, Thomas Gautrais
INRIA Rennes, FRANCE
http://www.inria.fr/
- files class : faust_MyClass.x / faust_Class.x
- files function : faust_my_function.x
The FAuST Toolbox is distributed under the terms of the GNU Affero General
Public License.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation.
- files class gpu : faust_MyClass_gpu.x / faust_Class_gpu.x
- files function gpu: faust_my_function_gpu.x
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
License for more details.
- class template gpu : Faust::MyClass<FPP,gpu> /
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
##########################################################################
##########################################################################
Contacts:
Luc Le Magoarou: luc.le-magoarou@inria.fr
Remi Gribonval : remi.gribonval@inria.fr
Nicolas Bellot : nicolas.bellot@inria.fr
...
...
@@ -191,7 +75,6 @@ Contacts:
Thomas Gautrais : thomas.gautrais@inria.fr
##########################################################################
##########################################################################
References:
...
...
@@ -201,4 +84,3 @@ References:
<https://hal.archives-ouvertes.fr/hal-01167948v1>
##########################################################################
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment