diff --git a/journey/plans/260112_bayesian_valuation_remaining_tasks.md b/journey/plans/260112_bayesian_valuation_remaining_tasks.md index b6e9438..f686603 100644 --- a/journey/plans/260112_bayesian_valuation_remaining_tasks.md +++ b/journey/plans/260112_bayesian_valuation_remaining_tasks.md @@ -13,8 +13,14 @@ ## Phase 2: 추가 작업 -- 실제 Likelihood 데이터 파싱 (Neo4j에서 invstSumValText 추출) -- `valuate_startup()` 함수에 `calculate_posterior_with_likelihood` 통합 +### 목표 +Neo4j에서 실제 유사 기업 투자금액(invstSumValText)을 Likelihood로 사용해 `calculate_posterior_with_likelihood` 함수 통합 + +### 작업 항목 +1. **Neo4j 쿼리 수정**: `get_dynamic_prior_from_neo4j` 함수의 Cypher 쿼리에서 `s.invstSumValText AS invstSumValText` 추가 (RETURN 절) +2. **투자금액 파싱 함수 추가**: `parse_investment_amount` 함수 구현 ("3.0억원" → 3.0, 억원 단위 float) - `parse_revenue` 함수와 유사한 패턴 +3. **Likelihood 데이터 추출 함수 추가**: Neo4j 결과에서 `invstSumValText` 파싱하여 List[float] 반환 (최소 3개 이상 필요) +4. **valuate_startup 함수 통합**: 기존 `calculate_posterior` 호출 대신 `calculate_posterior_with_likelihood` 사용 (Likelihood 데이터가 있을 때만, 부족 시 기존 방식 유지) ---