See data
π¦
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Cassette | |
Cassette.@context FizzBuzzCtx | |
function Cassette.overdub(ctx::FizzBuzzCtx, ::typeof(string), i::Integer) | |
if i % 3 == 0 | |
if i % 5 == 0 | |
"fizzbuzz" | |
else | |
"fizz" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Updating registry at `~/.julia/registries/General` | |
Updating git-repo `https://github.com/JuliaRegistries/General.git` | |
[?25l[2K[?25hhello world |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Updating registry at `~/.julia/registries/General` | |
Updating git-repo `https://github.com/JuliaRegistries/General.git` | |
[?25l[2K[?25hhello world |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Updating registry at `~/.julia/registries/General` | |
Updating git-repo `https://github.com/JuliaRegistries/General.git` | |
[?25l[2K[?25h Cloning git-repo `https://github.com/vchuravy/GPUifyLoops.jl.git` | |
[?25l Fetching: [> ] 0.0 % [2K[?25h Installed RecipesBase βββββββββββββββββ v0.6.0 | |
Installed MultiScaleArrays ββββββββββββ v1.4.0 | |
Installed TreeViews βββββββββββββββββββ v0.3.0 | |
Installed DiffEqDiffTools βββββββββββββ v0.8.1 | |
Installed Distances βββββββββββββββββββ v0.8.0 | |
Installed DiffEqNoiseProcess ββββββββββ v3.1.0 | |
Installed DiffEqBase ββββββββββββββββββ v5.7.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mpiexec -debug -n 2 julia --project test/test_reduce.jl | |
[00:7284] host tree: | |
[00:7284] host: MSEDGEWIN10, parent: 0, id: 1 | |
[00:7284] mpiexec started smpd manager listening on port 4439e991-40a0-4df8-9c51-55de66a74419 | |
[00:7284] create manager process (using mpiexec credentials) | |
[00:7284] Launching smpd as 'C:\Program Files\Microsoft MPI\Bin\smpd.exe "C:\Program Files\Microsoft MPI\Bin\smpd.exe" -p 8677 -d 11 -mgr 256 "job" -localonly' | |
[00:7284] smpd reading the port string from the manager | |
[-1:7112] Launching smpd manager instance. | |
[-1:7112] created set for manager listener 484 | |
[-1:7112] smpd manager listening on port 189aabd2-52fd-4bc1-b80f-886454b16dc6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[Base64]] | |
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" | |
[[BinaryProvider]] | |
deps = ["Libdl", "Pkg", "SHA", "Test"] | |
git-tree-sha1 = "9930c1a6cd49d9fcd7218df6be417e6ae4f1468a" | |
uuid = "b99e7846-7c00-51b0-8f62-c81ae34c0232" | |
version = "0.5.2" | |
[[Cassette]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[Base64]] | |
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" | |
[[BinDeps]] | |
deps = ["Compat", "Libdl", "SHA", "URIParser"] | |
git-tree-sha1 = "12093ca6cdd0ee547c39b1870e0c9c3f154d9ca9" | |
uuid = "9e28174c-4ba2-5203-b857-d8d62c4213ee" | |
version = "0.8.10" | |
[[BinaryProvider]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[AxisArrays]] | |
deps = ["Compat", "Dates", "IntervalSets", "IterTools", "Pkg", "Random", "RangeArrays", "Test"] | |
git-tree-sha1 = "2e2536e9e6f27c4f8d09d8442b61a7ae0b910c28" | |
uuid = "39de3d68-74b9-583c-8d2d-e117c070f3a9" | |
version = "0.3.0" | |
[[Base64]] | |
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" | |
[[BinaryProvider]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(ggplot2) | |
library(BayesLogit) | |
N <- 100 | |
X <- data.frame(X1=rnorm(N),X2=rnorm(N)) | |
logistic <- function (x) 1/(1+exp(-x)) | |
nu <- 2*X$X1 | |
pi <- 1/(1+exp(-nu)) | |
X$y <- rbinom(N,1,pi) |