1. "Where have you visited in Korea?" 2. "One place I'd like to recommend to you is Gwanghwamun." 3. "The weather today isn't good for tourists, right?" 4. "Do you have any difficulties traveling in Korea?" 5. "Today's weather is typical of mid-summer in Korea." 6. "The movie was 3 hours long, but I didn't find it boring because the plot was so well-structured that I never felt bored." 7. "The r..
"Recently, I've been searching for a microphone for language learning." "Out of curiosity, I checked out the Craigslist app." "Just an hour ago, someone listed their microphone for free on the Craigslist app." "Also, he lives just 15 minutes away from my house." "I texted him asking if the microphone was still available." "He answered quickly and confirmed that the microphone was still available..
Sure! Here are the sentences that were correct so far: I played basketball with my son today. My son tried to shoot and he succeeded 20 times. But since it was a hot summer day, we stopped after just 30 minutes. We practiced basketball near a high school called IT High School. The basketball court at IT High School is open to the public until 6:00 PM. We had difficulty finding a good place to pr..
Today is Monday that starts the week. I didn’t sleep well last night because a mosquito kept biting me. It was very strange that the mosquito didn’t bite my wife. It was unusually hot last night for this time of the year. The global warming was not the cause of the high temperature, I think. There must be some other reason. Population decline poses a big challenge for advanced countries. The AI ..
Sure, I can summarize all the sentences that are correct so that you can review them later. Here they are: I think AI possibly will replace doctors in the near future because it can diagnose diseases faster and more accurately. My coworker disagreed with my opinion because he thought it would not surpass the ability of the human such as medical and legal sector. We had a discussion about whether..
오늘은 아들과 함께 학교 생활에 대해 이야기하는 시간을 보냈습니다. 그는 학교에서 작은 농구 시험에서 1등을 했기 때문에 매우 자랑스러웠습니다. 아들이 농구 시험을 보는 모습을 담은 비디오 클립을 제가 아내와 함께 공유했습니다. 아들을 포함한 세 명의 아이들이 농구를 배우고 있었습니다. 내 아들은 이제 2개월째 농구를 배우고 있습니다. 처음에는 배우기 어려웠지만, 요즘에는 아주 잘하고 계속 배울 수 있습니다. 우리가 함께 농구를 연습한 덕분에, 그가 학교 농구 시험에서 1등을 한 것을 들어서 매우 기뻤습니다. 6월 3일에 ADP 시험을 볼 예정이며, 이는 내 직업 발전에 매우 중요합니다. ADP 시험은 성공률이 3% 미만으로 매우 어렵습니다. 이 시험은 4시간 동안 4개의 문제로 구성되어 있습니다. 교재..
안녕하세요, 여러분! 오늘은 데이터 전처리 과정 중 결측치를 다루는 데 도움이 되는 KNNImputer에 대해 알아보겠습니다. 때로는 데이터셋에서 결측치가 발생할 수 있습니다. 이러한 결측치를 처리하는 방법 중 하나로 KNNImputer를 사용하여 이웃 값들의 평균으로 채울 수 있습니다. 먼저 아래 코드를 살펴봅시다. import numpy as np from sklearn.impute import KNNImputer # 예제 데이터 생성 data = {'A': [1, 2, np.nan, 4, 5], 'B': [6, np.nan, 8, 9, 10], 'C': [11, 12, 13, np.nan, 15], 'D': [16, 17, 18, 19, 20]} df = pd.DataFrame(data) print..

import pandas as pd import matplotlib.pyplot as plt df = pd.read_csv('../data_adp_book/student_data.csv') print(df) df.info() plt.bar(df['grade'].value_counts().index, df['grade'].value_counts().values) print(f"평균성적 {df['grade'].mean()}") plt.show() value_counts() 함수는 pandas의 Series 객체에서 사용할 수 있는 메서드로, 해당 Series에서 값들의 빈도수를 계산하여 반환합니다. 반환되는 값은 새로운 Series 객체이며, 이 객체의 인덱스는 고유한 값들이고, 해당 인덱스의 값은 각 값의..
안녕하세요! 오늘은 파이썬을 사용하여 대출 소득 데이터를 시각화하는 방법에 대해 알아보겠습니다. 우리는 주어진 데이터셋에서 샘플을 추출하고, 이를 시각화하여 샘플 크기에 따른 평균 소득의 분포를 비교하는 과정을 살펴볼 것입니다. 아래에 사용한 파이썬 코드와 함께 설명을 차례대로 살펴보겠습니다. 먼저, 필요한 라이브러리를 임포트합니다. import pandas as pd import seaborn as sns import matplotlib.pyplot as plt 다음으로, 대출 소득 데이터를 읽어온 후, DataFrame에서 Series로 변환합니다. loan_income = pd.read_csv('data_practical_statistics/loans_income.csv').squeeze() 이제 ..
"He has been living alone for the past 5 years in a one-person house." 그는 5년 동안 1인용 주택에서 혼자 살고 있습니다. "Recently, he changed his job from trading to system management." 그는 최근 거래에서 시스템 관리로 직장을 변경했습니다. "While having lunch together, we talked about a lot of work-related topics." 점심을 함께 하면서, 우리는 업무와 관련된 여러 주제에 대해 이야기했습니다. "One difficulty he faced in his work was the lack of cash flow from clients, but..
안녕하세요 여러분, 오늘은 판다스(Pandas) 라이브러리를 이용하여 기본적인 데이터 처리를 해보는 실습을 진행해볼 것입니다. 먼저, 아이리스 데이터셋을 불러와서 간단한 데이터 선택 방법을 알아봅시다. from sklearn.datasets import load_iris import pandas as pd iris = load_iris() iris = pd.DataFrame(iris.data, columns=iris.feature_names) 위 코드에서는 사이킷런의 load_iris() 함수를 사용하여 아이리스 데이터셋을 불러온 후, 이를 판다스 데이터 프레임으로 변환했습니다. print(iris[1:4]) print(iris[:4]) # compare it with iris[1:4] 위 코드는 슬라이..