Skip to content

Instantly share code, notes, and snippets.

@peroon
peroon / privacy_polocy.md
Last active August 31, 2018 03:57
Privacy policy of peroon's Color Bath Camera

Color Bath Camera Privacy Policy of Color Bath Camera

Privacy Policy

Effective date: August 31, 2018

Color Bath Camera ("us", "we", or "our") operates the website and the Color Bath Camera mobile application (the "Service").

This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data. This Privacy Policy for Color Bath Camera is powered by FreePrivacyPolicy.com.

@peroon
peroon / gist:8f91cff6e8ec8d49a4212ac17514517f
Last active July 13, 2018 18:57
Image Classification Techniques (Writing...)

TODO

  • Mean Teacher (semi supervised)
  • Mixup
    • merge images and labels, then learn
  • Pyramid Net
    • CNN
  • Random Erasing
    • That's it
  • Test time augmentation
@peroon
peroon / random_forest.py
Created May 17, 2018 12:37
Kaggle Titanic by Random Forest
# -*- coding: utf-8 -*-
import re
import numpy as np
import pandas as pd
from sklearn.ensemble import RandomForestClassifier
# column name
PassengerId = 'PassengerId'
Survived = 'Survived'
using UnityEngine;
using System.Collections;
using DG.Tweening;
// ランダムで目パチ
public class Mepachi : MonoBehaviour {
// 調整パラメータ
public int blendShapeIndex = 0;
from PyQt5.QtCore import Qt
class LabelingTool(QWidget):
def __init__(self):
super().__init__()
def keyPressEvent(self, event):
key = event.key()
if key == Qt.Key_Escape:
print('esc')
def Combination(n, m):
f = math.factorial
return f(n) // f(m) // f(n - m)
# -*- coding: utf-8 -*-
import sys
import os
def print2d(M):
print()
for row in M:
print(row)
def get_intersections(p0, p1):
"""
:type p0: complex
:type p1: complex
:return:
"""
import re
re.split(r"[ ,.]", s):