Skip to content

mexporter ai 장착 1차 - ai server, models #10

Merged
rlaope merged 6 commits intomasterfrom
feature/ai-exporter
Oct 18, 2025
Merged

mexporter ai 장착 1차 - ai server, models #10
rlaope merged 6 commits intomasterfrom
feature/ai-exporter

Conversation

@rlaope
Copy link
Contributor

@rlaope rlaope commented Oct 18, 2025

Description

기존 GcTrainer 가 build/classes 기준으로 모델 파일을 저장하던 문제 수정
→ 이제 항상 프로젝트 루트(build.gradle.kts 위치 기준) 의 /ai-models/ 디렉터리에 저장됨

LogisticRegression.save() 제거 및 직접 직렬화(ObjectOutputStream) 방식으로 교체
→ Smile 2.x 버전에는 save() API가 존재하지 않으므로, 표준 Java 직렬화로 저장하도록 변경

학습 완료 후 모델을 gc_train.model, gc_test.model 두 가지 버전으로 자동 저장
→ 각 모델은 프로젝트 루트의 /ai-models/ 디렉터리에 생성됨
→ 기존 파일이 존재할 경우 자동 덮어쓰기 (overwrite) 처리

TODO

  • 일단 간단하게 test data set hard code해 쓰고있는데 @vumrra 이 작성해주는 data pipeline에서 가져와 학습시킬 예정
  • 해당 model의 스냅샷 관리 방안은 고민 해봐야할듯
  • gpu 기반 gc튜닝도 해야하는데 아직 추가안함

@rlaope rlaope requested a review from vumrra October 18, 2025 06:21
@rlaope rlaope self-assigned this Oct 18, 2025
@rlaope rlaope merged commit a0f8c41 into master Oct 18, 2025
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

Successfully merging this pull request may close these issues.

1 participant