Octhum: a tool to unify different Artificial Intelligence approaches

Vitor Fonseca
Feb 10 · 4 min read

Artificial Intelligences, in few words, are models that simulate human brains. For an example, Neural Networks, one of more famous artificial intelligence approach, learn about a scope (through an information database file or another font that contains patterns), simulate the neurons signals and your connections (synapsis), considering the weight of each one in a “brain processing”. Exactly this happens in our brain: we grew up learning patterns our entire life, classifying them in images, audios, and touches.

The great problem is that there isn’t an easy way to reuse artificial intelligence software, as we reuse our brain to process everything. If you need to work with tumor patterns, you will need to acquire a neural network that will have specific synapsis weights, and neuron quantities applied to this scope. If you are a biologist and need to recognize whales species by their noises, you will need to acquire another neural network platform, containing synapsis weights and neuron quantities completely different than the first case.

Octhum was made to solve this problem, training the intelligences with many models, verifying which model is the best and use it. In this way, we can use various scopes in the same platform, with each scope using the model that best suits. This is possible because Octhum requires the same formatting in the database file content.

Below we have two examples: an intelligence to decide what’s the color, based in RGB inputted, and another intelligence to decide what’s the abalone’s sex, based in some characteristics, like rings number, viscera weight, height, width, and others.

In the first intelligence, we should format the CSV file (used as database file in Octhum neural networks training) as in the image below, where the first column contains the final classifications, and other columns contain the inputs (or variables) associated with each classification. The second and third lines contain the minimum and maximum values of each variable (only to validation).

CSV formatted containing some RGBs and your respective colors

In the second intelligence, we should format the CSV file as we did in first intelligence, maintaining the same structure. To train any intelligence, the file format should be the same.

CSV formatted containing some abalone’s characteristics and your respectives sexes

Octhum will process these databases and will store the configured neural network, accessing it when the user wants to use the intelligence. When this happens, Octhum receives the values of the variables (defined by the user), input them in a neural network, and give a response with the final classification. The images below show the first intelligence being used.

Fields to input variable values
R=255, G=0, B=0 is red
R=0, G=255, B=0 is green
R=0, G=0, B=255 is blue
Giving inputs not so obvious

In the second intelligence, we have a greater database, with more cases and variables, and final classifications can be male (M), female (F), and undefined (I). Below, the Octhum receiving variables input to process them and return a response, the abalone’s sex.

Fields gave by Octhum to inputs insert
The input of abalone’s characteristics, and receiving the sex (male)

Trained the two intelligences, we can use both at any time, without change the Octhum Core, changing only the input database format to the format shown above.

Intelligences list

All of this showed previously was made with only one software, changing only the input database file layout. If anyone wants to use neural networks, in any scope, only need to format a CSV file properly, and use it in Octhum.

Octhum is an open-source REST API developed in PHP that works based on SaaS technology, allowing third-party software customization (to forecast sells in an ERP, for example). Octhum is still little, but has the potential to be a great platform,

  • allowing more file database formats (JSON, for example) to make the process easier to third-part software through API;

GitHub: https://github.com/vitorlofonseca/octhum


DDI Featured Data Science Courses:

*DDI may receive an affiliate commission from these links. We appreciate your continued support.

Data Driven Investor

from confusion to clarity, not insanity

Vitor Fonseca

Written by

Data Driven Investor

from confusion to clarity, not insanity

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade