Skip to content

Commit

Permalink
Merge pull request #56 from ChamsolPark/master
Browse files Browse the repository at this point in the history
모듈화 및 db 연결 오류수정
  • Loading branch information
ChamsolPark authored May 30, 2024
2 parents 7337c58 + 4060d08 commit 3624f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RecommendationSystem/src/recommendation_scoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def calculate_score_for_person(person_info, model_roberta, model_electra, tokeni
weight_work_frequency = 0.2
weight_label_value = 0.3
# 성별에 따라 가중치 조정
gender_weight = 1 if person_info['sex'] == '남자' or person_info['sex'] == '여자' else 0
gender_weight = 1 if person_info['sex'] == '남자' or person_info['sex'] == '여자' else 1

work_location = get_coordinates_worksites(person_info['worksites_local']) # 주소가 없으면 None 반환)
subway_station = get_coordinates_employee(person_info['employee_local'])
Expand Down

0 comments on commit 3624f63

Please sign in to comment.