일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
29 | 30 |
- 실습
- seaborn
- 튜닝
- SQL
- R
- 머신러닝
- 카카오
- 빅분기
- 데이터 분석
- Oracel
- 오라클
- 빅데이터 분석 기사
- Numpy
- matplotlib
- 실기
- python3
- 코딩테스트
- pandas
- 파이썬
- level 1
- sklearn
- 알고리즘
- oracle
- level 2
- 프로그래머스
- Kaggle
- Python
- Today
- Total
목록Python (164)
라일락 꽃이 피는 날

DBSCAN 알고리즘 [DBSCAN 장점] - K-means와 달리 최초 k(군집수)를 직접 할당하지 않음 - Density(밀도)에 따라서 군집을 나누기 때문에, 기하학적인 모양을 갖는 분포도 적용 가능 - Oulier 구분 가능 1. 비구형(nonspherical) 데이터 생성 from sklearn.datasets import make_moons # DBSCAN 알고리즘을 적용시킬 비구형 분포 데이터 생성 moon_data, moon_labels = make_moons(n_samples=400, noise=0.1, random_state=42) moon_data[:5] # array 형태의 데이터를 Dataframe 형태로 변경 moon_data_df = pd.DataFrame(moon_data, ..

Clustering : Agglomerative 알고리즘 (계층군집) [Hierarchical clustering 장점] - cluster 수(k)를 정하지 않아도 사용 가능 - random point에서 시작하지 않으므로 동일한 결과가 나옴 - dendrogram을 통해 전체적인 군집 확인 가능 (nested clusters) [Hierarchical clustering 단점] - 대용량 데이터는 계산이 많아서 비효율적 1. Agglomerative 모듈 훈련 [AgglomerativeClustering 파라미터 참고사항] - linkage 종류 : {‘ward’, ‘complete’, ‘average’, ‘single’} - linkage="ward"이면, affinity="euclidean" - d..

데이터 정보 sepal length (cm): 꽃받침 길이 sepal width (cm): 꽃받침 폭 petal length (cm): 꽃잎 길이 petal width (cm): 꽃잎 폭 target: 꽃 종류 (0: Setosa, 1: Versicolor, 2: Virginica) 데이터셋 준비 import numpy as np import pandas as pd from sklearn.datasets import load_iris from sklearn.model_selection import train_test_split # iris 데이터셋 불러오기 iris = load_iris() # array 형태의 데이터를 Dataframe으로 변환 iris_df = pd.DataFrame(data=iris..

https://www.kaggle.com/antgoldbloom/covid19-data-from-john-hopkins-university COVID-19 data from John Hopkins University Updated daily at 6am UTC in both raw and convenient form www.kaggle.com 데이터 정보 Country/Region: 국가 Province/State: 지방/주 Lat: 지역의 위도 Long: 지역의 경도 날짜: 각 날짜의 확진자/사망자 수 데이터셋 준비 import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns df_case = pd..

https://www.kaggle.com/rush4ratio/video-game-sales-with-ratings Video Game Sales with Ratings Video game sales from Vgchartz and corresponding ratings from Metacritic www.kaggle.com 데이터 정보 Name: 게임의 이름 Platform: 게임이 동작하는 콘솔 Year_of_Release: 발매 년도 Genre: 게임의 장르 Publisher: 게임의 유통사 NA_Sales: 북미 판매량 (Millions) EU_Sales: 유럽 연합 판매량 (Millions) JP_Sales: 일본 판매량 (Millions) Other_Sales: 기타 판매량 (아프리카, 일본 제..

https://www.kaggle.com/mathurinache/world-happiness-report World Happiness Report up to 2020 Bliss scored agreeing to financial, social, etc. www.kaggle.com 데이터 정보 Country: 국가 Region: 국가의 지역 Happiness Rank: 행복지수 순위 Happiness Score: 행복지수 점수 GDP per capita: 1인당 GDP Healthy Life Expectancy: 건강 기대수명 Social support: 사회적 지원 Freedom to make life choices: 삶에 대한 선택의 자유 Generosity: 관용 Corruption Perceptio..

https://www.kaggle.com/dgomonov/new-york-city-airbnb-open-data New York City Airbnb Open Data Airbnb listings and metrics in NYC, NY, USA (2019) www.kaggle.com 데이터 정보 id: 항목의 ID name: 항목의 이름 (타이틀) host_id: 호스트 ID host_name: 호스트의 이름 neighbourhood_group: 방이 있는 구역 그룹 neighbourhood: 방이 있는 구역 latitude: 방이 위치한 위도 longitude: 방이 위치한 경도 room_type: 방의 종류 price: 가격 ($) minimum_nights: 최소 숙박 일수 number_of_re..

https://www.kaggle.com/austinreese/craigslist-carstrucks-data Used Cars Dataset Vehicles listings from Craigslist.org www.kaggle.com 데이터 정보 id : 중고차 거래의 아이디 url : 중고차 거래 페이지 region : 해당 거래의 관리 지점 region_url : 거래 관리 지점의 홈페이지 price : 기입된 자동차의 거래가 year : 거래가 기입된 년도 manufacturer : 자동차를 생산한 회사 model : 자동차 모델 condition : 자동차의 상태 cylinders : 자동차의 기통 수 fuel : 자동차의 연료 타입 odometer : 자동차의 운행 마일 수 title_sta..