Name:
- TODO: Question 1
/** | |
* @file easy_rand.h | |
* | |
* Makes it easy to generate good pseudo-random values in a | |
* given numerical range using the new C++11 <random> features, | |
* without the setup overhead. | |
*/ | |
#ifndef EASY_RAND_H | |
#define EASY_RAND_H |
#! /usr/bin/env python | |
################################################################################################### | |
# Given a CSV or tab-delimited input file (ASCII-encoding), replace all | |
# missing values or all occurances of a specified value with a new marker. | |
# Useful for large scientific data where some values are missing (i.e. gene | |
# microarrays, etc) | |
# | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2016 Jason L Causey, Arkansas State University |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
#################################################################### | |
# Removes any files that are not currently in the working tree from | |
# the git repository history. | |
#################################################################### | |
KEEPFILES=$(mktemp) | |
FULLLIST=$(mktemp) | |
REMOVEFILES=$(mktemp) |
#!/bin/bash | |
script="$(basename ${0})" | |
read -r -d '' USAGE <<-EOF | |
Watches a specified process (by pid or name) and runs | |
a specified command after it exits. | |
If watching by name, the command executes when no process | |
by that name is running. | |
Usage: |
/** | |
* EXAMPLE FROM: https://iamtrask.github.io/2015/07/12/basic-python-network/ | |
* I'm replicating the "3 Layer Neural Network" code using C++ and Eigen below. | |
* This network is trying to learn to recognize an XOR in the first two elements | |
* of a 3-value vector, the third value doesn't matter. | |
*/ | |
#include <iostream> | |
#include <fstream> | |
#include <ctime> |
""" | |
Encodes SNP format (TSV) into a numeric matrix (CSV) format. | |
See docstring in `main()` for more info, or run with --help. | |
""" | |
import click | |
import sys, os, csv, json | |
@click.command() | |
@click.argument("input_file", type=click.File("r")) |