View 2-42.scm
(define (queens board-size)
(define (queen-cols k)
(if (= k 0)
(list empty-board)
(lambda (positions) (safe? k positions))
(lambda (rest-of-queens)
(map (lambda (new-row)
View Dockerfile
FROM debian:jessie
MAINTAINER masaponto <>
RUN apt-get update -y && \
apt-get install -y \
texlive \
texlive-fonts-extra \
texlive-bibtex-extra \
texlive-lang-japanese \


$ pip3 install --upgrade google-api-python-client
$ pip3 install --upgrade git+
$ echo 'export OFLS_KEY=<your-key-for-spread-sheet-goes-here>' >> ~/.bash_profile
$ echo 'export OFLS_GID=<your-gid-for-spread-sheet-goes-here>' >> ~/.bash_profile
from bottledaemon import daemon_run
from bottle import route, run, get
from talk_weather import talk_weather, talk_datetime
def test():
return 'Hello Raspbery Pi!'
#!/usr/bin/env python
from elm import ELM
from sklearn.cluster import KMeans
import numpy as np
class ClusteringBasedELM(ELM):
This script is clustering based extreme learning machine(CBELM),
#!/usr/bin/env python
import copy
import numpy as np
from sklearn.base import BaseEstimator, ClassifierMixin
class Bagging(BaseEstimator, ClassifierMixin):
def __init__(self, estimator, n_ensemble, max_samples=1.0):
View CMakeLists.txt
cmake_minimum_required (VERSION 3.7)
project (matrix_calc_ndk)
add_executable(matrix_calc_ndk matrix_calc_ndk.cpp)
View github-pandoc.css
/*! normalize.css v2.1.3 | MIT License | */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
* Correct `block` display not defined in IE 8/9.
View numpy.hpp
* Copyright (c) 2012 Masaki Saito
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
View input_array.cpp
#include <iostream>
#include "numpy.hpp"
int main(void) {
std::vector<int> s; // Vetor for matrix size
std::vector<int> int_data; // Vector for matrix element
aoba::LoadArrayFromNumpy("int_array.npy", s, int_data);