Skip to content

Instantly share code, notes, and snippets.

View nishnik's full-sized avatar

Nishant Nikhil nishnik

View GitHub Profile
@nishnik
nishnik / environment_training.yml
Last active June 4, 2022 12:10
Environment Training
name: training_internal
channels:
- rapidsai-nightly
- conda-forge
- defaults
dependencies:
- _libgcc_mutex=0.1=conda_forge
- _openmp_mutex=4.5=1_llvm
- abseil-cpp=20210324.2=h9c3ff4c_0
- absl-py=1.0.0=pyhd8ed1ab_0
@nishnik
nishnik / ScreenerCharts.js
Last active February 8, 2023 08:11
Create charts from the table data in screener.in
// ==UserScript==
// @name Screener Charts
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Create Charts for Screener
// @author You
// @match https://www.screener.in/company/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=screener.in
// @grant none
// ==/UserScript==
@nishnik
nishnik / vae.py
Created February 1, 2017 03:54
Variational Auto-Encoder introduction
# relu activation function
def relu(x):
return T.switch(x<0, 0, x)
class VAE:
"""This class implements the Variational Auto Encoder"""
def __init__(self, continuous, hu_encoder, hu_decoder, n_latent, x_train, b1=0.95, b2=0.999, batch_size=100, learning_rate=0.001, lam=0):
# let us keep the discussion to not continuous