Close

(50) Python Programming Language

Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python’s design philosophy emphasizes code readability with its notable use of significant whitespace.

Python İle Basit Bir Derin Öğrenme Uygulaması

Python İle Basit Bir Derin Öğrenme Uygulaması

Python ile veri bilimi ve makine öğrenmesi konusunda çalışmak istiyorsak işe NumPy ve Pandas ile başlamamız gerekiyor. Çok basit bir örnek uygulama ile başlayabiliriz. Bir giriş veri setimiz var, bir işlemden geçerek bir sonuç seti oluşuyor. Bunun algoritmasını tahmin etmeye çalışıyoruz. Sigmoid fonksiyonu ile iterasyonu ayarlıyoruz. Bu temel bir yaklaşımdır.

Devamını Oku

RELU Fonksiyonu Nedir?

RELU Fonksiyonu Nedir?

Doğrultulmuş lineer birim (rectified linear unit- RELU) doğrusal olmayan bir fonksiyondur. ReLU fonksiyonu negatif girdiler için 0 değerini alırken, x pozitif girdiler için x değerini almaktadır. Python kodlaması aşağıdaki gibi olabilir. def relu(x): return np.maximum(0, x)

Devamını Oku

Data analysis made easy: Text2Code for Jupyter notebook

Data analysis made easy: Text2Code for Jupyter notebook

In June of 2020, OpenAI launched their new model GPT-3, which not only has futuristic NLP(Natural Language Processing) capabilities, but was also able to generate React code and simplify command-line commands. Looking at these demos was a huge inspiration for us and we realized that while doing data analysis, a lot of times, we […]

Devamını Oku

handcalcs: Python calculations in Jupyter, as though you wrote them by hand

Python calculations in Jupyter, as though you wrote them by hand

handcalcs is a library to render Python calculation code automatically in Latex, but in a manner that mimics how one might format their calculation if it were written with a pencil: write the symbolic formula, followed by numeric substitutions, and then the result. Because handcalcs shows the numeric substitution, the calculations become significantly easier […]

Devamını Oku

SOFTMAX Fonksiyonu Nedir?

Python

Softmax fonksiyonu çoklu sınıflandırma problemleri için kullanılır. Verilen her bir girdinin bir sınıfa ait olma olasılığını gösteren [0,1] arası çıktılar üretmektedir. Python implemantasyonu aşağıdaki gibi olabilir. #softmax functiondef softmax(X): expo = np.exp(X) expo_sum = np.sum(np.exp(X)) return expo/expo_sum

Devamını Oku

Bye-bye Python. Hello Julia!

Bye-bye Python. Hello Julia!

Don’t get me wrong. A rock-solid community of computer scientists, data scientists, and AI specialists still backs python’s popularity. But if you’ve ever been at a dinner table with these people, you also know how much they rant about the weaknesses of Python. From being slow to requiring excessive testing […]

Devamını Oku

GIT CONFLICTS ve Çakışmaların Çözümü (4)

GIT CONFLICTS ve Çakışmaların Çözümü (4)

GİT kullanımında branch kullanımı ve farklı branch larda bulunan geliştirmelerin birleştirilmesini gördük.  Günlük hayatta aynı branch üzerinde aynı dosyanın değiştirilmesi sık olmasa dahi karşılacağınız bir durumdur.   Bununla ilgili bir örnek dizisi yapalım.  Bu konunun adı CONFLICTS olarak geçmektedir.   öncelikle durumu kontrol edelim.  ozgur-MacBook-Pro:gitsample ozgurozkok$ git status On branch […]

Devamını Oku

Implementation of the Travelling Salesman problem using the Genetic Algorithm

Implementation of the Travelling Salesman problem using the Genetic Algorithm

The Traveling Salesman Problem (TSP) is a well-known problem in computer science and operations research. It involves finding the shortest route that visits a given set of cities and returns to the starting point. Genetic algorithms (GAs) are famous for solving TSPs because they can find approximate solutions to complex […]

Devamını Oku

Django 3.0 Released

Django 3.0 Released

The Django team is happy to announce the release of Django 3.0. The release notes cover the raft of new features in detail, but a few highlights are: You can get Django 3.0 from our downloads page or from the Python Package Index. The PGP key ID used for this release is Carlton Gibson: […]

Devamını Oku

Python İçin Hangi IDE’ i Kullanmalıyım?

Python İçin Hangi IDE' i Kullanmalıyım?

Python dokümanları ve kitapları genellikle Python ile gelen IDLE üzerinden örnekler veriyor. IDLE En az yük ile geliştirme ortamını kurmak hızlı başlangıç sağlıyor. Düşük özellikli, eski bilgisayarlarda geliştirmeye başlamayı sağlıyor. Python “kullanmak” isteyen herkesin IDLE’ deneyimlemesini öneriyorum. Notepad’ den biraz fazla konfor sağlıyor fakat komşunun bilgisayarında dahi işinizi sürdürebilirsiniz. BİLGİSAYAR […]

Devamını Oku