강의

멘토링

커뮤니티

Inflearn Community Q&A

mkeasy0024's profile image
mkeasy0024

asked

[For Beginners] Machine Learning with Kaggle • Deep Learning Analysis

Data preprocessing

결측치 예측 함수에서 ~ (딜트) 연산자의 의미를 설명 부탁 드립니다.

Written on

·

300

0

# 결측치 제거를 위한 함수
def is_outliers(s):
	lower_limit = s.mean() - (s.std() * 3)
	upper_limit = s.mean() - (s.std() * 3)
	return ~s.between(lower_limit, upper_limit)
	
df_out = df[~df.groupby('hour')['cnt'].apply(is_outliers)]
결측치 예측 함수에서 ~ (딜트) 연산자의 의미를 설명 부탁 드립니다.
결측치예측딥러닝kaggle머신러닝 배워볼래요?

Answer

This question is waiting for answers
Be the first to answer!
mkeasy0024's profile image
mkeasy0024

asked

Ask a question