# GSoC Project Introduction

Published:

Hello guys! I am Harini, an upcoming junior majoring in Computer Science. This is my first blog and I aim to give a brief overview of my GSoC Project.

## Introduction

GSoC which stands for Google Summer of Code is an online program that brings new contributors into open source software organizations. It takes place every year for a duration of about 12 weeks during the summer.Potential GSoC contributors contact the mentor organizations they want to work with and write a project proposal based on ideas the organization has suggested. This was my first time applying to GSoC and I applied only to Arviz(under the umbrella organization NumFOCUS).

My project is titled “Add Gen converter to ArviZ.jl”. My task is to implement a converter that converts inference results from Gen.jl to InferenceData in Arviz.

## A Brief Overview of ArviZ.jl

ArviZ.jl is a Julia interface to the ArviZ package for exploratory analysis of Bayesian models. ArviZ is a Python package for exploratory analysis of Bayesian models which includes functions for posterior analysis, data storage, sample diagnostics, model checking, and comparison.

Here is some sample code for plotting in ArviZ.

## Example

using ArviZ, Distributions, LinearAlgebra, PyPlot, Random
ArviZ.use_style("arviz-darkgrid")


In this example we are plotting a binomial and a normal distribution.

a = rand(Binomial(2), 1000)
b = rand(Normal(0, 1), 1000)
_, ax = plt.subplots(1, 2; figsize=(10, 4))
plot_dist(a; color="C7", label="Binomial", ax=ax[1])
plot_dist(b; color="C6", label="Gaussian", ax=ax[2])


Output:

## Final Note

I will be documenting parts of my GSoC journey through such blogs and short tutorials. Thanks a lot for reading!