필터 지우기
필터 지우기

how to balance data set by oversampling?

조회 수: 1 (최근 30일)
alex
alex 2019년 5월 28일
편집: alex 2019년 5월 28일
Hello. I have a matrix of sleep EEG signal. Each row of the matrix belongs to an sleep stage ( There are 5 sleep stages including:W, N1, N2, N3, REM). I want to balance my matrix like this: 1) Find which sleep stage has the most samples. 2) Duplicate the minority sleep stages in the matrix such that all sleep stages have the same number of samples (i.e., oversampling). Can anyone help me do this task in MATLAB?
Regards.

답변 (0개)

카테고리

Help CenterFile Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by