Skip to content

Instantly share code, notes, and snippets.

@sencagri
sencagri / .py
Last active May 3, 2018 21:01
computer vision 4 5
#!/usr/bin/python
# -*- coding: utf-8 -*-
import cv2
import numpy as np
from sklearn.naive_bayes import GaussianNB
from sklearn.neighbors import KNeighborsClassifier
from sklearn.neural_network import MLPClassifier
shapeData = list()
label = [4,3,2,2,3,3,4,1,2,1,1,1,1,4,4,1,3,1,2,1,1,3,3,4]
from numpy import genfromtxt
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from sklearn import datasets, svm
from sklearn.ensemble import GradientBoostingClassifier
from sklearn import tree
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import confusion_matrix
from sklearn.metrics import accuracy_score
@sencagri
sencagri / .py
Last active May 24, 2018 23:00
scene recons.
# -*- coding: utf-8 -*-
"""
Created on Fri May 25 00:18:04 2018
@author: Gurcan
"""
#!/usr/bin/env python
# -*- coding: utf-8 -*-
@sencagri
sencagri / .py
Created May 24, 2018 23:37
recons test
# -*- coding: utf-8 -*-
"""
Created on Fri May 25 00:18:04 2018
@author: Gurcan
"""
#!/usr/bin/env python
# -*- coding: utf-8 -*-