Trying to find ideal parameters for a function.
조회 수: 1 (최근 30일)
이전 댓글 표시
So I have many-channel electrical recordings. These recordings have events in them that I'm trying to automate the detection of. I found a function to detect the events, but it requires passing in some parameters. I've fooled with them a little bit to try and get the function to output results that I agree with for a few recordings, but ultimately I have no idea if what the function is calling an "event" is something that I would myself call an event.
What I'm looking for is a less subjective way of setting the parameters that I pass into this event detection function. I'm imagining something like:
1. Go through a few recordings and do event detection myself (count number of events/recording)
2. Run the detection function many many different times on those same few recordings with different parameters each time in some kind of systematic way. So it might look like EventDetection(data, i, j, k) and then I change i j and k every time.
3. Subtract my numbers from the function's numbers each iteration and find the iteration where that difference is most reliably close to zero.
Is there a better way of doing this than just looping through a bunch of times?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!