z-score rescaling

버전 1.0.0.0 (1.23 KB) 작성자: Wei-Rong Chen
Rescale the input data by z-score.
다운로드 수: 88
업데이트 날짜: 2016/10/3

라이선스 보기

% z-score rescaling.
% Input:
% 'data' : input data matrix (nSample X nFeatures, if dim = 1) or (nFeatures X nSamples, if dim = 2)
% Optional inputs:
% 'flag' : 0 {default} using sample std (N-1)
% 1 using population std (N)
% 'mean_array', 'sd_array' : (1 X nFeatures) optional inputs of mean and sd
% for the calculation of z-score. If not provided, mean and sd will be
% calculated based on the input 'data'.
% 'dim' : {defalt = 1} dimention along which the averaging and calculation
% of sd is performed for z-scoring.
% Output:
% 'zcoredData' : (nSample X nFeatures) output data after z-score rescaling.
% 'mean_array', 'sd_array' : (1 X nFeatures, if dim = 1) or (nFeatures X 1, if dim = 2) arrays for mean and sd
% WR Chen 03/16

인용 양식

Wei-Rong Chen (2024). z-score rescaling (https://www.mathworks.com/matlabcentral/fileexchange/59406-z-score-rescaling), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Data Acquisition Toolbox Supported Hardware에 대해 자세히 알아보기
태그 태그 추가

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0