Python(41)
-
온라인 Python IDE
https://replit.com/ The collaborative browser based IDE Replit is a simple yet powerful online IDE, Editor, Compiler, Interpreter, and REPL. Code, compile, run, and host in 50+ programming languages. replit.com https://www.programiz.com/python-programming/online-compiler/ Online Python Compiler (Interpreter) www.programiz.com
2021.10.26 -
scikit-learn 라이브러리
- 예측적인 데이터 분석을 위한 간단&효율적인 도구들 - 모두 접근가능, 다양한 상황에 따라 재사용가능 - NumPy, SciPy, matplotlib로 만듬 - 오픈소스, 상업적 사용가능 # scikit-learn (사이킷런) 머신러닝 오픈 소스 라이브러리. 지도학습& 비지도학습을 지원하며, model fitting, data preprocessing, model selection and evaluation 등 제공. estimators : 머신러닝 알고리즘, 모델들에 해당함. 이는 fit method를 사용할 수 있음. 예를 들어, 랜덤포레스트 분류기 모델을 들어보자. 참고: https://scikit-learn.org/stable/index.html
2021.08.02 -
lambda 함수 사용하는 방법
출처: https://realpython.com/python-lambda/#:~:text=The%20lambda%20function%20assigned%20to%20full_name%20takes%20two,normal%20Python%20function%2C%20with%20parentheses%20surrounding%20the%20arguments. How to Use Python Lambda Functions – Real Python In this step-by-step tutorial, you'll learn about Python lambda functions. You'll see how they compare with regular functions and how you can use the..
2021.07.28 -
List Comprehension
[ 표현식 for 요소 in 컬렉션 [ if 조건식 ] ] list = [ n**2 for n in range(10) if n%3 == 0 ] list = [ 0, 9, 36, 81 ] 위의 표현식은 다음을 요약한 것과 같다. list = [] for n in range(10): if n%3 == 0: list.append(n**2) * Comprehension (이해력) : the ability to understand something. (=understanding) : full knowledge and understanding of the meaning of something.
2021.01.03 -
웹 크롤링 입문- 특정 URL에서 데이터 가져오기
** 참고 : "파이썬 레시피 - 웹 활용 입문편" by.반원 https://wikidocs.net/book/2965 ** 목차 0. 필요한 라이브러리 설치 1. 특정한 데이터 크롤링 2. 특정한 여러 데이터 크롤링 3. 웹페이지의 이미지 데이터 다운로드 0. 필요한 라이브러리 설치 Python을 이용하여 웹을 크롤링하기 위해서는 다음과 같은 도구가 필요하다. * requests : 웹페이지 데이터를 가져오는 모듈 * BeautifulSoup4 : 가져온 웹페이지를 분석하여 원하는 정보를 추출하는 모듈 [ Cmd창 ] $ pip install requests $ pip install BeautifulSoup4 1. 특정한 데이터 크롤링 네이버에 '날씨'라고 검색했을 때의 웹페이지를 크롤링하여 미세먼지와 ..
2020.07.24