티스토리 뷰
import json
import pandas as pd
with open('A.json', 'r',encoding='UTF-8') as f:
data=json.load(f)
import seaborn as sns
import matplotlib.pyplot as plt
import matplotlib.font_manager as fm
plt.rc('font', family='NanumGothicCoding'_
sns.set(font="Malgun Gothic', rc={"aes.unicode_minus":False}, style='white')
df=pd.read_json("A.json")
sns.countplot(x="Address1", data=df)
from sklearn.tree import DecisionTreeClassifier
dt=DecisionTreeClassifier(random_state=1001, max_depth=5)
dt_model=dt.fit(X_train, y_train)
y_pred=dt.predict(X_valid)
from sklearn.metrics import mean_squared_error
dt_mae=mean_squared_error(y_valid, y_pred)
dt_mae
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- xe애드온
- 자바
- 이클립스
- webix
- C언어
- 프로씨
- ocajp
- proc
- 플러터
- 인포믹스
- ocjap
- 스크래핑
- Python
- C
- MySQL
- xe addon
- 문자열
- 오라클
- 자바 smtp
- 포인터
- XE3
- 파이썬
- EC
- JDBC
- XE
- 라이믹스 모듈
- 파싱
- KG
- php
- esql
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함