Bogumił Kamiński, September 5, 2018
- Package management in projects
- Handling missing data
- Broadcasting
- Heterogeneous collections
using Random, Statistics, DataFrames | |
try | |
using PyPlot | |
global const HAS_PLOTS = true | |
catch | |
global const HAS_PLOTS = false | |
end | |
@enum Tree None Green Red Brown |
# This file is machine-generated - editing it directly is not advised | |
[[Adapt]] | |
deps = ["LinearAlgebra"] | |
git-tree-sha1 = "42c42f2221906892ceb765dbcb1a51deeffd86d7" | |
uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" | |
version = "2.3.0" | |
[[Artifacts]] | |
deps = ["Pkg"] |
using DataFrames | |
using Plots | |
using Random | |
using StatsBase | |
function cont_run(time=10000, n=10000, λ=0.05, q=0.1) | |
r = zeros(time) | |
θ = zeros(n) | |
pchange = zeros(n) | |
for t = 1:time |