Skip to content

Instantly share code, notes, and snippets.

View gist:8693448
export FB_APP_ID=
export FB_APP_SECRET=
export TEST_DB_NAME=tascout_test
export TEST_DB_USERNAME=tascout
export TEST_DB_PASSWORD=
export DEV_DB_NAME=tascout
export DEV_DB_USERNAME=tascout
export DEV_DB_PASSWORD=
View gist:8815613
var g = this.svg
.selectAll('.arc path')
.data(pie(mappedData), function(e) {
return e.data.label;
})
g.enter()
.append('g')
.attr('class', 'arc')
.append('path')
View gist:9343136
# If ccache was installed via Homebrew:
export PATH="`brew --prefix ccache`/libexec:$PATH"
# Define where build files should go. This places them in the directory
# "obj-ff-dbg" under the current source directory
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff-dbg
# -s makes builds quieter by default
# -j4 allows 4 tasks to run in parallel. Set the number to be the amount of
# cores in your machine. 4 is a good number.
View gist:9343151
[ 68%] Building CXX object src/interfaces/python_modular/CMakeFiles/_python_modular.dir/modshogunPYTHON_wrap.cxx.o
/Users/danielpiros/Documents/Projects/shogun/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:23697:42: error:
cannot initialize a parameter of type 'struct dirent *' with an
rvalue of type 'const dirent *'
result = (int)shogun::SGIO::filter((dirent const *)arg1);
^~~~~~~~~~~~~~~~~~~~
/Users/danielpiros/Documents/Projects/shogun/src/shogun/io/SGIO.h:478:37: note:
passing argument to parameter 'd' here
static int filter(CONST_DIRENT_T* d);
^
View gist:9350092
Hi,
My name is Daniel Pyrathon. I am currently a third year BSc student in Computer Science at the University of Plymouth.
Since my placement year I have been very interested in machine learning and AI in general. This has led me to self-learn some of the main models such as: Neural Networks (MLP, RBM), Naive Bayes classifiers, Genetic Algorithms, and I am currently learning RBMs because of my interest in deep learning. I love programming and I have always been active in the Open Source community (especially Python). In the past years I have written lots of Python, Javascript, Ruby, Java, and I am currently using C++ for many university projects.
The reason why I am interested in Shogun is because I think this project could increase my knowledge of machine learning as well as let me contribute bringing my own experience.
As one of the aims of SoC is to increase the visibility of Shogun I though of a preliminary idea that could help increase it: making Shogun a SaaS.
The idea would be to build upon the alr
View gist:9385205
danielpiros@monkey:~/Documents/Projects/comm-central$ obj-ff-dbg/mozilla/dist/bin/instantbird
[64110] WARNING: '!compMgr', file /Users/danielpiros/Documents/Projects/comm-central/mozilla/xpcom/glue/nsComponentManagerUtils.cpp, line 59
[64110] WARNING: '!compMgr', file /Users/danielpiros/Documents/Projects/comm-central/mozilla/xpcom/glue/nsComponentManagerUtils.cpp, line 59
[64110] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file /Users/danielpiros/Documents/Projects/comm-central/mozilla/toolkit/crashreporter/nsExceptionHandler.cpp, line 2107
++DOCSHELL 0x111cc3400 == 1 [pid = 64110] [id = 1]
++DOMWINDOW == 1 (0x111cc4800) [pid = 64110] [serial = 1] [outer = 0x0]
++DOMWINDOW == 2 (0x111cc6000) [pid = 64110] [serial = 2] [outer = 0x111cc4800]
View gist:9450801
root@a71d27b3696b:/shared/shogun/applications/classification# python test_multiclass_svm.py --classifier /tmp/mode --testset ../../data/7class_example4_test.light
[2014-03-09 16:59:30,597 test_multiclass_svm] SVM Multiclass evaluation
[WARN] In file /tmp/shogun/src/shogun/multiclass/MulticlassStrategy.cpp line 45: MulticlassStrategy::CMulticlassStrategy(): register parameters!
[WARN] In file /tmp/shogun/src/shogun/multiclass/MulticlassOneVsOneStrategy.cpp line 33: MulticlassOneVsOneStrategy::CMulticlassOneVsOneStrategy(): register parameters!
[WARN] In file /tmp/shogun/src/shogun/multiclass/MulticlassStrategy.cpp line 45: MulticlassStrategy::CMulticlassStrategy(): register parameters!
[WARN] In file /tmp/shogun/src/shogun/multiclass/MulticlassOneVsOneStrategy.cpp line 33: MulticlassOneVsOneStrategy::CMulticlassOneVsOneStrategy(): register parameters!
[2014-03-09 16:59:32,738 test_multiclass_svm] Accuracy = 0.6015
[2014-03-09 16:59:32,739 test_multiclass_svm] Confusion matrix:
*** glibc detected *** python: fr
View gist:9527621
def test_title_abbreviations(self):
self.assertEqual(title('SMS messages'),
"SMS Messages")
View gist:9546152
danielpiros@monkey:~/docker/shared/shogun/build$ make _python_modular
[ 0%] Built target class_list
[ 0%] Built target Eigen3
[ 1%] Generating version header
[ 1%] Built target version
[ 2%] Built target JSON
[ 98%] Built target libshogun
[ 98%] Built target shogun
Scanning dependencies of target python_modular_src
[ 98%] copying SWIG files
View gist:9549853
[11:33am] edbaffei left the chat room. (Quit: edbaffei)
[11:41am] bak1an left the chat room. (Quit: Konversation terminated!)
[11:49am] tape-recorder left the chat room. (Remote host closed the connection)
[11:50am] tape-recorder joined the chat room.
[11:53am] maroloccio joined the chat room.
[11:53am] timograham joined the chat room.
[11:53am] edbaffei joined the chat room.
[12:02pm] dfunckt left the chat room.
[12:07pm] dlogs left the chat room. (Remote host closed the connection)
[12:07pm] dlogs joined the chat room.