ドキュメンテーション「Audio-Based Anomaly Detection for Machine Health Monitoring」における変数定義の数値根拠を教えてください。
조회 수: 1 (최근 30일)
이전 댓글 표시
MATLABドキュメンテーション「Audio-Based Anomaly Detection for Machine Health Monitoring」におけるサポート関数
function A = getScore(data,preds)
%GETSCORE returns the reconstruction error for each sample in data
% A = getScore(data,preds) returns A(X) for each X in the set of samples
% transformed into network input data.
err = sum((preds-data).^2,2);
numSTFTFrames = 313;
contextWin = 5;
numMelFilters = 128;
numContextGroupsPerSample = numSTFTFrames-contextWin+1;
numSamples = length(err)/numContextGroupsPerSample;
A_total = reshape(err,[numContextGroupsPerSample,numSamples]); %Each column contains reconstruction errors of all context groups for one sample
A = sum(A_total)/(numMelFilters*contextWin*numSTFTFrames); %Each entry is a reconstruction error for each sample
end
における、「numSTFTFrames=313」の数値根拠(決定方法)を教えてください。
また、「contextWin=5」および「numMelFilters=128」については、一般的な数値で根拠なく任意に変更可能との認識ですが、理解は間違いないでしょか。
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulation, Tuning, and Visualization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!