데이터 분석 관련 두번째 포스팅 글입니다.
이번 시간에는 제가 2022년 8월에 나갔던 경진대회 코드를 리뷰하겠습니다.
데이터 분석의 목적은 공정 데이터를 활용하여 Radar 센서의 안테나 성능 예측을 위한 AI 모델을 개발하는 것으로, 즉 공정데이터와 제품 성능간 상관 분석을 통해 제품의 불량을 예측하고 분석하는 것입니다.
데이터 분석에 들어가기 앞서서 다룰 데이터가 생소하여 데이터 분석 전 간단히 데이터에 대한 공부가 필요했습니다.
그리고, 일주일동안의 짧은 분석시간으로 인해 미흡한 부분이 많습니다. 코드 작성에 도움을 주신 많은 분들의 코드 링크는 다음과 같습니다.

열이 많이 발생하는 RF PCB 부품 – Shielding2 사이 방열소재 도포 = 열 확산
!sudo apt-get install -y fonts-nanum
!sudo fc-cache -fv]
!rm ~/.cache/matplotlib -rf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libnvidia-common-460
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
fonts-nanum
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 9,604 kB of archives.
After this operation, 29.5 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 fonts-nanum all 20170925-1 [9,604 kB]
Fetched 9,604 kB in 2s (3,978 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 1.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Selecting previously unselected package fonts-nanum.
(Reading database ... 123941 files and directories currently installed.)
Preparing to unpack .../fonts-nanum_20170925-1_all.deb ...
Unpacking fonts-nanum (20170925-1) ...
Setting up fonts-nanum (20170925-1) ...
Processing triggers for fontconfig (2.12.6-0ubuntu2) ...
fc-cache: invalid option -- ']'
usage: fc-cache [-EfrsvVh] [-y SYSROOT] [--error-on-no-fonts] [--force|--really-force] [--sysroot=SYSROOT] [--system-only] [--verbose] [--version] [--help] [dirs]
Build font information caches in [dirs]
(all directories in font configuration by default).
-E, --error-on-no-fonts raise an error if no fonts in a directory
-f, --force scan directories with apparently valid caches
-r, --really-force erase all existing caches, then rescan
-s, --system-only scan system-wide directories only
-y, --sysroot=SYSROOT prepend SYSROOT to all paths for scanning
-v, --verbose display status information while busy
-V, --version display font config version and exit
-h, --help display this help and exit
import matplotlib.pyplot as plt
plt.rc('font', family='NanumBarunGothic')
import pandas as pd
import random
import os
import numpy as np
from sklearn.linear_model import LinearRegression
from sklearn.multioutput import MultiOutputRegressor
def seed_everything(seed):
random.seed(seed)
os.environ['PYTHONHASHSEED'] = str(seed)
np.random.seed(seed)
seed_everything(42) # Seed 고정
from google.colab import drive
drive.mount('/content/drive')
Mounted at /content/drive
jungboytx=pd.read_csv('/content/drive/MyDrive/open/meta/x_feature_info.csv')
jungboytx
| Feature | 설명 | |
|---|---|---|
| 0 | X_01 | PCB 체결 시 단계별 누름량(Step 1) |
| 1 | X_02 | PCB 체결 시 단계별 누름량(Step 2) |
| 2 | X_03 | 방열 재료 1 무게 |
| 3 | X_04 | 1차 검사 통과 여부 |
| 4 | X_05 | PCB 체결 시 단계별 누름량(Step 3) |
| 5 | X_06 | PCB 체결 시 단계별 누름량(Step 4) |
| 6 | X_07 | 방열 재료 1 면적 |
| 7 | X_08 | 방열 재료 2 면적 |
| 8 | X_09 | 방열 재료 3 면적 |
| 9 | X_10 | 방열 재료 2 무게 |
| 10 | X_11 | 방열 재료 3 무게 |
| 11 | X_12 | 커넥터 위치 기준 좌표 |
| 12 | X_13 | 각 안테나 패드 위치(높이) 차이 |
| 13 | X_14 | 1번 안테나 패드 위치 |
| 14 | X_15 | 2번 안테나 패드 위치 |
| 15 | X_16 | 3번 안테나 패드 위치 |
| 16 | X_17 | 4번 안테나 패드 위치 |
| 17 | X_18 | 5번 안테나 패드 위치 |
| 18 | X_19 | 1번 스크류 삽입 깊이 |
| 19 | X_20 | 2번 스크류 삽입 깊이 |
| 20 | X_21 | 3번 스크류 삽입 깊이 |
| 21 | X_22 | 4번 스크류 삽입 깊이 |
| 22 | X_23 | 2차 검사 통과 여부 |
| 23 | X_24 | 커넥터 1번 핀 치수 |
| 24 | X_25 | 커넥터 2번 핀 치수 |
| 25 | X_26 | 커넥터 3번 핀 치수 |
| 26 | X_27 | 커넥터 4번 핀 치수 |
| 27 | X_28 | 커넥터 5번 핀 치수 |
| 28 | X_29 | 커넥터 6번 핀 치수 |
| 29 | X_30 | 스크류 삽입 깊이1 |
| 30 | X_31 | 스크류 삽입 깊이2 |
| 31 | X_32 | 스크류 삽입 깊이3 |
| 32 | X_33 | 스크류 삽입 깊이4 |
| 33 | X_34 | 스크류 체결 시 분당 회전수 1 |
| 34 | X_35 | 스크류 체결 시 분당 회전수 2 |
| 35 | X_36 | 스크류 체결 시 분당 회전수 3 |
| 36 | X_37 | 스크류 체결 시 분당 회전수 4 |
| 37 | X_38 | 하우징 PCB 안착부 1 치수 |
| 38 | X_39 | 하우징 PCB 안착부 2 치수 |
| 39 | X_40 | 하우징 PCB 안착부 3 치수 |
| 40 | X_41 | 레이돔 치수 (안테나 1번 부위) |
| 41 | X_42 | 레이돔 치수 (안테나 2번 부위) |
| 42 | X_43 | 레이돔 치수 (안테나 3번 부위) |
| 43 | X_44 | 레이돔 치수 (안테나 4번 부위) |
| 44 | X_45 | 안테나 부분 레이돔 기울기 |
| 45 | X_46 | 실란트 본드 소요량 |
| 46 | X_47 | 3차 검사 통과 여부 |
| 47 | X_48 | 4차 검사 통과 여부 |
| 48 | X_49 | Cal 투입 전 대기 시간 |
| 49 | X_50 | RF1 부분 SMT 납 량 |
| 50 | X_51 | RF2 부분 SMT 납 량 |
| 51 | X_52 | RF3 부분 SMT 납 량 |
| 52 | X_53 | RF4 부분 SMT 납 량 |
| 53 | X_54 | RF5 부분 SMT 납 량 |
| 54 | X_55 | RF6 부분 SMT 납 량 |
| 55 | X_56 | RF7 부분 SMT 납 량 |
jungboytx=pd.read_csv('/content/drive/MyDrive/open/meta/y_feature_info.csv')
jungboytx
| Feature | 설명 | |
|---|---|---|
| 0 | Y_01 | 안테나 Gain 평균 (각도1) |
| 1 | Y_02 | 안테나 1 Gain 편차 |
| 2 | Y_03 | 안테나 2 Gain 편차 |
| 3 | Y_04 | 평균 신호대 잡음비 |
| 4 | Y_05 | 안테나 Gain 평균 (각도2) |
| 5 | Y_06 | 신호대 잡음비 (각도1) |
| 6 | Y_07 | 안테나 Gain 평균 (각도3) |
| 7 | Y_08 | 신호대 잡음비 (각도2) |
| 8 | Y_09 | 신호대 잡음비 (각도3) |
| 9 | Y_10 | 신호대 잡음비 (각도4) |
| 10 | Y_11 | 안테나 Gain 평균 (각도4) |
| 11 | Y_12 | 신호대 잡음비 (각도5) |
| 12 | Y_13 | 신호대 잡음비 (각도6) |
| 13 | Y_14 | 신호대 잡음비 (각도7) |
jungboyt=pd.read_csv('/content/drive/MyDrive/open/meta/y_feature_spec_info.csv')
jungboyt
| Feature | 최소 | 최대 | |
|---|---|---|---|
| 0 | Y_01 | 0.2 | 2.0 |
| 1 | Y_02 | 0.2 | 2.1 |
| 2 | Y_03 | 0.2 | 2.1 |
| 3 | Y_04 | 7.0 | 19.0 |
| 4 | Y_05 | 22.0 | 36.5 |
| 5 | Y_06 | -19.2 | 19.0 |
| 6 | Y_07 | 2.4 | 4.0 |
| 7 | Y_08 | -29.2 | -24.0 |
| 8 | Y_09 | -29.2 | -24.0 |
| 9 | Y_10 | -30.6 | -20.0 |
| 10 | Y_11 | 19.6 | 26.6 |
| 11 | Y_12 | -29.2 | -24.0 |
| 12 | Y_13 | -29.2 | -24.0 |
| 13 | Y_14 | -29.2 | -24.0 |
train_df = pd.read_csv('/content/drive/MyDrive/open/train.csv')
train_df.head()
| ID | X_01 | X_02 | X_03 | X_04 | X_05 | X_06 | X_07 | X_08 | X_09 | ... | Y_05 | Y_06 | Y_07 | Y_08 | Y_09 | Y_10 | Y_11 | Y_12 | Y_13 | Y_14 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | TRAIN_00001 | 70.544 | 103.320 | 67.47 | 1 | 101.892 | 74.983 | 29.45 | 62.38 | 245.71 | ... | 29.632 | 16.083 | 4.276 | -25.381 | -25.529 | -22.769 | 23.792 | -25.470 | -25.409 | -25.304 |
| 1 | TRAIN_00002 | 69.524 | 103.321 | 65.17 | 1 | 101.944 | 72.943 | 28.73 | 61.23 | 233.61 | ... | 33.179 | 16.736 | 3.229 | -26.619 | -26.523 | -22.574 | 24.691 | -26.253 | -26.497 | -26.438 |
| 2 | TRAIN_00003 | 72.583 | 103.320 | 64.07 | 1 | 103.153 | 72.943 | 28.81 | 105.77 | 272.20 | ... | 31.801 | 17.080 | 2.839 | -26.238 | -26.216 | -22.169 | 24.649 | -26.285 | -26.215 | -26.370 |
| 3 | TRAIN_00004 | 71.563 | 103.320 | 67.57 | 1 | 101.971 | 77.022 | 28.92 | 115.21 | 255.36 | ... | 34.503 | 17.143 | 3.144 | -25.426 | -25.079 | -21.765 | 24.913 | -25.254 | -25.021 | -25.345 |
| 4 | TRAIN_00005 | 69.524 | 103.320 | 63.57 | 1 | 101.981 | 70.904 | 29.68 | 103.38 | 241.46 | ... | 32.602 | 17.569 | 3.138 | -25.376 | -25.242 | -21.072 | 25.299 | -25.072 | -25.195 | -24.974 |
5 rows × 71 columns
train_x = train_df.filter(regex='X') # Input : X Featrue
train_y = train_df.filter(regex='Y') # Output : Y Feature
train_x.head()
| X_01 | X_02 | X_03 | X_04 | X_05 | X_06 | X_07 | X_08 | X_09 | X_10 | ... | X_47 | X_48 | X_49 | X_50 | X_51 | X_52 | X_53 | X_54 | X_55 | X_56 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 70.544 | 103.320 | 67.47 | 1 | 101.892 | 74.983 | 29.45 | 62.38 | 245.71 | 0.0 | ... | 1 | 1 | 9706.03 | 137.043591 | 135.359219 | 147.837968 | 134.313475 | 125.605427 | 136.721425 | 125.028256 |
| 1 | 69.524 | 103.321 | 65.17 | 1 | 101.944 | 72.943 | 28.73 | 61.23 | 233.61 | 0.0 | ... | 1 | 1 | 10423.43 | 133.736691 | 135.979817 | 149.924692 | 123.630583 | 127.893337 | 143.322659 | 124.877308 |
| 2 | 72.583 | 103.320 | 64.07 | 1 | 103.153 | 72.943 | 28.81 | 105.77 | 272.20 | 0.0 | ... | 1 | 1 | 10948.53 | 132.805112 | 131.055355 | 146.814592 | 128.939070 | 127.012195 | 140.395688 | 122.238232 |
| 3 | 71.563 | 103.320 | 67.57 | 1 | 101.971 | 77.022 | 28.92 | 115.21 | 255.36 | 0.0 | ... | 1 | 1 | 15007.03 | 134.138760 | 133.239422 | 139.720132 | 132.260824 | 130.723186 | 147.624829 | 134.875225 |
| 4 | 69.524 | 103.320 | 63.57 | 1 | 101.981 | 70.904 | 29.68 | 103.38 | 241.46 | 0.0 | ... | 1 | 1 | 11051.03 | 142.728970 | 136.620022 | 134.853555 | 134.760252 | 125.647793 | 139.331105 | 123.272762 |
5 rows × 56 columns
train_y.head()
| Y_01 | Y_02 | Y_03 | Y_04 | Y_05 | Y_06 | Y_07 | Y_08 | Y_09 | Y_10 | Y_11 | Y_12 | Y_13 | Y_14 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 2.056 | 1.456 | 1.680 | 10.502 | 29.632 | 16.083 | 4.276 | -25.381 | -25.529 | -22.769 | 23.792 | -25.470 | -25.409 | -25.304 |
| 1 | 1.446 | 1.184 | 1.268 | 18.507 | 33.179 | 16.736 | 3.229 | -26.619 | -26.523 | -22.574 | 24.691 | -26.253 | -26.497 | -26.438 |
| 2 | 1.251 | 0.665 | 0.782 | 14.082 | 31.801 | 17.080 | 2.839 | -26.238 | -26.216 | -22.169 | 24.649 | -26.285 | -26.215 | -26.370 |
| 3 | 1.464 | 1.079 | 1.052 | 16.975 | 34.503 | 17.143 | 3.144 | -25.426 | -25.079 | -21.765 | 24.913 | -25.254 | -25.021 | -25.345 |
| 4 | 0.983 | 0.646 | 0.689 | 15.047 | 32.602 | 17.569 | 3.138 | -25.376 | -25.242 | -21.072 | 25.299 | -25.072 | -25.195 | -24.974 |
import matplotlib.pyplot as plt
import seaborn as sns
plt.rc('font', family='NanumBarunGothic')
plt.rcParams['font.size']= 15
for i in ['X_04','X_23','X_47','X_48']:
print(i," : ",len(train_x[train_x[i]==0]))
print(train_x[i].unique())
X_04 : 0
[1]
X_23 : 0
[1]
X_47 : 0
[1]
X_48 : 0
[1]
for i in train_x.columns:
if len(train_x[train_x[i]==0]) !=0:
print(i ," : ", len(train_x[train_x[i]==0]) ,'/', len(train_x[train_x[i]!=0]))
X_10 : 39575 / 32
X_11 : 39580 / 27
X_45 : 1 / 39606
plt.figure(figsize=(22,14))
train_corr = train_df.corr() # pearson 상관관계 계수
train_corr_2 = train_corr.apply(lambda x : round(x,1)) # 반올림
sns.heatmap(train_corr_2, cmap='RdBu_r', vmax=1, vmin=-1, annot=True, fmt='.1f')
WARNING:matplotlib.font_manager:findfont: Font family ['NanumBarunGothic'] not found. Falling back to DejaVu Sans.
<matplotlib.axes._subplots.AxesSubplot at 0x7feac244f7d0>

plt.figure(figsize=(22,14))
sns.heatmap(train_corr_2.loc['X_01':'X_56','Y_01':'Y_14'], cmap='RdBu_r', vmax=1, vmin=-1, annot=True, fmt='.1f')
<matplotlib.axes._subplots.AxesSubplot at 0x7feabf205750>

plt.figure(figsize=(22,14))
sns.heatmap(train_corr_2.loc['Y_01':'Y_14','Y_01':'Y_14'], cmap='RdBu_r', vmax=1, vmin=-1, annot=True, fmt='.1f')
<matplotlib.axes._subplots.AxesSubplot at 0x7feabc908d90>

plt.figure(figsize=(30,20))
sns.heatmap(train_corr_2.loc['X_01':'X_56','X_01':'X_56'], cmap='RdBu_r', vmax=1, vmin=-1, annot=True, fmt='.1f')
<matplotlib.axes._subplots.AxesSubplot at 0x7feabaa5c210>

train_y[['Y_01','Y_05','Y_07','Y_11','Y_12']]
| Y_01 | Y_05 | Y_07 | Y_11 | Y_12 | |
|---|---|---|---|---|---|
| 0 | 2.056 | 29.632 | 4.276 | 23.792 | -25.470 |
| 1 | 1.446 | 33.179 | 3.229 | 24.691 | -26.253 |
| 2 | 1.251 | 31.801 | 2.839 | 24.649 | -26.285 |
| 3 | 1.464 | 34.503 | 3.144 | 24.913 | -25.254 |
| 4 | 0.983 | 32.602 | 3.138 | 25.299 | -25.072 |
| ... | ... | ... | ... | ... | ... |
| 39602 | 1.382 | 29.194 | 3.410 | 24.261 | -26.491 |
| 39603 | 1.482 | 29.859 | 3.406 | 23.427 | -27.250 |
| 39604 | 1.117 | 24.720 | 3.215 | 24.301 | -26.388 |
| 39605 | 0.895 | 26.412 | 4.216 | 23.305 | -26.536 |
| 39606 | 1.147 | 30.745 | 3.307 | 24.450 | -26.224 |
39607 rows × 5 columns
for i in ['Y_01','Y_05','Y_07','Y_11']:
plt.figure(figsize=(30,10),dpi=150)
x = train_y[i].index
y = train_y[i].values
plt.title("안테나 Gain 평균")
plt.xlabel(i)
plt.ylabel("값")
plt.plot(x, y)
plt.hlines(y=jungboyt['최소'][jungboyt['Feature']==i], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.hlines(y=jungboyt['최대'][jungboyt['Feature']==i], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.show()
WARNING:matplotlib.font_manager:findfont: Font family ['NanumBarunGothic'] not found. Falling back to DejaVu Sans.
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)

/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)

/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)

