IMPORTANT NOTES ON THE N-WAY TOOLBOX ver. 3.20
There are some important details that are necessary to know in order to be able to use the N-way toolbox properly. These are given here - please read carefully before using the toolbox.
CONDITIONS
Copyright (C) 1995-2011 Rasmus Bro & Claus Andersson
Copenhagen University, DK-1958 Frederiksberg, Denmark, rb@life.ku.dk
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
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 General Public License for more details.
Preferably refer to
C. A. Andersson and R. Bro. The N-way Toolbox for MATLAB. Chemom.Intell.Lab.Syst. 52 (1):1-4, 2000.
or alternatively
The N-way Toolbox for MATLAB ver. 3.20, http://www.models.life.ku.dk/
R. Bro & C. A. Andersson
Faculty of Life Sciences
Copenhagen University
DK-1958 Frederiksberg
Denmark
WHERE DOES THE TOOLBOX WORK?
The toolbox has been tested on matlab 7.3 in Windows XP/Vista/7 only. The toolbox uses features that are not compatible with matlab 4.x, so if you have matlab 4.x you should use version 1.04 of this toolbox instead.
SETTING UP THE TOOLBOX
In order to install the toolbox, simply (extract and) copy the files to a directory (e.g. NWAY). After copying all files, go to the 'update' homepage in order to see if newer versions of individual files are available. Copy these files indiviually overwriting the old files. Make sure that the updates are copied after the main files.
Make sure that the path ../nway is included in MATLAB's path. If you have e.g. the PLS_toolbox, some files are named identically. This may cause problems depending on which functions you use. If you want to use e.g. the parafac function from the N-way toolbox, you have to ensure that either the path to the N-way toolbox appears before the path to the PLS_toolbox or that you run matlab from the nway directory.
In order to get help on what files are present in the toolbox type <<help nway>> at the matlab command line (if nway is the name of the directory where you have the files.
DATA INPUT
Unlike, older matlab 4 compatible versions of this toolbox, the data are input directly as multi-way arrays. Hence, there is no need for the DimX used earlier for defining the size of the array. If you have a 10x8x100 array, X, that is held in a 10x(8*100) matrix, i.e. the old matrix format, you can convert to
a three-way array by
X = reshape(X,10,8,100);
This is the format in which the data must be input to the functions.
MODEL OUTPUT
Also the output has changed in most cases since version 1. With the use of cell arrays, it is much easier to handle the output of a varying number of component matrices. Let the components of a three-way parafac model is held in a cell e.g. called Factors; e.g. arising from the call of a four-component model
Factors = parafac(X,3);
Then the first mode loadings are held in Factors{1}:
A = Factors{1};
B = Factors{2};
C = Factors{3};
For a Tucker model such as
[Factors,G]=tucker(X,[3 3 2]);
the components are found similarly and G will be a 3x3x2 array.
For a tri-PLS2 model (three-way X, two-way Y) two component sets are defined
Xfactors - T=Xfactors{1}, Wj=Xfactors{2}, Wk = Xfactors{3}
Yfactors - U=Yfactors{1}, Q=Yfactors{2}
Instead of using the cell notation, it is possible to use the M-file FAC2LET (factors to letters) to extract components; e.g.
[A,B,C] = fac2let(Factors);
MISSING DATA
For all algorithms the same flag is used for missing elements, namely NaN. If you have a data set, X, where missing elements are, e.g., designated by the number -9999, you can easily modify the data as
X(find(X==-9999))=NaN*find(X==-9999);
SUPPORT
We are VERY interested in and dependent on feedback from the users. If you have problems running the toolbox please supply screendumps as well as version number of the toolbox, MATLAB, and operating system before contacting us. We will do the utmost to help overcoming the problems. In the rare event that the support required is very time-consuming we will have to charge for this service.
The authors may be contacted by email:
claus@andersson.dk (primarily Tucker and application/helper programs)
rb@life.ku.dk (primarily PARAFAC/N-PLS)
没有合适的资源?快使用搜索试试~ 我知道了~
MATLAB工具箱大全-drEEM toolbox
共128个文件
m:103个
mat:20个
txt:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 27 浏览量
2021-02-09
11:18:27
上传
评论
收藏 5.23MB ZIP 举报
温馨提示
MATLAB工具箱大全-drEEM toolbox
资源推荐
资源详情
资源评论
收起资源包目录
MATLAB工具箱大全-drEEM toolbox (128个子文件)
nwayparafac.m 55KB
parafac.m 54KB
npls.m 46KB
tucker.m 35KB
fdomcorrect.m 32KB
tucker2.m 21KB
ncrossdecompn.m 18KB
modelout.m 17KB
splitvalidation.m 16KB
eemview.m 16KB
splitds.m 16KB
ncrossdecomp.m 15KB
drEEM_PARAFACtutorial.m 12KB
ramanintegrationrange.m 12KB
describecomp.m 12KB
readineems.m 11KB
nprocess.m 11KB
ncrossreg.m 11KB
drEEM_demo.m 9KB
subdataset.m 9KB
readinscans.m 9KB
smootheem.m 9KB
ini.m 9KB
matchsamples.m 9KB
corcond.m 7KB
splitanalysis.m 7KB
fnipals.m 7KB
pftest.m 7KB
inituck.m 6KB
randinitanal.m 6KB
nmodel.m 6KB
eemtimize.m 6KB
assembledataset.m 5KB
spectralloadings.m 5KB
unimodalcrossproducts.m 5KB
maxdia3.m 5KB
maxvar3.m 5KB
outliertest.m 5KB
tucktest.m 5KB
compcorrplot.m 5KB
pfplot.m 5KB
normeem.m 5KB
maxswd3.m 5KB
contents.m 4KB
plotfac.m 4KB
tuckdemo.m 4KB
parademo.m 4KB
contents.m 4KB
dervar3.m 4KB
t3core.m 4KB
loadingsandleverages.m 4KB
setnans1.m 4KB
calcore.m 4KB
relcomporder.m 4KB
dtld.m 3KB
npred.m 3KB
nshape.m 3KB
pfls.m 3KB
gram.m 3KB
derswd3.m 3KB
ulsr.m 3KB
nonneg.m 3KB
classinfo.m 3KB
fnnls.m 3KB
zap.m 3KB
ncosine.m 3KB
derdia3.m 3KB
setopts.m 3KB
fastnnls.m 3KB
monreg.m 2KB
ntimes.m 2KB
explcore.m 2KB
two2n.m 2KB
lookforconflicts.m 2KB
comparespectra.m 2KB
compare2models.m 2KB
specsse.m 2KB
fingerprint.m 2KB
unimodal.m 2KB
nsetdiff.m 2KB
coreswdn.m 2KB
neye.m 2KB
gsm.m 2KB
kr.m 2KB
misssum.m 2KB
fac2let.m 2KB
missmean.m 2KB
krb.m 2KB
ppp.m 2KB
missmult.m 1KB
nident.m 1KB
coredian.m 1KB
ckron.m 1KB
demos.m 1KB
corevarn.m 1KB
scores2fmax.m 1KB
stdnan.m 1KB
refold3.m 1KB
normit.m 1KB
getindxn.m 1KB
共 128 条
- 1
- 2
资源评论
- m0_677551792022-03-14用户下载后在一定时间内未进行评价,系统默认好评。
普通网友
- 粉丝: 12w+
- 资源: 9336
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功