Skip to content

Instantly share code, notes, and snippets.

View bulentsiyah's full-sized avatar

Bulent Siyah bulentsiyah

View GitHub Profile
@bulentsiyah
bulentsiyah / toplu_veri_artirma.ipynb
Last active October 17, 2019 18:52
Google Colab Üzerinde Keras ile Veri Çoğaltma (Data Augmentation) | Keras -- https://www.bulentsiyah.com/google-colab-uzerinde-keras-ile-veri-cogaltma-data-augmentation-keras/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
//
// FirebaseMLMetinTanimaViewController.swift
// ML Ornekleri
//
// Created by Bülent Siyah on 6.07.2018.
// Copyright © 2018 Bülent Siyah. All rights reserved.
//
import UIKit
import FirebaseMLVision
//
// IleriMetinTanimaViewController.swift
// ML Ornekleri
//
// Created by Bülent Siyah on 5.07.2018.
// Copyright © 2018 Bülent Siyah. All rights reserved.
//
import UIKit
import Vision
//
// IleriYuzTanimaViewController.swift
// ML Ornekleri
//
// Created by Bülent Siyah on 4.07.2018.
// Copyright © 2018 Bülent Siyah. All rights reserved.
//
import UIKit
import Vision
//
// IBMCustomMeyveTrafikViewController.swift
// ML Ornekleri
//
// Created by Bülent Siyah on 2.07.2018.
// Copyright © 2018 Bülent Siyah. All rights reserved.
//
import UIKit
import CoreML
//
// IBMMeyveViewController.swift
// ML Ornekleri
//
// Created by Bülent Siyah on 2.07.2018.
// Copyright © 2018 Bülent Siyah. All rights reserved.
//
import UIKit
import CoreML
@bulentsiyah
bulentsiyah / a_names.py
Last active June 16, 2018 21:23
Core ML ile Cinsiyet Tahmini (CoreML Convert Model) | IOS --- http://www.bulentsiyah.com/core-ml-ile-cinsiyet-tahmini-ios/
import pandas as pd
import numpy as np
from sklearn.utils import shuffle
from sklearn.feature_extraction import DictVectorizer
from sklearn.tree import DecisionTreeClassifier
from sklearn.pipeline import Pipeline
import coremltools
names = pd.read_csv('namesDataset.csv')
names = names.as_matrix()[:, 1:]
@bulentsiyah
bulentsiyah / Advanced_MNIST.py
Last active June 16, 2018 09:28
ANDROİD’DE MNIST VERİ SETİYLE ÖNCEDEN EĞİTİLMİŞ TENSORFLOW MODELİNİ KULLANMA | TENSORFLOW | ANDROİD -- http://www.bulentsiyah.com/androidde-mnist-veri-setiyle-onceden-egitilmis-tensorflow-modelini-kullanma-tensorflow-android/
import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
mnist_data = input_data.read_data_sets('MNIST_data', one_hot=True)
# Function to create a weight neuron using a random number. Training will assign a real weight later
def weight_variable(shape, name):
initial = tf.truncated_normal(shape, stddev=0.1)
return tf.Variable(initial, name=name)
//
// ViewController.swift
// Intelligent Image
//
// Created by Bülent Siyah on 10.06.2018.
// Copyright © 2018 Bülent Siyah. All rights reserved.
//
import UIKit
import CoreML
//
// BildirTableViewController.swift
// Bildir-Basic
//
// Created by Bülent Siyah on 12.05.2018.
// Copyright © 2018 Bülent Siyah. All rights reserved.
//
import UIKit
import CoreLocation