/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)

plt.figure(figsize=(30,10),dpi=150)
x = train_y[['Y_05','Y_11']].index
y = train_y[['Y_05','Y_11']].values
plt.title("안테나 Gain 평균")
plt.xlabel('Y_05 & Y_11')
plt.ylabel("값")
plt.plot(x, y)
plt.hlines(y=jungboyt['최소'][jungboyt['Feature']=='Y_05'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.hlines(y=jungboyt['최대'][jungboyt['Feature']=='Y_05'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.hlines(y=jungboyt['최소'][jungboyt['Feature']=='Y_11'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.hlines(y=jungboyt['최대'][jungboyt['Feature']=='Y_11'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.legend(['Y_05','Y_11'])
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)

plt.figure(figsize=(30,10),dpi=150)
x = train_y[['Y_01','Y_07']].index
y = train_y[['Y_01','Y_07']].values
plt.title("안테나 Gain 평균")
plt.xlabel('Y_01 & Y_07')
plt.ylabel("값")
plt.plot(x, y)
plt.hlines(y=jungboyt['최소'][jungboyt['Feature']=='Y_01'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.hlines(y=jungboyt['최대'][jungboyt['Feature']=='Y_01'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.hlines(y=jungboyt['최소'][jungboyt['Feature']=='Y_07'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.hlines(y=jungboyt['최대'][jungboyt['Feature']=='Y_07'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.legend(['Y_01','Y_07'])
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)

for i in ['Y_06','Y_08','Y_09','Y_10','Y_12','Y_13','Y_14']:
plt.figure(figsize=(30,10),dpi=150)
x = train_y[i].index
y = train_y[i].values
plt.title("신호 대 잡음비")
plt.xlabel(i)
plt.ylabel("값(신호/노이즈)")
plt.plot(x, y)
plt.hlines(y=jungboyt['최소'][jungboyt['Feature']==i], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.hlines(y=jungboyt['최대'][jungboyt['Feature']==i], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45432 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51592 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45432 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51592 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0, flags=flags)







plt.figure(figsize=(30,10),dpi=150)
x = train_y[['Y_06','Y_09']].index
y = train_y[['Y_06','Y_09']].values
plt.title("안테나 Gain 평균")
plt.xlabel('Y_06 & Y_09')
plt.ylabel("값")
plt.plot(x, y)
plt.hlines(y=jungboyt['최소'][jungboyt['Feature']=='Y_06'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.hlines(y=jungboyt['최대'][jungboyt['Feature']=='Y_06'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.hlines(y=jungboyt['최소'][jungboyt['Feature']=='Y_09'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.hlines(y=jungboyt['최대'][jungboyt['Feature']=='Y_09'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.legend(['Y_06','Y_09'])
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)

plt.figure(figsize=(30,10),dpi=150)
x = train_y[['Y_08','Y_10']].index
y = train_y[['Y_08','Y_10']].values
plt.title("안테나 Gain 평균")
plt.xlabel('Y_08 & Y_10')
plt.ylabel("값")
plt.plot(x, y)
plt.hlines(y=jungboyt['최소'][jungboyt['Feature']=='Y_08'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.hlines(y=jungboyt['최대'][jungboyt['Feature']=='Y_08'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.hlines(y=jungboyt['최소'][jungboyt['Feature']=='Y_10'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.hlines(y=jungboyt['최대'][jungboyt['Feature']=='Y_10'], xmin=-1000, xmax=len(x)+1000, color='red', linestyle='dotted')
plt.legend(['Y_08','Y_10'])
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)

for i in ['Y_01','Y_05','Y_07','Y_11']:
plt.figure(figsize=(10,5),dpi=100)
y = train_df['X_49']
x = train_df[i]
plt.title(i)
plt.ylabel('Cal 투입 전 대기 시간')
plt.xlabel("안테나 Gain 평균")
plt.scatter(x, y)
#plt.hlines(y=0.8, xmin=0, xmax=max(x), color='red', linestyle='dotted')
#plt.hlines(y=2.2, xmin=0, xmax=max(x), color='red', linestyle='dotted')
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53804 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51077 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51204 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44592 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49884 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44036 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53804 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51077 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51204 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44592 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49884 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44036 missing from current font.
font.set_text(s, 0, flags=flags)




for i in ['Y_01','Y_05','Y_07','Y_11']:
plt.figure(figsize=(30,10),dpi=150)
x = train_df['X_49']
y = train_df[i]
plt.title(i)
plt.xlabel('Cal 투입 전 대기 시간')
plt.ylabel("안테나 Gain 평균")
plt.scatter(x, y)
#plt.hlines(y=0.8, xmin=0, xmax=max(x), color='red', linestyle='dotted')
#plt.hlines(y=2.2, xmin=0, xmax=max(x), color='red', linestyle='dotted')
plt.show()




train_x[['X_01','X_02','X_05','X_06']]
| X_01 | X_02 | X_05 | X_06 | |
|---|---|---|---|---|
| 0 | 70.544 | 103.320 | 101.892 | 74.983 |
| 1 | 69.524 | 103.321 | 101.944 | 72.943 |
| 2 | 72.583 | 103.320 | 103.153 | 72.943 |
| 3 | 71.563 | 103.320 | 101.971 | 77.022 |
| 4 | 69.524 | 103.320 | 101.981 | 70.904 |
| ... | ... | ... | ... | ... |
| 39602 | 66.465 | 103.320 | 103.150 | 66.825 |
| 39603 | 66.465 | 103.321 | 102.021 | 66.825 |
| 39604 | 68.504 | 103.320 | 103.144 | 68.864 |
| 39605 | 66.465 | 103.320 | 102.025 | 67.845 |
| 39606 | 66.465 | 103.320 | 102.004 | 69.884 |
39607 rows × 4 columns
for i in ['X_01','X_02','X_05','X_06']:
plt.figure(figsize=(20,10))
sns.barplot(data=train_x.groupby([i])['X_08'].count().reset_index().rename(columns={"X_08":"수"}),x=i,y="수")
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)

/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)

/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)

/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)

train_corr_2[train_corr_2>=0.2].index
Index(['X_01', 'X_02', 'X_03', 'X_04', 'X_05', 'X_06', 'X_07', 'X_08', 'X_09',
'X_10', 'X_11', 'X_12', 'X_13', 'X_14', 'X_15', 'X_16', 'X_17', 'X_18',
'X_19', 'X_20', 'X_21', 'X_22', 'X_23', 'X_24', 'X_25', 'X_26', 'X_27',
'X_28', 'X_29', 'X_30', 'X_31', 'X_32', 'X_33', 'X_34', 'X_35', 'X_36',
'X_37', 'X_38', 'X_39', 'X_40', 'X_41', 'X_42', 'X_43', 'X_44', 'X_45',
'X_46', 'X_47', 'X_48', 'X_49', 'X_50', 'X_51', 'X_52', 'X_53', 'X_54',
'X_55', 'X_56', 'Y_01', 'Y_02', 'Y_03', 'Y_04', 'Y_05', 'Y_06', 'Y_07',
'Y_08', 'Y_09', 'Y_10', 'Y_11', 'Y_12', 'Y_13', 'Y_14'],
dtype='object')
PCB1=train_df[['X_01','X_02','X_05','X_06']]
PCB1.plot()
<matplotlib.axes._subplots.AxesSubplot at 0x7feab8c45190>

train_df[['X_03','X_10','X_11']] #무게
| X_03 | X_10 | X_11 | |
|---|---|---|---|
| 0 | 67.47 | 0.0 | 0.0 |
| 1 | 65.17 | 0.0 | 0.0 |
| 2 | 64.07 | 0.0 | 0.0 |
| 3 | 67.57 | 0.0 | 0.0 |
| 4 | 63.57 | 0.0 | 0.0 |
| ... | ... | ... | ... |
| 39602 | 62.27 | 0.0 | 0.0 |
| 39603 | 62.77 | 0.0 | 0.0 |
| 39604 | 64.67 | 0.0 | 0.0 |
| 39605 | 63.67 | 0.0 | 0.0 |
| 39606 | 65.67 | 0.0 | 0.0 |
39607 rows × 3 columns
train_df['X_03'].describe() # 방열 재료 1('X_03')의 무게 분포
count 39607.000000
mean 68.826354
std 5.151167
min 56.470000
25% 65.070000
50% 67.270000
75% 71.770000
max 89.170000
Name: X_03, dtype: float64
for i in ['X_03','X_10','X_11']:
plt.figure(figsize=(20,10))
sns.barplot(data=train_x.groupby([i])['X_08'].count().reset_index().rename(columns={"X_08":"수"}),x=i,y="수")
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)

/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)

/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)

train_df[['X_07','X_08','X_09']] # 면적
| X_07 | X_08 | X_09 | |
|---|---|---|---|
| 0 | 29.45 | 62.38 | 245.71 |
| 1 | 28.73 | 61.23 | 233.61 |
| 2 | 28.81 | 105.77 | 272.20 |
| 3 | 28.92 | 115.21 | 255.36 |
| 4 | 29.68 | 103.38 | 241.46 |
| ... | ... | ... | ... |
| 39602 | 30.20 | 77.83 | 298.05 |
| 39603 | 29.21 | 102.25 | 270.67 |
| 39604 | 29.96 | 102.61 | 198.07 |
| 39605 | 30.30 | 112.60 | 275.52 |
| 39606 | 30.16 | 112.90 | 276.06 |
39607 rows × 3 columns
for i in ['X_07','X_08','X_09']:
plt.figure(figsize=(20,10))
sns.barplot(data=train_x.groupby([i])['X_03'].count().reset_index().rename(columns={"X_03":"수"}),x=i,y="수")
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)

/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)

/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)

for i in ['X_07','X_08','X_09']: # 방열 재료 면적의 데이터 분포 확인
print(i)
print(train_df[i].describe(),'\n')
X_07
count 39607.000000
mean 29.407490
std 7.338204
min 14.140000
25% 27.890000
50% 28.840000
75% 29.870000
max 163.860000
Name: X_07, dtype: float64
X_08
count 39607.000000
mean 164.449320
std 220.402444
min 38.460000
25% 105.990000
50% 115.040000
75% 132.620000
max 2387.440000
Name: X_08, dtype: float64
X_09
count 39607.000000
mean 225.397470
std 66.734725
min 37.580000
25% 188.540000
50% 234.450000
75% 263.960000
max 637.490000
Name: X_09, dtype: float64
이상치 제거
for i in ['X_14','X_15','X_16','X_17','X_18']:
plt.figure(figsize=(25,5))
sns.barplot(data=train_x.groupby([i])['X_03'].count().reset_index().rename(columns={"X_03":"수"}),x=i,y="수")
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)





screw = train_x[['X_19','X_20','X_21','X_22']] # 1,2,3,4번 스크류 삽입 깊이
fig, axes = plt.subplots(2,2, figsize = (25,20))
sns.histplot(data = screw, x = "X_19", kde = True, ax = axes[0,0]).set(title = "스크류 삽입 깊이 1")
sns.histplot(data = screw, x = "X_20", kde = True, ax = axes[0,1]).set(title = "스크류 삽입 깊이 2")
sns.histplot(data = screw, x = "X_21", kde = True, ax = axes[1,0]).set(title = "스크류 삽입 깊이 3")
sns.histplot(data = screw, x = "X_22", kde = True, ax = axes[1,1]).set(title = "스크류 삽입 깊이 4")
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49828 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53356 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47448 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49341 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51077 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44618 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49828 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53356 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47448 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49341 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51077 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44618 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0, flags=flags)

screw = train_x[['X_34','X_35','X_36','X_37']] # 스크류 체결 시 분당 회전수 1,2,3,4
fig, axes = plt.subplots(2,2, figsize = (25,20))
sns.histplot(data = screw, x = "X_34", kde = True, ax = axes[0,0]).set(title = "스크류 체결 시 분당 회전수 1")
sns.histplot(data = screw, x = "X_35", kde = True, ax = axes[0,1]).set(title = "스크류 체결 시 분당 회전수 2")
sns.histplot(data = screw, x = "X_36", kde = True, ax = axes[1,0]).set(title = "스크류 체결 시 분당 회전수 3")
sns.histplot(data = screw, x = "X_37", kde = True, ax = axes[1,1]).set(title = "스크류 체결 시 분당 회전수 4")
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49828 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53356 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47448 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52404 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49884 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48516 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45817 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54924 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51204 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49828 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53356 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47448 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52404 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49884 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48516 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45817 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54924 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51204 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)

for i in ['X_24','X_25','X_26','X_27','X_28','X_29']:
plt.figure(figsize=(25,5))
sns.barplot(data=train_x.groupby([i])['X_03'].count().reset_index().rename(columns={"X_03":"수"}),x=i,y="수")
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)






for i in ['X_41','X_42','X_43','X_44']:
plt.figure(figsize=(25,5),dpi=150)
x = train_x[i].index
y = train_x[i].values
plt.title(i)
plt.xlabel("안테나 부위 레이돔 치수")
plt.ylabel("치수 값")
plt.plot(x, y)
# plt.hlines(y=0, xmin=0, xmax=len(x), color='red', linestyle='dotted')
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47112 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 46036 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48512 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47112 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 46036 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0, flags=flags)

/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47112 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 46036 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48512 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47112 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 46036 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0, flags=flags)

/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47112 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 46036 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48512 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47112 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 46036 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0, flags=flags)

/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47112 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 46036 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48512 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47112 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 46036 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44050 missing from current font.
font.set_text(s, 0, flags=flags)

for i in ['X_41','X_42','X_43','X_44']:
plt.figure(figsize=(25,5))
sns.barplot(data=train_x.groupby([i])['X_03'].count().reset_index().rename(columns={"X_03":"수"}),x=i,y="수")
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)




#하우징 PCB 안착부 치수
housing = train_x[['X_38','X_39','X_40']]
fig, (ax1, ax2, ax3) = plt.subplots(1,3, figsize = (25,7))
sns.histplot(data = housing, x = "X_38", kde = True, ax = ax1).set(title = "하우징 PCB 안착부 1 치수 ")
sns.histplot(data = housing, x = "X_39", kde = True, ax = ax2).set(title = "하우징 PCB 안착부 2 치수")
sns.histplot(data = housing, x = "X_40", kde = True, ax = ax3).set(title = "하우징 PCB 안착부 3 치수")
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54616 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50864 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51669 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52265 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54616 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50864 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51669 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52265 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48512 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)

#RF 1,2,3,4,5,6,7 부분 SMT 납 량
RF = train_x[['X_50','X_51','X_52','X_53','X_54','X_55','X_56']]
fig, axes = plt.subplots(4,2, figsize = (30,40))
sns.histplot(data = RF, x = "X_50", kde = True, ax = axes[0,0]).set(title = "RF 1 부분 SMT 납 량")
sns.histplot(data = RF, x = "X_51", kde = True, ax = axes[0,1]).set(title = "RF 2 부분 SMT 납 량")
sns.histplot(data = RF, x = "X_52", kde = True, ax = axes[1,0]).set(title = "RF 3 부분 SMT 납 량")
sns.histplot(data = RF, x = "X_53", kde = True, ax = axes[1,1]).set(title = "RF 4 부분 SMT 납 량")
sns.histplot(data = RF, x = "X_54", kde = True, ax = axes[2,0]).set(title = "RF 5 부분 SMT 납 량")
sns.histplot(data = RF, x = "X_55", kde = True, ax = axes[2,1]).set(title = "RF 6 부분 SMT 납 량")
sns.histplot(data = RF, x = "X_56", kde = True, ax = axes[3,0]).set(title = "RF 7 부분 SMT 납 량")
plt.show()
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48516 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45225 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47049 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48512 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48516 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45225 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47049 missing from current font.
font.set_text(s, 0, flags=flags)

import seaborn as sns
for i in ['X_41','X_42','X_43','X_44']:
for j in ['Y_01','Y_05','Y_07','Y_11']:
plt.figure(figsize= (15,5))
sns.regplot(x=i, y=j, data=train_df)
plt.ylabel(f'안테나 gain 평균{j}')
plt.xlabel(f'레이돔 치수{i}')
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47112 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 46036 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47112 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 46036 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)
















for i in ['X_41','X_42','X_43','X_44']:
for j in ['Y_06','Y_08','Y_09','Y_10']:
plt.figure(figsize= (15,5))
sns.regplot(x=i, y=j, data=train_df)
plt.ylabel(f'신호 대 잡음비{j}')
plt.xlabel(f'레이돔 치수{i}')
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47112 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 46036 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47112 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 46036 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0, flags=flags)
















for i in ['X_24','X_25','X_26','X_27','X_28','X_29']:
for j in ['Y_01','Y_05','Y_07','Y_11']:
plt.figure(figsize= (15,5))
sns.regplot(x=i, y=j, data=train_df)
plt.ylabel(f'안테나 gain 평균{j}')
plt.xlabel(f'커넥터 핀 치수{i}')
/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py:3: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
This is separate from the ipykernel package so we can avoid doing imports until
/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py:3: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
This is separate from the ipykernel package so we can avoid doing imports until
/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py:3: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
This is separate from the ipykernel package so we can avoid doing imports until
/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py:3: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
This is separate from the ipykernel package so we can avoid doing imports until
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52964 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45349 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53552 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54592 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52964 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45349 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53552 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54592 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)
























for i in ['X_24','X_25','X_26','X_27','X_28','X_29']:
for j in ['Y_06','Y_08','Y_09','Y_10']:
plt.figure(figsize= (15,5))
sns.regplot(x=i, y=j, data=train_df)
plt.ylabel(f'신호 대 잡음비{j}')
plt.xlabel(f'커넥터 핀 치수{i}')
/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py:3: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
This is separate from the ipykernel package so we can avoid doing imports until
/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py:3: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
This is separate from the ipykernel package so we can avoid doing imports until
/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py:3: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
This is separate from the ipykernel package so we can avoid doing imports until
/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py:3: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
This is separate from the ipykernel package so we can avoid doing imports until
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52964 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45349 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53552 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54592 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52964 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45349 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53552 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54592 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49688 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0, flags=flags)
























for i in ['X_19','X_20','X_21','X_22']:
for j in ['Y_01','Y_05','Y_07','Y_11']:
plt.figure(figsize= (15,5))
sns.regplot(x=i, y=j, data=train_df)
plt.ylabel(f'안테나 gain 평균{j}')
plt.xlabel(f'스크류 삽입 깊이{i}')
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49828 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53356 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47448 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49341 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51077 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44618 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49828 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53356 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47448 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49341 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51077 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44618 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)
















for i in ['X_19','X_20','X_21','X_22']:
for j in ['Y_06','Y_08','Y_09','Y_10']:
plt.figure(figsize= (15,5))
sns.regplot(x=i, y=j, data=train_df)
plt.ylabel(f'신호 대 잡음비{j}')
plt.xlabel(f'스크류 삽입 깊이{i}')
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49828 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53356 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47448 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49341 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51077 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44618 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49828 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53356 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47448 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49341 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51077 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44618 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51060 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0, flags=flags)
















for i in ['X_14','X_15','X_16','X_17','X_18']:
for j in ['Y_01','Y_05','Y_07','Y_11']:
plt.figure(figsize= (15,5))
sns.regplot(x=i, y=j, data=train_df)
plt.ylabel(f'안테나 gain 평균{j}')
plt.xlabel(f'안테나 패드 위치{i}')
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54056 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 46300 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54056 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 46300 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)




















for i in ['X_14','X_15','X_16','X_17','X_18']:
for j in ['Y_06','Y_08','Y_09','Y_10']:
plt.figure(figsize= (15,5))
sns.regplot(x=i, y=j, data=train_df)
plt.ylabel(f'신호 대 잡음비{j}')
plt.xlabel(f'안테나 패드 위치{i}')
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54056 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 46300 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54056 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 46300 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0, flags=flags)




















