Sha256: 11a6bbca492349e1954b438ddcb59066d3ce2735c32f567a398887e5be5ef608
Contents?: true
Size: 359 Bytes
Versions: 7
Compression:
Stored size: 359 Bytes
Contents
#!/usr/bin/ruby $:.unshift(File.dirname(__FILE__)+'/../lib/') require 'benchmark' require 'statsample' a=1000.times.collect {rand}.to_scale b=1000.times.collect {rand}.to_scale c=1000.times.collect {rand}.to_scale d=1000.times.collect {rand}.to_scale ds={'a'=>a,'b'=>b,'c'=>c,'d'=>d}.to_dataset cm=Statsample::Bivariate.correlation_matrix(ds) puts cm.summary
Version data entries
7 entries across 7 versions & 1 rubygems