Skip to content

Instantly share code, notes, and snippets.

View nextint_tsuyotsuyo_koshikake.md

[募集終了]NextInt社 つよつよ人材 腰掛け雇用枠

参考ツイート

雇用条件

  • 月収30万円
  • 週3勤務
    • 残りの週2日については副業、勉強、大学院、転職活動等に充ててよい
    • 曜日はいい感じに調整、応相談
    • 土日祝日は休み、休日はちゃんと休め
@tokoroten
tokoroten / box2dtest.cpp
Last active Jan 10, 2018
box2dで遊んでみる
View box2dtest.cpp
# include <Siv3D.hpp>
# include <HamFramework.hpp>
class Ball
{
public:
static const double SIZE;
static const Polygon POLYGONS[];
static const Color COLORS[];
static Font FONT;
View box2dtest.cpp
# include <Siv3D.hpp>
# include <HamFramework.hpp>
class Ball
{
public:
static const double SIZE;
static const Polygon POLYGONS[];
static const Color COLORS[];
const int mColor;
View DBSCAN.hpp
#pragma once
// Original code from https://gist.github.com/ialhashim/b29e5455333aa6ae0071#file-dbscan-hpp
// Code adapted from https://github.com/propanoid/DBSCAN
#include <vector>
#include <algorithm>
#include <omp.h>
View child_girl.txt
https://twitter.com/tenhouginsama/status/910099478165590016
https://pbs.twimg.com/media/DKFSpDTVYAAuKV_.jpg
===== ==== ================= =======================
子供1 子供2 女の子はいますか? もう一人も女の子ですか?
===== ==== ================= =======================
男 男 いいえ ----
女 男 はい いいえ
男 女 はい いいえ
女 女 はい はい
@tokoroten
tokoroten / PIDgame.go
Created Sep 3, 2017
PID制御でゲームを作ってみよう
View PIDgame.go
package main
import (
"fmt"
"image/color"
"log"
"math"
"github.com/hajimehoshi/ebiten"
"github.com/hajimehoshi/ebiten/ebitenutil"
View kickstarter_clawler.py
#coding: utf-8
import urllib.request
import json
import datetime
import os
import time
try:
os.mkdir("result")
except:
View kickstarter_clawler.py
#coding: utf-8
import urllib
import json
import datetime
import os
import time
# http://www.kbremner.com/2014/03/15/kickstarter-part1.html
# https://github.com/markolson/kickscraper/wiki/Project
@tokoroten
tokoroten / randomforest_compress_test.py
Last active Aug 29, 2015
scikit-learn randomforest serialize problem
View randomforest_compress_test.py
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import os.path
import shutil
import random
import math
import cPickle
import pickle
View print kaggle score
# https://www.kaggle.com/c/otto-group-product-classification-challenge/details/evaluation
def print_kaggle_score(label_list, proba_result):
label_index = sorted(list(set(label_list)))
score = - 1.0 / len(label_list) * sum(
[
math.log(
max(min(
proba_result[i][label_index.index(label_list[i])]
/ sum(proba_result[i])