일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Bioinformatics
- ChIPseq
- 비타민 C
- ngs
- cellranger
- PYTHON
- javascript
- matplotlib
- julia
- HTML
- scRNAseq
- CUT&RUN
- scRNAseq analysis
- Git
- Batch effect
- js
- single cell analysis
- python matplotlib
- drug muggers
- CSS
- CUTandRUN
- drug development
- DataFrame
- 싱글셀 분석
- github
- pandas
- EdgeR
- MACS2
- single cell rnaseq
- single cell
Archives
- Today
- Total
바이오 대표
[Optimization ] Ackley 그래프 그리기 본문
Ackley function은 minimum, 최적화, 를 찾기위한 테스팅을 위해 만들어내는 local minima 가 많은 그래프이다.
julia> using Plots, PlutoUI
julia> begin
function ackley(x; a=20, b=0.2, c=2π)
d = length(x)
return (-a * exp(-b*sqrt(sum(x.^2)/d)) - exp(sum(cos.(c.*x))/d))
end
ackley(x...; kwargs...) = ackley(x; kwargs...)
end
ackley (generic function with 2 methods)
julia> ackley(1.0)
3.6171031099813176
julia> plot(ackley, -pi, pi, label="Ackley", xlabel="x")
'Mathematical Optimization > Julia' 카테고리의 다른 글
[Differentiation] using Zygote, reverse differentiation (0) | 2021.10.13 |
---|---|
[Differentiation] using Symbolics, differentiation (미분) (0) | 2021.10.13 |
[Julia] 기본 코드 ( ] , using, include( ), println( ) ) (0) | 2021.09.26 |
[ Julia ] 기초 문법 (variable, functions, for, if, array) (0) | 2021.09.26 |