Skip to content

Instantly share code, notes, and snippets.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDertfNhJBS18kOoVtLTd85tMhTLbO/gGCcIYz6B1InxXswG0XYgfgzUK4Td/IiU8+LF93QyTHoxDrW2UFPmZnOoBnom/poWTScxS4a9Kx8io5d1v3t4G9H7H74y0cGzH8PAQAZ3N64+guLzkaTDjmKgifI6nEt+VwgBVBbY6oHzS7yKx017b57yagdOkIdK7xrOdpnWl77rcqaqz5CGtcZW1J6t3cCvxEDCNffO3x0RtMMOnR2kS6XzHAc1XRulniZp1+uTtDl4Qsi17wVH9ncuJJk2BwUBxxnUfGBo3tQYCIZjpN7HUUefqh8mp6hADV1Q2TepHh63ZXDX0iglWoHMLDbAV3UPlCvJ7i2E/+9ON9uH5wxjj8e+MzlfFE00nx1XF6uZtJ7L3ZrzbQ8OBc7/kPRZQ07N6b3KVwwskWTpn1DnnqcYRIk0XSUXxb2jiCJ/U9risNfHoGnMoNkhQvEDKMS8oPMyxgvwNiOxtz/Zs4sCt5dqeWmgW3R9HKCqLhb3pUrTOUeG3wfi5rht5h8uWucYA+R81D6FrUO83H1EzqZqPDKcHjSyvgfdkTvLnFHU//QUNwvBfCmHiNDAlX4h2w2mPoIL55gnud51w3ey11oE86I0f7hOGs1/Is7MbmugkzCC6t0JytTGWx1MbfD/6IJwIxS/ATdETcwoAvnnw== [email protected]
http://www.raspians.com/Knowledgebase/how-to-watch-youtube-on-the-raspberry-pi/
watch youtube on raspberry pi
sudo apt-get install git-core
git clone git://github.com/StevenHickson/PiAUISuite.git
cd PiAUISuite/Install/
./InstallAUISuite.sh
Model (reg = l2, c = 0.09) training acc: 0.4431818181818182 test accuracy: 0.68
Model (reg = l2, c = 3) training acc: 0.45454545454545453 test accuracy: 0.72
Model (reg = l2, c = 0.08) training acc: 0.45454545454545453 test accuracy: 0.7
Model (reg = l2, c = 0.08) training acc: 0.4090909090909091 test accuracy: 0.62
@vlad17
vlad17 / ZNN-allocator-32-threads.txt
Created October 26, 2015 22:02
Massif memory usage graph - custom allocator, 32 threads
GB
3.238^ :
| :::::::::::@@@::::@:::::::::##::::::::::@@:::::::::::::::::::@:::
| ::::: :::: @ @::::@: :: ::::# :: :::: ::@ ::: : :::::: ::::::@:::
| ::::::: :::: @ @::::@: :: ::::# :: :::: ::@ ::: : :::::: ::::::@:::
| ::: ::::: :::: @ @::::@: :: ::::# :: :::: ::@ ::: : :::::: ::::::@:::
| @: : ::::: :::: @ @::::@: :: ::::# :: :::: ::@ ::: : :::::: ::::::@:::
| @@: : ::::: :::: @ @::::@: :: ::::# :: :::: ::@ ::: : :::::: ::::::@:::
| @@: : ::::: :::: @ @::::@: :: ::::# :: :::: ::@ ::: : :::::: ::::::@:::
| @@: : ::::: :::: @ @::::@: :: ::::# :: :::: ::@ ::: : :::::: ::::::@:::
@vlad17
vlad17 / ZNN-allocator-1-thread.txt
Created October 26, 2015 22:02
Massif memory usage graph - custom allocator, 1 thread
GB
3.172^ :
| :@@::::::::#:::@::::@::@@::::@:::::::::@:::::::::@:::::@:::::@:::
| :@:@@: : ::::#: :@: ::@::@ ::::@: ::::: :@::: :::::@:::::@:::::@:::
| ::@:@@: : ::::#: :@: ::@::@ ::::@: ::::: :@::: :::::@:::::@:::::@:::
| @::@:@@: : ::::#: :@: ::@::@ ::::@: ::::: :@::: :::::@:::::@:::::@:::
| :@::@:@@: : ::::#: :@: ::@::@ ::::@: ::::: :@::: :::::@:::::@:::::@:::
| ::@::@:@@: : ::::#: :@: ::@::@ ::::@: ::::: :@::: :::::@:::::@:::::@:::
@vlad17
vlad17 / std-allocator-32-thread.txt
Created October 26, 2015 22:08
Massif memory usage graph - standard allocator, 32 threads
MB
745.4^ :
| ::@@:: :::@:::@::::::::::::::@:::::@:::#:::::@:::::
| ::::::::@@:::::: :::@:: @:: :::::::::::@:::::@:::#:::::@:::::
| ::: ::::@@:::::: ::::@:: @:: :::::::::::@:::::@:::#:::::@:::::
| @::: ::::@@:::::: :::::@:: @:: :::::::::::@:::::@:::#:::::@:::::
| @::: ::::@@:::::: :::::@:: @:: :::::::::::@:::::@:::#:::::@:::::
| :@::: ::::@@:::::: :::::@:: @:: :::::::::::@:::::@:::#:::::@:::::
| :@::: ::::@@:::::: :::::@:: @:: :::::::::::@:::::@:::#:::::@:::::
| :@::: ::::@@:::::: ::::::@:: @:: :::::::::::@:::::@:::#:::::@:::::
@vlad17
vlad17 / gbt.spark
Last active August 9, 2016 22:24
[SPARK-16718] benchmark for million song dataset
// See gbm.R for context
// run with options:
// spark-shell --driver-memory 20G --executor-memory 4G --driver-java-options="-Xss500M" -i gbt.spark
import org.apache.spark.sql.DataFrame
import sys.process._
import java.io._
import org.apache.spark.ml.feature.VectorAssembler
import org.apache.spark.ml.classification.GBTClassifier
import org.apache.spark.ml.evaluation._
# Subset of the million-song dataset
# Is a song made before or after 2002, based on its vocal features?
# significantly handicapping gbm here:
# - no cv for stopping
# - forcing 0.5 threshold.
# The above is what spark has to do
library(gbm)
library(ROCR)