목록Python (47)
잡동사니 블로그

https://eupppo.tistory.com/entry/%EB%85%BC%EB%AC%B8-%EC%9D%BD%EA%B8%B0-TabTransformer-Tabular-Data-Modeling-Using-Contextual-Embeddings [논문 읽기] TabTransformer: Tabular Data Modeling Using Contextual Embeddings https://arxiv.org/abs/2012.06678 TabTransformer: Tabular Data Modeling Using Contextual Embeddings We propose TabTransformer, a novel deep tabular data modeling architecture for supervised..

Folium은 Leaflet.js를 기반으로 만들어져 지도를 유연하게 시각화 할 수 있게 함. 라이브러리 설치 !pip install folium 서울 표시 import folium seoul_latitude = 37.5665 seoul_longitude = 126.9780 seoul_map = folium.Map(location=[seoul_latitude, seoul_longitude], zoom_start=12) seoul_map folium.Marker를 이용한 위치 표시 import pandas as pd df = pd.read_excel('./서울지역대학교위치.xlsx', engine='openpyxl', index_col=0) df.head() seoul_map = folium.Map(loc..

https://www.acmicpc.net/problem/5349 5349번: Duplicate SSN The U.S. Social Security Administration has made a terrible mistake. When assigning new Social Security numbers (SSN) to U.S. citizens they accidently assigned some duplicate numbers. Fortunately, they caught this mistake early and have a list all the poss www.acmicpc.net 문제 The U.S. Social Security Administration has made a terrible mist..

import cv2 import numpy as np import matplotlib.pyplot as plt #이미지 불러오기 img = cv2.imread("test.png") #이미지 사이즈 조절 img=cv2.resize(img, dsize=(1000,500)) #이미지의 이진화를 위한 흑백으로 변경 new_img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) #캐니 에지 검출을 통한 에지 검출 edges = cv2.Canny(new_img, 50, 130) #이미지에서 외곽선(Contours)을 찾음. contours, _ = cv2.findContours(edges, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_NONE) #캐니 시각화 plt.ims..