Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

선택 데이터 셋을 학습/튜닝/평가 데이터 셋으로 임의로 비율에 따라 나누는 기능 #224

Open
BEOKS opened this issue Mar 22, 2022 · 1 comment
Assignees

Comments

@BEOKS
Copy link
Owner

BEOKS commented Mar 22, 2022

Description

  1. 기본적인 알고리즘은 랜덤 샘플링을 기준으로 한다.

  2. 랜덤 샘플링 버튼을 구현하고 사용자가 이를 누르면 샘플링이 진행되도록 한다.

    1. 샘플링이 시작되면 SnackBar에서 “Sampling...” 문구를 출력한다.
    2. 동시에 샘플링을 요청하는 API를 요청한다.
    api request : /api/MetaData/Sampling
    response : 성공하면 200, 실패하면 에러 메시지를 리턴하도록 함
    1. 벡엔드에서는 샘플링을 요청하는 API를 받아서 이를 처리한다.
      1. 샘플링되어 있지 않다면 랜덤 샘플링을 진행, 메타데이터를 업로드한다.
      2. 샘플링 비율은 train/valid/test 가 70%/20%/10%로 진행하도록 한다.
    2. 프론트에서는 API 결과를 에러와 성공에 따라 처리한다.
      1. 성공하면 페이지를 리로드
      2. 실패하면 alert로 에러 메세지를 출력
  3. 리스트를 csv로 저장하고, 선택된 영상 데이터 셋을 다운로드 하는 기능 포함

@BEOKS
Copy link
Owner Author

BEOKS commented Mar 22, 2022

추가

이미 type 컬럼이 존재하는 경우 샘플링을 하지 않고 API 에러 리턴 메시지에 "type 컬럼이 이미 존재한다고 알린다"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants