본문 바로가기
SMALL

알고리즘16

8장_워드투벡을 이용한 자연어 처리 이전 내용에서는 기존의 단어 임베딩(Word Embedding)을 원핫 인코딩(one-hot encoding)방식을 사용함. https://yuna96.tistory.com/133 7장_한글 자연어 처리 자연어 처리 기술(NLP, Natural Language Processing) : 사람이 말하는 언어를 기계적으로 분석해 컴퓨터가 이해할 수 있는 형태로 만드는 기술 1. 자연어 처리 분야 정보 검색(Information Retrieval Service) 가장 yuna96.tistory.com 이 방식은 단어 사전이 무한대로 길어지는 단점이 있으며 대부분 0으로 표시되어 의미 없는 메모리를 차지함. 또한 단어 간의 의미론적 차이와 연관 관계를 이해할 수 없음 이러한 문제를 해결하기 위해 단어를 다차원 공.. 2023. 3. 19.
[SW Expert Academy] 13229. 일요일 *문제의 저작권은 SW Expert에 있습니다. 출처 : https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=3&contestProbId=AX0SaDW6L2oDFASs&categoryId=AX0SaDW6L2oDFASs&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=3&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com [문제] 오늘의 요일이 입력값으로 들어오면 오늘을 기준으로 가까운.. 2021. 12. 31.
[SW Expert Academy] 파이썬 SW문제해결 구현_2일차 : 최소합 *문제의 저작권은 SW Expert에 있습니다. 문제 링크 : https://swexpertacademy.com/main/learn/course/lectureProblemViewer.do SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com [문제] N X N 행렬이 주어졌을 때, 맨 왼쪽 위에서 오른쪽 아래까지 이동하면서 칸에 써진 숫자의 합계가 최소가 되도록 하며 이때의 합계를 출력하는 프로그램 [입력] 첫 줄에 테스트케이스의 수 T가 주어진다. 1 2021. 2. 2.
[SW Expert Academy] 숫자 배열 회전 *문제의 저작권은 SW Expert에 있습니다. 문제 링크 : https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=2&contestProbId=AV5Pq-OKAVYDFAUq&categoryId=AV5Pq-OKAVYDFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=2&pageSize=10&pageIndex=2 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 이번 문제는 문제 이해부터 어려웠던... 먼저 문제를 이해하.. 2021. 1. 28.
[SW Expert Academy] 간단한 압축 풀기 *문제의 저작권은 SW Expert에 있습니다. 문제 링크 : https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5PmkDKAOMDFAUq&categoryId=AV5PmkDKAOMDFAUq&categoryType=CODE T = int(input()) for test_case in range(1, T + 1): lines = int(input()) #라인 개수 입력 a = "" for line in range(0,lines): #각 라인의 단어와 개수를 입력받아 문자열에 저장 word,cnt = map(str,input().strip().split()) a+=word*int(cnt) print(f"#{test_ca.. 2021. 1. 27.
[SW Expert Academy] 달팽이 숫자 *문제의 저작권은 SW Expert에 있습니다. 문제 링크 : https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5PobmqAPoDFAUq&categoryId=AV5PobmqAPoDFAUq&categoryType=CODE T = int(input()) for test_case in range(1, T + 1): test = int(input()) print("#{}".format(test_case)) a = [[0 for j in range(test)] for i in range(test)] x, row, col, sw = 1, 0, -1, 0 while test > 0: for i in range(sw, test.. 2021. 1. 22.
LIST