가장 쉬운 가우시안 프로세스 회귀,분류
By Imagination is more important than knowledge (지식보다 상상) | 2020년 1월 24일 |
가장 쉬운 가우시안 프로세스 회귀, 분류 가우시안 프로세스는 회귀, 분류 문제를 풀기 위한 지도학습 방법이다. 확률론적 예측을 가능하게 해준다. 너무 큰 다차원 공간에서 방법 고유의 효율성을 잃어버릴 수 있다. 훈련된 데이터를 적극적으로 사용한다. 계속해서 훈련 데이터를 추가한다. 훈련하는 데이터의 수가 너무 많지 않을 경우에 사용하는 회귀 방법이다. 무한차원의 다중변수 가우시안 분포 평균 함수, 상호분산 함수 import sklearn.gaussian_process as gp# X_tr <-- training observations [# points, # features] # y_tr <-- training labels [# points] # X_te <-- t
가장 쉬운 유전 알고리듬 (genetic algorithm)
By Imagination is more important than knowledge (지식보다 상상) | 2019년 11월 9일 |
가장 쉬운 유전 알고리듬 (genetic algorithm) import randomimport numpy as npfrom scipy.optimize import minimizedef functuser(x): case=3 if case == 1: total=0. for j in range(len(x)): total+=(x[j])**2 if case == 2:# Rastrigin total=10.*len(x) for j in range(len(x)): total+=x[j]**2-10.*np.cos(2.*np.pi*x[j]) if case == 3:# Rosenbrock xarra
파이썬 3.11.0
By Imagination is more important than knowledge (지식보다 상상) | 2022년 10월 27일 |
파이썬 3.11.0 파이썬 3.11.0 버전 공개...속도 및 편의성 향상 (naver.com)Python Release Python 3.11.0 | Python.orgPython 3.11 Performance Benchmarks Show Huge Improvement - Phoronix 보다 쉬운 오류찾기조금 더 빨라진 파이썬 파이썬 언어는, 누가 평가하더라도, 최고 인기 컴퓨터 언어가 되었다.인공지능의 인기 때문에 사실상 강제로 최고 인기 프로그램으로 등극했다. 우리는 이 컴퓨터 언어의 특징을 잘 이해해야한다. 실제로 사용해보면 쉽게 들어가서 쉽게 사용할 수 있는 언어이다. 하지만, 계속해서 연습을 해야만하는 언어이다. 기본에서 변형된 형식들이 다수 존재한다. 전문가들의 서비스 정신을 제대로 잘
가장 쉬운 superlearner [ML-Ensemble (mlens) library]
By Imagination is more important than knowledge (지식보다 상상) | 2020년 12월 18일 |
가장 쉬운 superlearner 기존에 알려진 9개 학습모델을 모두 활용한다. 사용하는 방법은 각각의 방법과 완전하게 동일하게 만들어 버릴 수 있다.결국, 하나의 학습모델을 활용하는 것과 완전히 동일해진다. ML-Ensemble (mlens) library provides a convenient implementation that allows the superlearner to be fit and used in just a few lines of code. It is specifically designed to work with scikit-learn models.ML-Ensemble combines a Scikit-learn high-level API with a low-level computatio