필터 지우기
필터 지우기

How can I turn off a "self learning" function of Matlab?

조회 수: 2 (최근 30일)
DenisK
DenisK 2018년 5월 11일
답변: DenisK 2018년 5월 11일
Hello,
I've got an assignment where I was asked to compare time required for different convolutions methods. Surprisingly, time of linear convolution was significantly shorter rather than overlap add method. I heard that matlab has kind of "self learning" mechanism, that, I assume, interfered to the whole process and insert kind of unwanted correction that changed time that takes to algorithm to run. Can I turn off this mechanism, if such actually exists?
Thank you in advance, Denis

채택된 답변

Walter Roberson
Walter Roberson 2018년 5월 11일
I suspect you might be referring to the Just In Time Engine (JIT). There is an undocumented
feature('jit', 'off')
Be sure to "clear all" after that in order to remove everything from MATLAB's cache.
However, if you are using data files, this will not remove the data files from your operating system's cache -- for reasonable sized files, your operating system probably left the file hanging around in memory after it was read, under the theory that it might be needed again afterwards.
You should probably be looking at the timeit() function to try to isolate how long something "really" takes: it runs the code several times to try to account for cache and JIT effects.

추가 답변 (2개)

DenisK
DenisK 2018년 5월 11일
I remember, that function name sounds like "unhealsh", but when I typed it in matlab help, it didn't find anything. Probably, I heard it umclear. Do you remember some function that might sound similar to it?
  댓글 수: 1
Walter Roberson
Walter Roberson 2018년 5월 11일
Nothing like that sounds familiar to me, especially not for any convolution methods. Perhaps something to do with "deep learning"??

댓글을 달려면 로그인하십시오.


DenisK
DenisK 2018년 5월 11일
Anyways, lots of thanks. Hope (JIT) will work.

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by