[Kaggle] 주택 가격 예측 EDA #2(시각화)
1. 데이터의 자료 유형 변수 : 값이 변하는 모든 데이터 ex)키, 체중, 온도상수 : 값이 달라지지 않는 것 ex)파이(=3.14) 독립변수 : 원인이 되는 것 = 설명변수종속변수 : 결과가 되는 것 = 결과(반응)변수 질적변수 : 수치로 나타낼 수 없는 변수 ex)성별, 혈액형, 학교, 지역 등양적변수 : 수치로 나타낼 수 있는 변수 ex)체중, 키, 온도 2. 날짜 데이터 처리(연도 관련)# 연도 데이터 탐색 year_fea = [fea for fea in numeric_features if 'Yr' in fea or 'Year' in fea] // Yr, Year관련 데이터 추출print(year_fea)# return : ['YearBuilt', 'YearRemodAdd', 'Garag..
2023. 12. 29.
[선형대수학] 아핀 변환, 고유벡터, 고유값 분해
01. 아핀 변환 Affine Transformation v = np.array([3, 1])v# array([3, 1])import matplotlib.pyplot as pltdef plot_vectors(vectors, colors): """ Plot one or more vectors in a 2D plane, specifying a color for each. Arguments --------- vectors: list of lists or of arrays Coordinates of the vectors to plot. For example, [[1, 3], [2, 2]] contains two vectors to plot, [1, 3] a..
2023. 11. 8.