for i in ['X_07','X_08','X_09']:
for j in ['Y_01','Y_05','Y_07','Y_11']:
plt.figure(figsize= (15,5))
sns.regplot(x=i, y=j, data=train_df)
plt.ylabel(f'안테나 gain 평균{j}')
plt.xlabel(f'안테나 패드 위치{i}')
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54056 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 46300 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54056 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 46300 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)












for i in ['X_07','X_08','X_09']:
for j in ['Y_06','Y_08','Y_09','Y_10']:
plt.figure(figsize= (15,5))
sns.regplot(x=i, y=j, data=train_df)
plt.ylabel(f'신호 대 잡음비{j}')
plt.xlabel(f'안테나 패드 위치{i}')
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54056 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 46300 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54056 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 46300 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0, flags=flags)












for i in ['X_49']:
for j in ['Y_01','Y_05','Y_07','Y_11']:
plt.figure(figsize= (15,5))
sns.regplot(x=i, y=j, data=train_df)
plt.ylabel(f'안테나 gain 평균{j}')
plt.xlabel(f'안테나 패드 위치{i}')
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54056 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 46300 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54056 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 46300 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)




for i in ['X_49']:
for j in ['Y_06','Y_08','Y_09','Y_10']:
plt.figure(figsize= (15,5))
sns.regplot(x=i, y=j, data=train_df)
plt.ylabel(f'신호 대 잡음비{j}')
plt.xlabel(f'안테나 패드 위치{i}')
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54056 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 46300 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54056 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 46300 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50948 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0, flags=flags)




