This file contains 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
# -*- coding: utf-8 -*- | |
require 'pp' | |
class RandomWalk | |
def initialize(header, data, input) | |
@header = header | |
@data = data | |
@input = input |
This file contains 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
gaConf = { | |
linkFilter : { | |
#外部サイトへのリンクトラック true or false | |
offsite : true, | |
#除外サイト | |
excludeLink : [ | |
/google/, | |
/livedoor/ | |
], | |
internalTrack : { |
This file contains 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
/* | |
JavaScript Loading Tool | |
Async loading and Syncloading with jquery and google analytics | |
*/ | |
(function() { | |
/* THE WAY OF FILE SETTING | |
CASE : javascript file | |
{ | |
'type':'js', // put 'js | |
'src':'hidouki.js', // put the path of the js file |
This file contains 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
(function() { | |
var EvTrack, url; | |
EvTrack = (function() { | |
function EvTrack(url) { | |
this.url = url; | |
this.opt = { | |
category: "", | |
action: "", |
This file contains 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
class EvTrack | |
constructor: (url)-> | |
@url = url | |
@opt = { | |
category : "" | |
action : "" | |
label : "" | |
value : "" | |
} | |
@optName = { |
This file contains 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
# -*- coding: utf-8 -*- | |
import numpy as np | |
import pandas as pd | |
import scipy as sp | |
import scipy.stats | |
from pandas import DataFrame, Series | |
def chi_sq_test(df): |