Skip to content

Instantly share code, notes, and snippets.

View ardamavi's full-sized avatar

Arda Mavi ardamavi

View GitHub Profile
@ardamavi
ardamavi / index.html
Last active March 5, 2019 11:10
Keras - Django Web App
<html>
<head>
<title>Arda Mavi - App</title>
</head>
<body>
<center>
<a style="text-decoration: none; font-size: 6em;" href="/">
<span style="color:#fc4f3f;">Arda Mavi</span> <span style="color:#808080"></span> <span style="color:#3377CC;">App</span>
</a>
<br/><br/><br/>
@oraoto
oraoto / TensorFlowParser.py
Created March 6, 2018 01:44
modified TensorFlowParser.py
# Copyright 2017 Intel Corporation.
# The source code, information and material ("Material") contained herein is
# owned by Intel Corporation or its suppliers or licensors, and title to such
# Material remains with Intel Corporation or its suppliers or licensors.
# The Material contains proprietary information of Intel or its suppliers and
# licensors. The Material is protected by worldwide copyright laws and treaty
# provisions.
# No part of the Material may be used, copied, reproduced, modified, published,
# uploaded, posted, transmitted, distributed or disclosed in any way without
# Intel's prior express written permission. No license under any patent,
@ardamavi
ardamavi / sentence_coder.py
Last active July 16, 2017 14:39
Sentence encoder and decoder
"""
By Arda Mavi
github.com/ardamavi
Using:
# Encoder:
If you want to encode your sentence, use this command: encode(<your_sentence>)
Example:
Your Sentence: "ar ma"
Return: [[0.0, 0.6538461538461539], [0.46153846153846156, 0.0]]
@ardamavi
ardamavi / Tensorflow-Neuron.py
Last active October 29, 2017 13:09
Neuron with Tensorflow
# Arda Mavi
# github.com/ardamavi
import tensorflow as tf
# Inputs:
x = tf.placeholder(tf.float32, [None, 2])
y = tf.placeholder(tf.float32, [None, 1])
# Weight:
@ardamavi
ardamavi / Machine_Learning_Comparison.py
Last active September 6, 2017 18:52
Keras Denses VS SKLearn MLP VS SKLearn Decision Tree
# Arda Mavi
import keras
import numpy as np
from sklearn import tree
from random import shuffle
from keras.layers import Dense
from keras.models import Sequential
from sklearn.neural_network import MLPClassifier
@ardamavi
ardamavi / BasitHesapMakinesi.swift
Last active December 13, 2022 11:34
Swift 'e yeni başlayanlar için basitleştirilmiş hesap makinesi
//
// ViewController.swift
// Hesapla Arda !
//
// Created by Arda Mavi on 1.02.2016.
// Copyright © 2016 Arda Mavi. All rights reserved.
// Bu uygulama Arda Mavi tarafından tasarlanmış ve programlanmıştır.
import UIKit
@ardamavi
ardamavi / BitWiseİşlemler.java
Last active February 1, 2016 02:13
BitWise ile İşlemler By Arda Mavi
// By Arda Mavi
import java.util.Scanner;
public class BitWiseİşlemler {
public static void main(String[] args) {
// Tanım :