for i in ['X_03','X_10','X_11']:
for j in ['Y_01','Y_05','Y_07','Y_11']:
plt.figure(figsize= (15,5))
sns.regplot(x=i, y=j, data=train_df)
plt.ylabel(f'안테나 gain 평균{j}')
plt.xlabel(f'방열 재료 무게{i}')
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48169 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50676 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51116 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47308 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47924 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44172 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48169 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50676 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51116 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47308 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47924 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44172 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 8 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 8 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 50504 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 53580 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54217 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44512 missing from current font.
font.set_text(s, 0, flags=flags)












for i in ['X_01','X_02','X_05','X_06']:
for j in ['Y_06','Y_08','Y_09','Y_10']:
plt.figure(figsize= (15,5))
sns.regplot(x=i, y=j, data=train_df)
plt.ylabel(f'신호 대 잡음비{j}')
plt.xlabel(f'PCB 체결 시 단계별 누름량{i}')
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 52404 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44208 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49884 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45800 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 44228 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48324 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45572 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47492 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 47049 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 52404 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44208 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49884 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45800 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 44228 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48324 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45572 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47492 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 47049 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:214: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0.0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 49888 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 54840 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 45824 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51105 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 51020 missing from current font.
font.set_text(s, 0, flags=flags)
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py:183: RuntimeWarning: Glyph 48708 missing from current font.
font.set_text(s, 0, flags=flags)
















