반응형
반응형
본문 바로가기
다항식 회귀 (Polynomial Regression)이란 다항식 회귀 (Polynomial Regression)이란 다항식 회귀 분석은 관계를 n차 다항식으로 추정하는 다중 선형 회귀 분석의 특수한 경우로 알려진 선형 회귀 분석의 한 형태입니다. 다항식 회귀 분석에서는 특이치에 민감하므로 하나 또는 두 개의 특이치가 있는 경우에도 성능에 좋지 않은 영향을 미칠 수 있습니다. Linear Regression 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 import numpy as np import matplotlib.pyplot as plt from sklearn.linear_model import LinearRegression X = np.random.rand(100, 1) y = 4 + 5 * X + np.random.randn(10.. 2022. 3. 19.
칼로리 트래커 / 대시보드 (1) 칼로리 트래커 / 대시보드 (1) Introduction 하루 하루 섭취한 음식을 등록할 때 마다 동기적으로 변하는 대시보드가 있다면 누적 칼로리, 하루 칼로리량을 관리하고 한 눈에 확인하기에 간편할 것 같습니다. Full Code 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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 from dataclasses import dataclass import numpy as np import m.. 2022. 3. 18.
비밀번호 관리 매니저 만들기 using Python 비밀번호 관리 매니저 만들기 using Python Introduction 우리는 여러 웹사이트에 회원 가입 했습니다. 여러 아이디, 여러 패스워드 .. 보안에 취약합니다. 주기적인 비밀번호 변경 관리와 암호화가 필요합니다. 필요 라이브러리 1 pip install cryptography cs - 비밀번호를 encode, decode하는 데에 필요한 라이브러리입니다. 기능 파이썬으로 제작하는 비밀번호 관리 매니저는 key를 만들고, key를 로드하고, 패스워드 파일을 만들고, 패스워드 파일을 얻을 수 있습니다. Full Code 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 31 32 33 34 35 36 .. 2022. 3. 18.
Pygorithm으로 알고리즘 공부하기 Pygorithm으로 알고리즘 공부하기 알고리즘 공부를 파이썬에서 간단한 라이브러리만 설치해서 할 수 있다면 얼마나 간편할까라는 기대가 섞인 질문을 현실적으로 가능하게 한 라이브러리가 pygorithm이다. 알고리즘 공부는 어렵다. 어려운 것이 맞다. 외워야 할 때도 있고, 복잡하기도 하고, 이해하기 어렵기도 하다. pygorithm 라이브러리는 다양한 모듈을 지원한다. sorting, binary, strings, data_structures, searching, geometry, greedy_algorithm, pathfinding 등 웬만한 알고리즘 모듈은 전부 있다. 설치 1 pip install pygorithm cs Bubble Sort 1 2 3 from pygorithm.sorting im.. 2022. 3. 17.
Python 대역폭 모니터 만들어보기 (Bandwidth Monitor Using Python) Python 대역폭 모니터 만들어보기 (Bandwidth Monitor Using Python) Python으로 PC의 데이터 수송신 현황을 모니터할 수 있는 대역폭 모니터를 만들어보겠습니다. 로직은 간단합니다. 프로그램을 동작하기 시작했을 때의 수신 데이터, 송신 데이터를 저장합니다. 그 이후에 발생하는 수신 데이터와 송신 데이터에서 초기 수송신 데이터를 뺀 데이터 값을 매 초 마다 모니터 화면에 띄우는 것입니다. 어렵게 들릴 수 있지만 psutil이라는 라이브러리만 import한다면 아주 쉽게 작성할 수 있습니다. 그냥 util도 아니고 psutil은 process and system utilities의 줄임말입니다. 0. 필요 라이브러리 1 2 import time import psutil cs 1.. 2022. 3. 17.
For this problem you must define a simple interface NumTrackerInterface and two implementations of the interface, For this problem you must define a simple interface NumTrackerInterface and two implementations of the interface, Tracker1 and Tracker2. a. Define a Java interface named NumTrackerInterface. A class that implements this interface must keep track of both the sum and the count of numbers that are submitted to it through its add method, and provide getters for the sum, the count, and the average of.. 2022. 3. 12.
Create Java classes that implement the FigureInterface interface: Create Java classes that implement the FigureInterface interface: a. Square - constructor accepts a single argument of type double which indicates the length of a side of the square. b. RightTriangle - constructor accepts two arguments of type double that indicate the lengths of the two legs. c. IsoscelesTriangle - constructor accepts two arguments of type double that indicate the height and the.. 2022. 3. 12.
AI-900 무료 덤프 (한글) 02 2022. 3. 12.
AI-900 무료 덤프 (한글) 01 2022. 3. 11.
미국과 한국의 차이 및 장단점 미국과 한국의 차이 및 장단점 대한민국 미국 인구 (2021) 5,184만명 3억 3292만명 국가 크기 100,210 km² 9,834,000 km² 대학 졸업률 (2020) 69.8% 60.4% 총기 사고 수 (2021) 0 20,726+ 총기 난사 사건 수 (2021) 0 693+ 평화 지수 순위 (2021) 57위 / 163개국 128위 / 163개국 1인당 GDP (2020) 31,489.12 USD 63,543.58 USD GDP (2020) 1.631 trillion USD 20.94 trillion USD GDP 세계 순위 (2020) 10위 1위 대졸자 초임 평균 연봉 (2021) 3,250만원 8,610만원 (1USD = 1,200KRW) 고용안정성 비교적 매우 안정 비교적 매우 불안정.. 2022. 3. 9.

반응형