Sign in

AI, Software Developer, Designer : www.k3no.com
Image for post
Image for post

Is this the one?

Like many other developers, I’ve been looking for a Python UI solution for my projects and I have yet to find the perfect one. Under this light, I‘ve been wanting to try out PySimplegui for a while, and so this will be a simple overview with some beginner's code and a more realistic project thrown at it.

Advanced Hello world

I’ve tried so many UI libraries over the years that I usually start with a simple program to get a feel for the API, the script is a simple click counter that is the basis and framework for more advanced programs. …


Image for post
Image for post

A bit down and to the left

I love isometric views; they pack a bunch ( punch ?) of visual information and are great for sketching pseudo 3D views, making them programmatically on the other hand has always seemed daunting, at least to me, come along as I face my isometric fears and build one from scratch in python.

Here's a typical isometric Grid/Image and a simple approximation of what's going on which we will use throughout, starting from a simple square you rotate it 45° and then squish it so it is twice as wide as it is tall. 


Image for post
Image for post

And 5 reasons you should skip them.

I’ve been competing in the Numerai Quant competitions ( there are 2 ) for the past 3 years and thought it could be interesting to write a follow up to my previous two posts as a way to catch up…

Previous posts you might like:- Numerai walkthrough: Quantitative Analysis & Machine learning for fun and profit. The practical parts are now outdated, but the introduction explanation is still relevant. - Practical Keras Simple regression for the Numerai Tournament An up to date (late 2020) technical look at setting up a Neural Network for the tournament.

What is it again ?

In a nutshell Numerai…


Hip to be square

Grids
Grids
Photo by the author.

At some point, you might need to make a grid or grid-like visual structure for a project or coding interview question (mazes, search). A grid is also the foundation for placing objects on a canvas surface in an orderly manner and more complex cases like isometric views and tiled games.

This article is meant to take us both from zero grids to Intermediate Gridology in a hopefully painless way.

Note: The code and concepts discussed here are somehow interchangeable between languages, but some languages provide a better native experience and primitives are needed for grids. …


Image for post
Image for post
Photo by Adrien Olichon from Pexels

We can’t describe what we don’t know.

Preface

There are plenty of articles describing Artificial General Intelligence (AGI) out there, the wiki on AGI is a great place to start, I think most definitions fit somewhere between describing an emulation of human cognitive abilities and defining intelligence by some well thought out premise: It can adapt to new circumstances, it can derive meaning and reason, it is logical, etc, etc.

Regardless of which flavor of AGI definition you like or agree with, what we still don’t have is an AGI and that’s because we simply can’t build one yet, but how can this be so ? What is…


Image for post
Image for post
Photo by judit agusti aranda from Pexels

Looking into Neural Code for better AIs

How does your brain represent the environment ? The partial answer is the admittedly complex title which we will explore in this article.

Representation is a hard problem for both Neuroscience and AI and a good explanation of these terms I think is helpful if we are to build better AIs, this is my attempt.

Representations

A representation is simply that, the internal description of something, a thing, an idea or even a thought or feeling in general, but alas these later ones are very high in the hierarchy of representations and we don’t yet know exactly how they are formed…


Image for post
Image for post
https://www.pexels.com/@mali

Revolutionary, Evolutionary or something else ?

As someone that spends most of the time thinking about Neuroscience, Artificial Neural Networks and Software the latest venture from Elon Musk: Neuralink on the surface ticks all the right boxes, so after their inaugural presentation I thought it would be fun to parse it and see what’s what. Care to join ?

The Pigs

Before delving into the details let’s go over the live demo they presented starting with the pigs:


Image for post
Image for post

To become the next thing.

It is always interesting to think about the next thing in AI, will it be something incremental or will it be something entirely different ? I like to think about the latter (but let’s briefly touch on the former) before moving on.

Incremental advances: The easy prediction here is to take current AIs/products and assume that they will gradually become better at what they do.The top tier of such current products are prediction AIs that employ Artificial Neural Networks (ANN) and algorithms for things like weather prediction, bureaucratic interactions, mundane tasks like search, not so mundane tasks like object…


Image for post
Image for post

Overview & Getting started

What is it ?

If you work or are learning python, sooner or later you will bump into Numpy arrays, I’d venture that numpy, along with pandas dataframes are the workhorses of data as far as python is concerned. In layman terms Numpy arrays are data containers that can represent multiple dimensions and be queried and operated on, or if you prefer the official definition from the docs:

NumPy’s main object is the homogeneous multidimensional array. It is a table of elements (usually numbers), all of the same type, indexed by a tuple of non-negative integers. In NumPy dimensions are called axes.

From lists to Numpy Arrays

You might…


Image for post
Image for post

Getting started with Computer Vision and Video in Python

OpenCV is the goto library for many image and video projects in Python, I remember struggling a bit with the documentation when starting out, so here’s a guided coding tour that I hope helps you.

Install OpenCV: <= Search for your particular environment, but this usually works:pip install opencv-python

What is it ?

OpenCV is a lot of things mostly dealing with processing images and video on your computer, my current interests are AI and real time applications, so this is biased towards that; for starters let’s look at simply capturing video from your webcam :

The above script consists of creating…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store