import xgboost as xgb
from sklearn.model_selection import train_test_split
train_x_CV, val_x_CV, train_y_CV, val_y_CV = train_test_split(train_x, train_y, test_size=0.2, random_state=42)
from sklearn.model_selection import train_test_split
from sklearn.model_selection import GridSearchCV
from sklearn.pipeline import Pipeline
from sklearn.preprocessing import MinMaxScaler, StandardScaler
def modelfit(pip_xgb, grid_param_xgb, x, y) :
gs_xgb = (GridSearchCV(estimator=pip_xgb,
param_grid=grid_param_xgb,
cv=4,
# scoring='neg_mean_squared_error',
scoring='neg_root_mean_squared_error',
n_jobs=-1,
verbose=10))
gs_xgb = gs_xgb.fit(x, y)
print('Train Done.')
#Predict training set:
y_pred = gs_xgb.predict(x)
#Print model report:
print("\nModel Report")
print("\nCV 결과 : ", gs_xgb.cv_results_)
print("\n베스트 정답률 : ", gs_xgb.best_score_)
print("\n베스트 파라미터 : ", gs_xgb.best_params_)
pip_xgb1 = Pipeline([('scl', StandardScaler()),
('reg', MultiOutputRegressor(xgb.XGBRegressor()))])
grid_param_xgb1 = {
'reg__estimator__max_depth' : [5, 6, 7],
'reg__estimator__gamma' : [1, 0.1, 0.01, 0.001, 0.0001, 0],
'reg__estimator__learning_rate' : [0.01, 0.03, 0.05, 0.07, 0.08],
'reg__estimator__subsample' : [0.4, 0.6, 0.8],
'reg__estimator__colsample_bytree' : [0.2, 0.6, 0.8]
}
modelfit(pip_xgb1, grid_param_xgb1, train_x_CV, train_y_CV)
Fitting 4 folds for each of 810 candidates, totalling 3240 fits
---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
<ipython-input-63-d01b2344dd3e> in <module>
39 }
40
---> 41 modelfit(pip_xgb1, grid_param_xgb1, train_x_CV, train_y_CV)
<ipython-input-63-d01b2344dd3e> in modelfit(pip_xgb, grid_param_xgb, x, y)
16 verbose=10))
17
---> 18 gs_xgb = gs_xgb.fit(x, y)
19 print('Train Done.')
20
/usr/local/lib/python3.7/dist-packages/sklearn/model_selection/_search.py in fit(self, X, y, groups, **fit_params)
889 return results
890
--> 891 self._run_search(evaluate_candidates)
892
893 # multimetric is determined here because in the case of a callable
/usr/local/lib/python3.7/dist-packages/sklearn/model_selection/_search.py in _run_search(self, evaluate_candidates)
1390 def _run_search(self, evaluate_candidates):
1391 """Search all candidates in param_grid"""
-> 1392 evaluate_candidates(ParameterGrid(self.param_grid))
1393
1394
/usr/local/lib/python3.7/dist-packages/sklearn/model_selection/_search.py in evaluate_candidates(candidate_params, cv, more_results)
849 )
850 for (cand_idx, parameters), (split_idx, (train, test)) in product(
--> 851 enumerate(candidate_params), enumerate(cv.split(X, y, groups))
852 )
853 )
/usr/local/lib/python3.7/dist-packages/joblib/parallel.py in __call__(self, iterable)
1096
1097 with self._backend.retrieval_context():
-> 1098 self.retrieve()
1099 # Make sure that we get a last message telling us we are done
1100 elapsed_time = time.time() - self._start_time
/usr/local/lib/python3.7/dist-packages/joblib/parallel.py in retrieve(self)
973 try:
974 if getattr(self._backend, 'supports_timeout', False):
--> 975 self._output.extend(job.get(timeout=self.timeout))
976 else:
977 self._output.extend(job.get())
/usr/local/lib/python3.7/dist-packages/joblib/_parallel_backends.py in wrap_future_result(future, timeout)
565 AsyncResults.get from multiprocessing."""
566 try:
--> 567 return future.result(timeout=timeout)
568 except CfTimeoutError as e:
569 raise TimeoutError from e
/usr/lib/python3.7/concurrent/futures/_base.py in result(self, timeout)
428 return self.__get_result()
429
--> 430 self._condition.wait(timeout)
431
432 if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]:
/usr/lib/python3.7/threading.py in wait(self, timeout)
294 try: # restore state no matter what (e.g., KeyboardInterrupt)
295 if timeout is None:
--> 296 waiter.acquire()
297 gotit = True
298 else:
KeyboardInterrupt:
LR = MultiOutputRegressor(LinearRegression()).fit(train_x, train_y)
print('Done.')
Done.
test_x = pd.read_csv('/content/drive/MyDrive/open/test.csv').drop(columns=['ID'])
preds = LR.predict(test_x)
print('Done.')
Done.
submit = pd.read_csv('/content/drive/MyDrive/open/sample_submission.csv')
for idx, col in enumerate(submit.columns):
print(idx,col)
if col=='ID':
continue
submit[col] = preds[:,idx-1]
print('Done.')
0 ID
1 Y_01
2 Y_02
3 Y_03
4 Y_04
5 Y_05
6 Y_06
7 Y_07
8 Y_08
9 Y_09
10 Y_10
11 Y_11
12 Y_12
13 Y_13
14 Y_14
Done.
submit.to_csv('/content/drive/MyDrive/submit.csv', index=False)
import xgboost as xgb
xgb = MultiOutputRegressor(xgb.XGBRegressor(n_estimators=100, learning_rate=0.08, gamma = 0, subsample=0.75, colsample_bytree = 1, max_depth=7) ).fit(train_x, train_y)
print('Done.')
[17:07:49] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
[17:08:05] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
[17:08:25] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
[17:08:40] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
[17:08:56] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
[17:09:11] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
[17:09:25] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
[17:09:40] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
[17:09:52] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
[17:10:06] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
[17:10:19] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
[17:10:32] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
[17:10:44] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
[17:10:57] WARNING: /workspace/src/objective/regression_obj.cu:152: reg:linear is now deprecated in favor of reg:squarederror.
Done.
test_x = pd.read_csv('/content/drive/MyDrive/open/test.csv').drop(columns=['ID'])
preds = xgb.predict(test_x)
print('Done.')
Done.
submit = pd.read_csv('/content/drive/MyDrive/open/sample_submission.csv')
for idx, col in enumerate(submit.columns):
print(idx,col)
if col=='ID':
continue
submit[col] = preds[:,idx-1]
print('Done.')
submit.to_csv('/content/drive/MyDrive/submit.csv', index=False)
!pip install catboost
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting catboost
Downloading catboost-1.1.1-cp37-none-manylinux1_x86_64.whl (76.6 MB)
[K |████████████████████████████████| 76.6 MB 1.2 MB/s
[?25hRequirement already satisfied: pandas>=0.24.0 in /usr/local/lib/python3.7/dist-packages (from catboost) (1.3.5)
Requirement already satisfied: graphviz in /usr/local/lib/python3.7/dist-packages (from catboost) (0.10.1)
Requirement already satisfied: matplotlib in /usr/local/lib/python3.7/dist-packages (from catboost) (3.2.2)
Requirement already satisfied: numpy>=1.16.0 in /usr/local/lib/python3.7/dist-packages (from catboost) (1.21.6)
Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from catboost) (1.15.0)
Requirement already satisfied: scipy in /usr/local/lib/python3.7/dist-packages (from catboost) (1.7.3)
Requirement already satisfied: plotly in /usr/local/lib/python3.7/dist-packages (from catboost) (5.5.0)
Requirement already satisfied: pytz>=2017.3 in /usr/local/lib/python3.7/dist-packages (from pandas>=0.24.0->catboost) (2022.6)
Requirement already satisfied: python-dateutil>=2.7.3 in /usr/local/lib/python3.7/dist-packages (from pandas>=0.24.0->catboost) (2.8.2)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.7/dist-packages (from matplotlib->catboost) (0.11.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib->catboost) (1.4.4)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib->catboost) (3.0.9)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.7/dist-packages (from kiwisolver>=1.0.1->matplotlib->catboost) (4.1.1)
Requirement already satisfied: tenacity>=6.2.0 in /usr/local/lib/python3.7/dist-packages (from plotly->catboost) (8.1.0)
Installing collected packages: catboost
Successfully installed catboost-1.1.1
from sklearn.cluster import KMeans
from sklearn.metrics import mean_squared_error
from sklearn.model_selection import RepeatedKFold, cross_val_score, StratifiedKFold, KFold
import tensorflow as tf
from catboost import CatBoostRegressor, Pool
n_splits = 5
SEED=42
predictions = []
lgnrmses = []
kfold = KFold(n_splits = n_splits, random_state = SEED, shuffle = True)
for i, (train_idx, val_idx) in enumerate(kfold.split(train_x)):
preds = []
y_vals = []
predictions_ = []
for j in range(1, 15):
if j < 10:
train_y_ = train_y[f'Y_0{j}']
else:
train_y_ = train_y[f'Y_{j}']
X_train, y_train = train_x.iloc[train_idx], train_y_.iloc[train_idx]
X_val, y_val = train_x.iloc[val_idx], train_y_.iloc[val_idx]
print(f'fit {train_y.columns[j-1]}')
model = CatBoostRegressor(random_state = SEED)
model.fit(X_train, y_train, eval_set = [(X_val, y_val)], verbose = 0)
print(f'predict {train_y.columns[j-1]}')
pred = model.predict(X_val)
prediction = model.predict(test_x)
#print(prediction)
predictions_.append(prediction)
#print(predictions_)
preds.append(pred)
y_vals.append(y_val)
predictions.append(predictions_)
print(predictions)
fit Y_01
predict Y_01
fit Y_02
predict Y_02
fit Y_03
predict Y_03
fit Y_04
predict Y_04
fit Y_05
predict Y_05
fit Y_06
predict Y_06
fit Y_07
predict Y_07
fit Y_08
predict Y_08
fit Y_09
predict Y_09
fit Y_10
predict Y_10
fit Y_11
predict Y_11
fit Y_12
predict Y_12
fit Y_13
predict Y_13
fit Y_14
predict Y_14
[[array([1.43889726, 1.50494548, 1.48967359, ..., 1.22136509, 1.24209178,
1.29646513]), array([1.16649382, 1.2346706 , 1.20581294, ..., 0.9099596 , 0.8776174 ,
0.9450916 ]), array([1.12016625, 1.13796612, 1.08234457, ..., 0.95112197, 0.99584264,
1.01259663]), array([13.44193588, 13.30652395, 14.44292705, ..., 12.3794918 ,
12.99616326, 12.9049966 ]), array([31.15436199, 30.84760922, 30.53855131, ..., 31.15098853,
30.82704173, 30.23965342]), array([16.7830132 , 16.60143011, 16.87000194, ..., 16.61084099,
16.61600339, 16.52040595]), array([3.19644895, 3.13013578, 3.04798464, ..., 3.1166075 , 3.15718948,
3.26579287]), array([-26.13420124, -26.09314583, -26.03792696, ..., -26.48956728,
-26.45966939, -26.66393837]), array([-25.96592785, -26.11853525, -25.90955645, ..., -26.47698429,
-26.35787279, -26.59119537]), array([-22.14768105, -22.29667536, -21.85112756, ..., -22.7748053 ,
-22.75556669, -22.79559026]), array([24.52542238, 24.27841236, 24.40578486, ..., 24.18350461,
24.46328297, 23.98697941]), array([-26.00083412, -26.03298638, -25.77339911, ..., -26.42366392,
-26.32898015, -26.56068798]), array([-25.88633984, -26.01047261, -25.88195855, ..., -26.36836938,
-26.38618281, -26.44131459]), array([-26.05502137, -25.95826896, -25.935607 , ..., -26.4532318 ,
-26.42052842, -26.62606112])]]
fit Y_01
predict Y_01
fit Y_02
predict Y_02
fit Y_03
predict Y_03
fit Y_04
predict Y_04
fit Y_05
predict Y_05
fit Y_06
predict Y_06
fit Y_07
predict Y_07
fit Y_08
predict Y_08
fit Y_09
predict Y_09
fit Y_10
predict Y_10
fit Y_11
predict Y_11
fit Y_12
predict Y_12
fit Y_13
predict Y_13
fit Y_14
predict Y_14
[[array([1.43889726, 1.50494548, 1.48967359, ..., 1.22136509, 1.24209178,
1.29646513]), array([1.16649382, 1.2346706 , 1.20581294, ..., 0.9099596 , 0.8776174 ,
0.9450916 ]), array([1.12016625, 1.13796612, 1.08234457, ..., 0.95112197, 0.99584264,
1.01259663]), array([13.44193588, 13.30652395, 14.44292705, ..., 12.3794918 ,
12.99616326, 12.9049966 ]), array([31.15436199, 30.84760922, 30.53855131, ..., 31.15098853,
30.82704173, 30.23965342]), array([16.7830132 , 16.60143011, 16.87000194, ..., 16.61084099,
16.61600339, 16.52040595]), array([3.19644895, 3.13013578, 3.04798464, ..., 3.1166075 , 3.15718948,
3.26579287]), array([-26.13420124, -26.09314583, -26.03792696, ..., -26.48956728,
-26.45966939, -26.66393837]), array([-25.96592785, -26.11853525, -25.90955645, ..., -26.47698429,
-26.35787279, -26.59119537]), array([-22.14768105, -22.29667536, -21.85112756, ..., -22.7748053 ,
-22.75556669, -22.79559026]), array([24.52542238, 24.27841236, 24.40578486, ..., 24.18350461,
24.46328297, 23.98697941]), array([-26.00083412, -26.03298638, -25.77339911, ..., -26.42366392,
-26.32898015, -26.56068798]), array([-25.88633984, -26.01047261, -25.88195855, ..., -26.36836938,
-26.38618281, -26.44131459]), array([-26.05502137, -25.95826896, -25.935607 , ..., -26.4532318 ,
-26.42052842, -26.62606112])], [array([1.4318211 , 1.47456447, 1.41074416, ..., 1.24109891, 1.26960262,
1.31131897]), array([1.2404417 , 1.23728236, 1.18394738, ..., 0.91819363, 0.87683697,
1.01090137]), array([1.12343912, 1.14159504, 1.10740009, ..., 0.95068922, 0.956337 ,
0.993999 ]), array([13.75710265, 13.37951965, 14.97793844, ..., 13.37915267,
12.75758004, 12.74850454]), array([31.87684606, 30.76800519, 31.8776471 , ..., 31.0854906 ,
30.87825209, 30.32826888]), array([16.7193352 , 16.58604749, 17.18884887, ..., 16.66100229,
16.77299664, 16.61608172]), array([3.25676023, 3.13694974, 3.17977171, ..., 3.17466715, 3.17787642,
3.2044188 ]), array([-26.09011631, -26.16124291, -25.77324354, ..., -26.44140122,
-26.39014464, -26.54959679]), array([-25.98985973, -26.13074642, -25.9292436 , ..., -26.51468509,
-26.39452765, -26.64963288]), array([-22.27393854, -22.36156857, -21.94459753, ..., -22.91089616,
-22.51055632, -22.90433637]), array([24.54407641, 24.31726208, 24.52261685, ..., 24.41172758,
24.50180587, 24.07637835]), array([-25.98104231, -26.13379091, -25.78962528, ..., -26.41450068,
-26.30698005, -26.48569943]), array([-25.97924327, -26.07539282, -25.86791567, ..., -26.37012104,
-26.39380468, -26.5017337 ]), array([-25.91917278, -26.03061767, -26.01169485, ..., -26.42273793,
-26.3754301 , -26.56743776])]]
fit Y_01
predict Y_01
fit Y_02
predict Y_02
fit Y_03
predict Y_03
fit Y_04
predict Y_04
fit Y_05
predict Y_05
fit Y_06
predict Y_06
fit Y_07
predict Y_07
fit Y_08
predict Y_08
fit Y_09
predict Y_09
fit Y_10
predict Y_10
fit Y_11
predict Y_11
fit Y_12
predict Y_12
fit Y_13
predict Y_13
fit Y_14
predict Y_14
[[array([1.43889726, 1.50494548, 1.48967359, ..., 1.22136509, 1.24209178,
1.29646513]), array([1.16649382, 1.2346706 , 1.20581294, ..., 0.9099596 , 0.8776174 ,
0.9450916 ]), array([1.12016625, 1.13796612, 1.08234457, ..., 0.95112197, 0.99584264,
1.01259663]), array([13.44193588, 13.30652395, 14.44292705, ..., 12.3794918 ,
12.99616326, 12.9049966 ]), array([31.15436199, 30.84760922, 30.53855131, ..., 31.15098853,
30.82704173, 30.23965342]), array([16.7830132 , 16.60143011, 16.87000194, ..., 16.61084099,
16.61600339, 16.52040595]), array([3.19644895, 3.13013578, 3.04798464, ..., 3.1166075 , 3.15718948,
3.26579287]), array([-26.13420124, -26.09314583, -26.03792696, ..., -26.48956728,
-26.45966939, -26.66393837]), array([-25.96592785, -26.11853525, -25.90955645, ..., -26.47698429,
-26.35787279, -26.59119537]), array([-22.14768105, -22.29667536, -21.85112756, ..., -22.7748053 ,
-22.75556669, -22.79559026]), array([24.52542238, 24.27841236, 24.40578486, ..., 24.18350461,
24.46328297, 23.98697941]), array([-26.00083412, -26.03298638, -25.77339911, ..., -26.42366392,
-26.32898015, -26.56068798]), array([-25.88633984, -26.01047261, -25.88195855, ..., -26.36836938,
-26.38618281, -26.44131459]), array([-26.05502137, -25.95826896, -25.935607 , ..., -26.4532318 ,
-26.42052842, -26.62606112])], [array([1.4318211 , 1.47456447, 1.41074416, ..., 1.24109891, 1.26960262,
1.31131897]), array([1.2404417 , 1.23728236, 1.18394738, ..., 0.91819363, 0.87683697,
1.01090137]), array([1.12343912, 1.14159504, 1.10740009, ..., 0.95068922, 0.956337 ,
0.993999 ]), array([13.75710265, 13.37951965, 14.97793844, ..., 13.37915267,
12.75758004, 12.74850454]), array([31.87684606, 30.76800519, 31.8776471 , ..., 31.0854906 ,
30.87825209, 30.32826888]), array([16.7193352 , 16.58604749, 17.18884887, ..., 16.66100229,
16.77299664, 16.61608172]), array([3.25676023, 3.13694974, 3.17977171, ..., 3.17466715, 3.17787642,
3.2044188 ]), array([-26.09011631, -26.16124291, -25.77324354, ..., -26.44140122,
-26.39014464, -26.54959679]), array([-25.98985973, -26.13074642, -25.9292436 , ..., -26.51468509,
-26.39452765, -26.64963288]), array([-22.27393854, -22.36156857, -21.94459753, ..., -22.91089616,
-22.51055632, -22.90433637]), array([24.54407641, 24.31726208, 24.52261685, ..., 24.41172758,
24.50180587, 24.07637835]), array([-25.98104231, -26.13379091, -25.78962528, ..., -26.41450068,
-26.30698005, -26.48569943]), array([-25.97924327, -26.07539282, -25.86791567, ..., -26.37012104,
-26.39380468, -26.5017337 ]), array([-25.91917278, -26.03061767, -26.01169485, ..., -26.42273793,
-26.3754301 , -26.56743776])], [array([1.39975462, 1.50669229, 1.45155565, ..., 1.25125334, 1.15266342,
1.27697182]), array([1.17755474, 1.21864588, 1.15068799, ..., 0.9317562 , 0.86150095,
0.96083457]), array([1.08430253, 1.132097 , 1.07985119, ..., 1.01903736, 0.88857896,
1.08135316]), array([13.53832619, 13.32292628, 14.91926129, ..., 12.76596437,
12.64280477, 12.29207902]), array([30.78877239, 30.86828143, 32.13036058, ..., 31.307064 ,
31.13699116, 30.52266065]), array([16.45277054, 16.45960232, 16.96343785, ..., 16.587056 ,
16.5820185 , 16.55120943]), array([3.18699448, 3.17141062, 3.13673047, ..., 3.21427796, 3.19304859,
3.22686924]), array([-26.15995438, -26.17202267, -26.05574264, ..., -26.52907349,
-26.51273275, -26.68991653]), array([-26.20253721, -26.17609416, -25.85346434, ..., -26.48422116,
-26.47990709, -26.61561259]), array([-22.29588106, -22.30558486, -21.88828648, ..., -23.07397387,
-23.01084158, -23.02214431]), array([24.41418372, 24.32362951, 24.41939277, ..., 24.34120499,
24.45673483, 24.1623693 ]), array([-26.15306518, -26.04713144, -25.69201682, ..., -26.42862512,
-26.49607191, -26.60737319]), array([-26.08123283, -26.0023926 , -25.68289104, ..., -26.45854584,
-26.44694696, -26.56781033]), array([-26.19080615, -26.18072906, -25.64119259, ..., -26.41361748,
-26.34420519, -26.53733654])]]
fit Y_01
predict Y_01
fit Y_02
predict Y_02
fit Y_03
predict Y_03
fit Y_04
predict Y_04
fit Y_05
predict Y_05
fit Y_06
predict Y_06
fit Y_07
predict Y_07
fit Y_08
predict Y_08
fit Y_09
predict Y_09
fit Y_10
predict Y_10
fit Y_11
predict Y_11
fit Y_12
predict Y_12
fit Y_13
predict Y_13
fit Y_14
predict Y_14
[[array([1.43889726, 1.50494548, 1.48967359, ..., 1.22136509, 1.24209178,
1.29646513]), array([1.16649382, 1.2346706 , 1.20581294, ..., 0.9099596 , 0.8776174 ,
0.9450916 ]), array([1.12016625, 1.13796612, 1.08234457, ..., 0.95112197, 0.99584264,
1.01259663]), array([13.44193588, 13.30652395, 14.44292705, ..., 12.3794918 ,
12.99616326, 12.9049966 ]), array([31.15436199, 30.84760922, 30.53855131, ..., 31.15098853,
30.82704173, 30.23965342]), array([16.7830132 , 16.60143011, 16.87000194, ..., 16.61084099,
16.61600339, 16.52040595]), array([3.19644895, 3.13013578, 3.04798464, ..., 3.1166075 , 3.15718948,
3.26579287]), array([-26.13420124, -26.09314583, -26.03792696, ..., -26.48956728,
-26.45966939, -26.66393837]), array([-25.96592785, -26.11853525, -25.90955645, ..., -26.47698429,
-26.35787279, -26.59119537]), array([-22.14768105, -22.29667536, -21.85112756, ..., -22.7748053 ,
-22.75556669, -22.79559026]), array([24.52542238, 24.27841236, 24.40578486, ..., 24.18350461,
24.46328297, 23.98697941]), array([-26.00083412, -26.03298638, -25.77339911, ..., -26.42366392,
-26.32898015, -26.56068798]), array([-25.88633984, -26.01047261, -25.88195855, ..., -26.36836938,
-26.38618281, -26.44131459]), array([-26.05502137, -25.95826896, -25.935607 , ..., -26.4532318 ,
-26.42052842, -26.62606112])], [array([1.4318211 , 1.47456447, 1.41074416, ..., 1.24109891, 1.26960262,
1.31131897]), array([1.2404417 , 1.23728236, 1.18394738, ..., 0.91819363, 0.87683697,
1.01090137]), array([1.12343912, 1.14159504, 1.10740009, ..., 0.95068922, 0.956337 ,
0.993999 ]), array([13.75710265, 13.37951965, 14.97793844, ..., 13.37915267,
12.75758004, 12.74850454]), array([31.87684606, 30.76800519, 31.8776471 , ..., 31.0854906 ,
30.87825209, 30.32826888]), array([16.7193352 , 16.58604749, 17.18884887, ..., 16.66100229,
16.77299664, 16.61608172]), array([3.25676023, 3.13694974, 3.17977171, ..., 3.17466715, 3.17787642,
3.2044188 ]), array([-26.09011631, -26.16124291, -25.77324354, ..., -26.44140122,
-26.39014464, -26.54959679]), array([-25.98985973, -26.13074642, -25.9292436 , ..., -26.51468509,
-26.39452765, -26.64963288]), array([-22.27393854, -22.36156857, -21.94459753, ..., -22.91089616,
-22.51055632, -22.90433637]), array([24.54407641, 24.31726208, 24.52261685, ..., 24.41172758,
24.50180587, 24.07637835]), array([-25.98104231, -26.13379091, -25.78962528, ..., -26.41450068,
-26.30698005, -26.48569943]), array([-25.97924327, -26.07539282, -25.86791567, ..., -26.37012104,
-26.39380468, -26.5017337 ]), array([-25.91917278, -26.03061767, -26.01169485, ..., -26.42273793,
-26.3754301 , -26.56743776])], [array([1.39975462, 1.50669229, 1.45155565, ..., 1.25125334, 1.15266342,
1.27697182]), array([1.17755474, 1.21864588, 1.15068799, ..., 0.9317562 , 0.86150095,
0.96083457]), array([1.08430253, 1.132097 , 1.07985119, ..., 1.01903736, 0.88857896,
1.08135316]), array([13.53832619, 13.32292628, 14.91926129, ..., 12.76596437,
12.64280477, 12.29207902]), array([30.78877239, 30.86828143, 32.13036058, ..., 31.307064 ,
31.13699116, 30.52266065]), array([16.45277054, 16.45960232, 16.96343785, ..., 16.587056 ,
16.5820185 , 16.55120943]), array([3.18699448, 3.17141062, 3.13673047, ..., 3.21427796, 3.19304859,
3.22686924]), array([-26.15995438, -26.17202267, -26.05574264, ..., -26.52907349,
-26.51273275, -26.68991653]), array([-26.20253721, -26.17609416, -25.85346434, ..., -26.48422116,
-26.47990709, -26.61561259]), array([-22.29588106, -22.30558486, -21.88828648, ..., -23.07397387,
-23.01084158, -23.02214431]), array([24.41418372, 24.32362951, 24.41939277, ..., 24.34120499,
24.45673483, 24.1623693 ]), array([-26.15306518, -26.04713144, -25.69201682, ..., -26.42862512,
-26.49607191, -26.60737319]), array([-26.08123283, -26.0023926 , -25.68289104, ..., -26.45854584,
-26.44694696, -26.56781033]), array([-26.19080615, -26.18072906, -25.64119259, ..., -26.41361748,
-26.34420519, -26.53733654])], [array([1.38585724, 1.49358357, 1.36929075, ..., 1.21261666, 1.22311426,
1.2773452 ]), array([1.18526303, 1.21803812, 1.1553309 , ..., 0.91723234, 0.8927828 ,
0.95895361]), array([1.11732952, 1.16216025, 1.13467611, ..., 0.94515627, 0.9197305 ,
1.0533089 ]), array([13.81686304, 13.21876604, 15.08719487, ..., 12.90636185,
13.04019837, 12.97720862]), array([31.73235941, 30.90804464, 31.42531168, ..., 31.11899258,
31.1430906 , 30.52664101]), array([16.78672438, 16.64365049, 17.06357065, ..., 16.63241255,
16.68142115, 16.66207909]), array([3.17343091, 3.19754088, 2.95210343, ..., 3.20924432, 3.1528191 ,
3.23103817]), array([-26.06968767, -26.15919315, -26.04920272, ..., -26.52164191,
-26.53463224, -26.47854259]), array([-26.09710832, -26.15976945, -25.67188932, ..., -26.48514553,
-26.45450725, -26.49771233]), array([-22.1252203 , -22.21592317, -22.0903521 , ..., -22.79669251,
-22.74997012, -22.77967225]), array([24.63523844, 24.30008323, 24.65721355, ..., 24.32949557,
24.47325841, 24.2108857 ]), array([-26.08617724, -26.12090978, -25.82084126, ..., -26.40759289,
-26.38512691, -26.39847505]), array([-26.04901722, -26.23108035, -25.84785881, ..., -26.40068283,
-26.39907248, -26.40091387]), array([-26.20667777, -26.10036806, -25.91851171, ..., -26.41637632,
-26.45416586, -26.54848108])]]
fit Y_01
predict Y_01
fit Y_02
predict Y_02
fit Y_03
predict Y_03
fit Y_04
predict Y_04
fit Y_05
predict Y_05
fit Y_06
predict Y_06
fit Y_07
predict Y_07
fit Y_08
predict Y_08
fit Y_09
predict Y_09
fit Y_10
predict Y_10
fit Y_11
predict Y_11
fit Y_12
predict Y_12
fit Y_13
predict Y_13
fit Y_14
predict Y_14
[[array([1.43889726, 1.50494548, 1.48967359, ..., 1.22136509, 1.24209178,
1.29646513]), array([1.16649382, 1.2346706 , 1.20581294, ..., 0.9099596 , 0.8776174 ,
0.9450916 ]), array([1.12016625, 1.13796612, 1.08234457, ..., 0.95112197, 0.99584264,
1.01259663]), array([13.44193588, 13.30652395, 14.44292705, ..., 12.3794918 ,
12.99616326, 12.9049966 ]), array([31.15436199, 30.84760922, 30.53855131, ..., 31.15098853,
30.82704173, 30.23965342]), array([16.7830132 , 16.60143011, 16.87000194, ..., 16.61084099,
16.61600339, 16.52040595]), array([3.19644895, 3.13013578, 3.04798464, ..., 3.1166075 , 3.15718948,
3.26579287]), array([-26.13420124, -26.09314583, -26.03792696, ..., -26.48956728,
-26.45966939, -26.66393837]), array([-25.96592785, -26.11853525, -25.90955645, ..., -26.47698429,
-26.35787279, -26.59119537]), array([-22.14768105, -22.29667536, -21.85112756, ..., -22.7748053 ,
-22.75556669, -22.79559026]), array([24.52542238, 24.27841236, 24.40578486, ..., 24.18350461,
24.46328297, 23.98697941]), array([-26.00083412, -26.03298638, -25.77339911, ..., -26.42366392,
-26.32898015, -26.56068798]), array([-25.88633984, -26.01047261, -25.88195855, ..., -26.36836938,
-26.38618281, -26.44131459]), array([-26.05502137, -25.95826896, -25.935607 , ..., -26.4532318 ,
-26.42052842, -26.62606112])], [array([1.4318211 , 1.47456447, 1.41074416, ..., 1.24109891, 1.26960262,
1.31131897]), array([1.2404417 , 1.23728236, 1.18394738, ..., 0.91819363, 0.87683697,
1.01090137]), array([1.12343912, 1.14159504, 1.10740009, ..., 0.95068922, 0.956337 ,
0.993999 ]), array([13.75710265, 13.37951965, 14.97793844, ..., 13.37915267,
12.75758004, 12.74850454]), array([31.87684606, 30.76800519, 31.8776471 , ..., 31.0854906 ,
30.87825209, 30.32826888]), array([16.7193352 , 16.58604749, 17.18884887, ..., 16.66100229,
16.77299664, 16.61608172]), array([3.25676023, 3.13694974, 3.17977171, ..., 3.17466715, 3.17787642,
3.2044188 ]), array([-26.09011631, -26.16124291, -25.77324354, ..., -26.44140122,
-26.39014464, -26.54959679]), array([-25.98985973, -26.13074642, -25.9292436 , ..., -26.51468509,
-26.39452765, -26.64963288]), array([-22.27393854, -22.36156857, -21.94459753, ..., -22.91089616,
-22.51055632, -22.90433637]), array([24.54407641, 24.31726208, 24.52261685, ..., 24.41172758,
24.50180587, 24.07637835]), array([-25.98104231, -26.13379091, -25.78962528, ..., -26.41450068,
-26.30698005, -26.48569943]), array([-25.97924327, -26.07539282, -25.86791567, ..., -26.37012104,
-26.39380468, -26.5017337 ]), array([-25.91917278, -26.03061767, -26.01169485, ..., -26.42273793,
-26.3754301 , -26.56743776])], [array([1.39975462, 1.50669229, 1.45155565, ..., 1.25125334, 1.15266342,
1.27697182]), array([1.17755474, 1.21864588, 1.15068799, ..., 0.9317562 , 0.86150095,
0.96083457]), array([1.08430253, 1.132097 , 1.07985119, ..., 1.01903736, 0.88857896,
1.08135316]), array([13.53832619, 13.32292628, 14.91926129, ..., 12.76596437,
12.64280477, 12.29207902]), array([30.78877239, 30.86828143, 32.13036058, ..., 31.307064 ,
31.13699116, 30.52266065]), array([16.45277054, 16.45960232, 16.96343785, ..., 16.587056 ,
16.5820185 , 16.55120943]), array([3.18699448, 3.17141062, 3.13673047, ..., 3.21427796, 3.19304859,
3.22686924]), array([-26.15995438, -26.17202267, -26.05574264, ..., -26.52907349,
-26.51273275, -26.68991653]), array([-26.20253721, -26.17609416, -25.85346434, ..., -26.48422116,
-26.47990709, -26.61561259]), array([-22.29588106, -22.30558486, -21.88828648, ..., -23.07397387,
-23.01084158, -23.02214431]), array([24.41418372, 24.32362951, 24.41939277, ..., 24.34120499,
24.45673483, 24.1623693 ]), array([-26.15306518, -26.04713144, -25.69201682, ..., -26.42862512,
-26.49607191, -26.60737319]), array([-26.08123283, -26.0023926 , -25.68289104, ..., -26.45854584,
-26.44694696, -26.56781033]), array([-26.19080615, -26.18072906, -25.64119259, ..., -26.41361748,
-26.34420519, -26.53733654])], [array([1.38585724, 1.49358357, 1.36929075, ..., 1.21261666, 1.22311426,
1.2773452 ]), array([1.18526303, 1.21803812, 1.1553309 , ..., 0.91723234, 0.8927828 ,
0.95895361]), array([1.11732952, 1.16216025, 1.13467611, ..., 0.94515627, 0.9197305 ,
1.0533089 ]), array([13.81686304, 13.21876604, 15.08719487, ..., 12.90636185,
13.04019837, 12.97720862]), array([31.73235941, 30.90804464, 31.42531168, ..., 31.11899258,
31.1430906 , 30.52664101]), array([16.78672438, 16.64365049, 17.06357065, ..., 16.63241255,
16.68142115, 16.66207909]), array([3.17343091, 3.19754088, 2.95210343, ..., 3.20924432, 3.1528191 ,
3.23103817]), array([-26.06968767, -26.15919315, -26.04920272, ..., -26.52164191,
-26.53463224, -26.47854259]), array([-26.09710832, -26.15976945, -25.67188932, ..., -26.48514553,
-26.45450725, -26.49771233]), array([-22.1252203 , -22.21592317, -22.0903521 , ..., -22.79669251,
-22.74997012, -22.77967225]), array([24.63523844, 24.30008323, 24.65721355, ..., 24.32949557,
24.47325841, 24.2108857 ]), array([-26.08617724, -26.12090978, -25.82084126, ..., -26.40759289,
-26.38512691, -26.39847505]), array([-26.04901722, -26.23108035, -25.84785881, ..., -26.40068283,
-26.39907248, -26.40091387]), array([-26.20667777, -26.10036806, -25.91851171, ..., -26.41637632,
-26.45416586, -26.54848108])], [array([1.45076499, 1.49353717, 1.47299798, ..., 1.24578913, 1.22749371,
1.34182084]), array([1.15204358, 1.16720077, 1.17350121, ..., 0.93696075, 0.88973905,
0.92997426]), array([1.13133269, 1.18109562, 1.17622463, ..., 1.01177518, 0.94700863,
1.02659127]), array([14.40000706, 13.15284471, 14.93810593, ..., 12.90041714,
13.96043984, 12.99179766]), array([30.70158401, 31.06820138, 31.98530372, ..., 31.20625767,
31.11871451, 30.54302003]), array([16.92526067, 16.62374049, 17.04879805, ..., 16.67831031,
16.66587941, 16.65501484]), array([3.0856467 , 3.1136945 , 2.92861537, ..., 3.13994936, 3.15120996,
3.2276748 ]), array([-26.01220627, -26.16670394, -25.67443514, ..., -26.45356596,
-26.41813618, -26.65385965]), array([-25.85504665, -26.20245046, -25.73888458, ..., -26.51846763,
-26.4116611 , -26.67539573]), array([-22.10099076, -22.38662202, -21.82893381, ..., -22.80113451,
-22.79967969, -22.85452648]), array([24.34986555, 24.2935109 , 24.83652629, ..., 24.3451493 ,
24.47655339, 24.15700545]), array([-25.92763166, -26.08610863, -25.67519021, ..., -26.43579687,
-26.39182459, -26.47763197]), array([-26.03844826, -26.05695014, -25.4763004 , ..., -26.35580023,
-26.3762556 , -26.47202168]), array([-25.99006995, -26.14075588, -25.72484906, ..., -26.53393665,
-26.33972929, -26.62082201])]]
final_prediction = np.mean(np.array(predictions), axis=0).T
for idx, col in enumerate(submit.columns):
if col=='ID':
continue
submit[col] = final_prediction[:,idx-1]
print('Done.')
Done.
댓글