I hereby claim:
- I am grantrvd on github.
- I am grantrvd (https://keybase.io/grantrvd) on keybase.
- I have a public key ASBn-obTbOAfhNsYsxZdaaPEIGrhK1oHGZ4YEy7SLyewdgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Databricks notebook source exported at Wed, 22 Jul 2015 00:59:51 UTC | |
# MAGIC %md | |
# MAGIC ![ML Logo](http://spark-mooc.github.io/web-assets/images/CS190.1x_Banner_300.png) | |
# MAGIC # **Principal Component Analysis Lab** | |
# MAGIC #### This lab delves into exploratory analysis of neuroscience data, specifically using principal component analysis (PCA) and feature-based aggregation. We will use a dataset of light-sheet imaging recorded by the [Ahrens Lab](http://www.janelia.org/lab/ahrens-lab) at Janelia Research Campus, and hosted on the CodeNeuro [data repository](http://datasets.codeneuro.org). | |
# MAGIC #### Our dataset is generated by studying the movement of a larval [zebrafish](http://en.wikipedia.org/wiki/Zebrafish), an animal that is especially useful in neuroscience because it is transparent, making it possible to record activity over its entire brain using a technique called [light-sheet microscopy](http://en.wikipedia.org/wiki/Light_sheet_fluorescence_microscopy). Specifically, we'll work with time-va |
library(pwr) | |
# Set variables | |
p <- seq(.2, .9, .01) | |
np <- length(p) | |
d <- seq(.4, 2.0, .2) | |
nd <- length(d) | |
samsize <- array(numeric(np*nd), dim=c(np, nd)) |
/* | |
* | |
* >>>> THIS CODE DESIGNED FOR OBCI_8bit board <<<< | |
* | |
* This code is written to target an ATmega328P with UNO bootloader. | |
* Adjust as needed if you are testing on different hardware. | |
* | |
* | |
* Made by Joel Murphy, Luke Travis, Conor Russomanno Summer, 2014. | |
* SDcard code is based on RawWrite example in SDFat library |
function mz = makeMaze(n) | |
showProgress = false; | |
colormap([1,1,1;1,1,1;0,0,0]); | |
set(gcf,'color','w'); | |
NoWALL = 0; | |
WALL = 2; | |
NotVISITED = -1; | |
VISITED = -2; |