[python 데이터 핸들링] 판다스 연습 튜토리얼 - 05_Time_Series
·
🥇 certification logbook
Reference - DataManim (https://www.datamanim.com/dataset/99_pandas/pandasMain.html#) - , 데싸라면▪빨간색 물고기▪자투리코드, 시대고시기획 시대교육 DataSet 주가 데이터 : https://raw.githubusercontent.com/guipsamora/pandas_exercises/master/06_Stats/Wind_Stats/wind.data DataUrl = ‘https://raw.githubusercontent.com/Datamanim/pandas/main/timeTest.csv%E2%80%99 Question ✔ 데이터를 로드하고 각 열의 데이터 타입을 파악하라 In [ ]: import pandas as pd df = ..
[python 데이터 핸들링] 판다스 연습 튜토리얼 - 04_Apply , Map
·
🥇 certification logbook
Reference - DataManim (https://www.datamanim.com/dataset/99_pandas/pandasMain.html#) - , 데싸라면▪빨간색 물고기▪자투리코드, 시대고시기획 시대교육 DataSet 카드이용데이터 : https://www.kaggle.com/sakshigoyal7/credit-card-customers DataUrl = ‘https://raw.githubusercontent.com/Datamanim/pandas/main/BankChurnersUp.csv%E2%80%99 Question ✔ 데이터를 로드하고 데이터 행과 열의 갯수를 출력하라 In [ ]: import pandas as pd df = pd.read_csv('https://raw.githubus..
[python 데이터 핸들링] 판다스 연습 튜토리얼 - 03_Grouping
·
🥇 certification logbook
Reference - DataManim (https://www.datamanim.com/dataset/99_pandas/pandasMain.html#) - , 데싸라면▪빨간색 물고기▪자투리코드, 시대고시기획 시대교육 DataSet 뉴욕 airBnB : https://www.kaggle.com/ptoscano230382/air-bnb-ny-2019 DataUrl = ‘https://raw.githubusercontent.com/Datamanim/pandas/main/AB_NYC_2019.csv%E2%80%99 Question ✔ 데이터를 로드하고 상위 5개 컬럼을 출력하라 In [ ]: import pandas as pd DataUrl = 'https://raw.githubusercontent.com/Da..
[python 데이터 핸들링] 판다스 연습 튜토리얼 - 02 Filtering & Sorting
·
🥇 certification logbook
Reference - DataManim (https://www.datamanim.com/dataset/99_pandas/pandasMain.html#) - , 데싸라면▪빨간색 물고기▪자투리코드, 시대고시기획 시대교육 DataSet 식당데이터 : justmarkham/DAT8 DataUrl = ‘https://raw.githubusercontent.com/Datamanim/pandas/main/chipo.csv’ Question ✔ 데이터를 로드하라. import pandas as pd DataUrl = 'https://raw.githubusercontent.com/Datamanim/pandas/main/chipo.csv' df = pd.read_csv(DataUrl) type(df) ✔ quantity컬..
[python 데이터 핸들링] 판다스 연습 튜토리얼 - 01 Getting & Knowing Data
·
🥇 certification logbook
Reference - DataManim (https://www.datamanim.com/dataset/99_pandas/pandasMain.html#) - , 데싸라면▪빨간색 물고기▪자투리코드, 시대고시기획 시대교육 Pandas 사용 준비!pip install pandas참고 : 2023.06.03 - [data/빅데이터분석기사] - 분석환경 설정 (파이썬 + 주피터노트북 + pandas) DataSet롤 랭킹 데이터 : https://www.kaggle.com/datasnaek/league-of-legendsDataUrl = ‘https://raw.githubusercontent.com/Datamanim/pandas/main/lol.csv%E2%80%99 Question✔ 데이터를 로드하라. 데이터는 ..
앙상블 (Ensemble) - 랜덤 포레스트 분류 (Random Forest Classifier)
·
🥇 certification logbook
Reference - , 데싸라면▪빨간색 물고기▪자투리코드, 시대고시기획 시대교육 랜덤포레스트는 배깅과 부스팅보다 더 많은 무작위성을 주어 약한 학습기들을 생성한 후 이를 선형결합하여 최종 학습기를 만드는 방법 수천 개의 변수를 변수 제거 없이 모델링하므로 정확도 측면에서 좋은 성과를 보이는 기법 중 하나 DataSet https://www.kaggle.com/datasets/yasserh/breast-cancer-dataset Breast Cancer Dataset Binary Classification Prediction for type of Breast Cancer www.kaggle.com 방법 1. scikit-learn의 ensemble.RandomForestClassifier https://..
다중 회귀 (Multiple Regression Model)
·
🥇 certification logbook
Reference - , 데싸라면▪빨간색 물고기▪자투리코드, 시대고시기획 시대교육 변수 Y에 원인이 되는 변수가 여러 개(n) 포함되는 형태로 표현 $$Y=B_0+\sum_{i=1}^{n}{B_i}{x_i}$$ Y = 예측값 n = 독립변수의 수 i번째 특성변수를 $x_i$라 함 $B_i$은 i번째 모델 파라미터 방법 1. scikit-learn의 Ridge $$RidgedMSE(B)=MSE(B)+a\frac{1}{2}\sum_{i=1}^{n}{B_i}^2$$ https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Ridge.html 2. scikit-learn의 Lasso $$LassoMSE(B)=MSE(B)+a\sum_{i=1}^..
다항 회귀 (Polynomial Regression Model)
·
🥇 certification logbook
Reference - , 데싸라면▪빨간색 물고기▪자투리코드, 시대고시기획 시대교육 시리얼의 설탕 함유량(X)에 따른 영양등급평가(y) 예측 DataSethttps://www.kaggle.com/datasets/crawford/80-cereals 80 CerealsNutrition data on 80 cereal productswww.kaggle.com 방법 1. scikit-learn의 PolynomialFeatures + LinearRegression https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.PolynomialFeatures.html https://scikit-learn.org/stable/modules/genera..
단순 선형 회귀 (Simple Linear Regression Model)
·
🥇 certification logbook
Reference - , 데싸라면▪빨간색 물고기▪자투리코드, 시대고시기획 시대교육 독립 변수가 하나인 경우 데이터의 특징을 가장 잘 설명하는 직선을 학습하는 것의료비 지출액 = $b_0$+$b_1$*나이 DataSethttps://www.kaggle.com/datasets/mirichoi0218/insurance Medical Cost Personal DatasetsInsurance Forecast by using Linear Regressionwww.kaggle.com 방법 1. scikit-learn의 LinearRegression https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LinearRegression.html 2...