본문 바로가기

분류 전체보기155

Ollivander's Inventory와 서브쿼리 문제Harry Potter and his friends are at Ollivander's with Ron, finally replacing Charlie's old broken wand.Hermione decides the best way to choose is by determining the minimum number of gold galleons needed to buy each non-evil wand of high power and age. Write a query to print the id, age, coins_needed, and power of the wands that Ron's interested in, sorted in order of descending power. If more.. 2025. 4. 18.
Top Competitors 문제 Julia just finished conducting a coding contest, and she needs your help assembling the leaderboard! Write a query to print the respective hacker_id and name of hackers who achieved full scores for more than one challenge. Order your output in descending order by the total number of challenges in which the hacker earned a full score. If more than one hacker received full scores in same number.. 2025. 4. 17.
The Report : JOIN을 이렇게도 쓸 수 있구나! 문제Ketty gives Eve a task to generate a report containing three columns: Name, Grade and Mark. Ketty doesn't want the NAMES of those students who received a grade lower than 8. The report must be in descending order by grade -- i.e. higher grades are entered first. If there is more than one student with the same grade (8-10) assigned to them, order those particular students by their name alphabet.. 2025. 4. 17.
XGBoost와 하이퍼파라미터 XGBoost 하이퍼파라미터 쉽게 이해하기XGBoost는 강력한 머신러닝 알고리즘이지만, 많은 하이퍼파라미터 때문에 초보자에게는 복잡해 보일 수 있습니다. 주요 하이퍼파라미터를 쉽게 설명해드리겠습니다.learning_rate (학습률)쉬운 설명: 새로운 트리가 만들어질 때마다 이전 트리의 결과를 얼마나 반영할지 결정하는 값입니다.낮은 값(0.01): 이전 트리의 결과를 조금만 반영하므로 학습이 천천히 진행됩니다. 과적합 위험이 줄어들지만 더 많은 트리가 필요합니다.높은 값(0.2): 이전 트리의 결과를 많이 반영하므로 학습이 빠르게 진행됩니다. 과적합 위험이 있지만 더 적은 트리가 필요합니다.비유: 등산을 할 때 큰 걸음으로 빨리 올라가면(높은 learning_rate) 정상에 빨리 도달할 수 있지만 길.. 2025. 4. 16.
Weather Observation Station 20(중앙값 구하기) A median is defined as a number separating the higher half of a data set from the lower half. Query the median of the Northern Latitudes (LAT_N) from STATION and round your answer to 4 decimal places.중앙값은 상위 절반, 하위 절반을 구분하는 숫자로 정의 됩니다. STATION 테이블에 있는 LAT_N의 중앙값을 구하는 쿼리를 쓰세요. 소수점 4자리까지 반올림 하세요 SELECT ROUND(AVG(LAT_N), 4)FROM ( SELECT LAT_N, ROW_NUM.. 2025. 4. 16.
Weather Observation Station 19, 유클리드 거리 구하기 Consider P1(a, c) and P2(b, d)to be two points on a 2D plane where (a, b) are the respective minimum and maximum values of Northern Latitude (LAT_N) and (c, d) are the respective minimum and maximum values of Western Longitude (LONG_W) in STATION.Query the Euclidean Distance between points P1 and P2 and format your answer to display 4 decimal digits. 2D 평면상 P1(a, b)와 P2(b, d)들을 고려하세요. (a, b)는.. 2025. 4. 16.