ドキュメンテーション「Audio-Based Anomaly Detection for Machine Health Monitoring​」における変数定義の​数値根拠を教えてくだ​さい。

조회 수: 1 (최근 30일)
naoya uwa
naoya uwa 2023년 7월 5일
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개)

카테고리

Help CenterFile Exchange에서 Simulation, Tuning, and Visualization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!