Archive: 2021

0

classification

설정 matplotlib 그래프를 인라인으로 출력 그림을 저장하는 함수 12345678910111213141516171819202122232425262728293031323334353637383940# 파이썬 ≥3.5 필수import sysassert sys.version_info >= (3, 5)# 사이킷런 ≥0.20 필수import sklearn

0

Feature Engineering

데이터 수집 시각화 -> 변수 간의 조합 기초통계 : Feature Engineering Feature Engineering 이상치 처리, 중복값 제거, 문자 데이터 –> 수치 (인코딩) 정규화, 표준화, 도출 변수 및 불필요한 삭제 PCA(차원 축소),EFA 결측치 확인 : 1) 결측치 제거 : 2) 결측치 채우기 - 중간값,

0

Pandas10min

Pandas new usersimport12import numpy as npimport pandas as pd 객체 생성123s = pd.Series([1,3,5,np.nan,6,8])s 0 1.0 1 3.0 2 5.0 3 NaN 4 6.0 5 8.0 dtype: float64 DataFrameDatetime 인덱

0

시각화

Matplotlib데이터 불러오기 123456789101112131415import matplotlib.pyplot as pltdates = [ '2021-01-01', '2021-01-02', '2021-01-03', '2021-01-04', '2021-01-05

0

List and tuple

리스트와 튜플12list = [1, 2, "a", 3, 4] # 리스트의 형태tuple = (5, 6, "b", 7, 8) # 튜플의 형태 두 타입 모두 요소의 순서를 관리하지만 기술적으로 유일한 차이점이 있다. 리스트는 가변(mutable)성 튜플은 불변(immutable)성 즉 튜플은 append, insert,

0

컴퓨터 공학 입문 수료증

1단계 수료증https://pabi.smartlearn.io/certificates/92e0f41b4f52411faa9a6d9223a5e2eb 2단계 수료증https://pabi.smartlearn.io/certificates/f62ff5faca5c4557a5c0f502c9184b9e

0

Data Swap

데이터 변환 각 데이터 타입별로 변수에 저장된 값을 서로 바꾼다. 123456789101112131415161718192021222324252627282930#include <iostream>using namespace std;template<typename SwapData>void Swap(SwapData& num1, Swa

0

미등록 패키지 연동

12345678910111213141516171819if(!require(remotes)){ install.packages('remotes')} # remotes 가져오는 함수remotes::install_github("profandyfield/discovr")# 설치되지 않는 경우.libPaths()