Techno Blender
Digitally Yours.

Algorithmic Bias in Healthcare and Some Strategies for Mitigating It | by Zoumana Keita | Dec, 2022

Watch out for the biases in your AI systems: it’s sometimes a matter of life or deathImage by National Cancer Institute on UnsplashI don’t know about you, but my first contact with AI was in movies full of intelligent robots. Their actions made me believe that the whole world would be conquered by those angry machines.But my belief has changed ever since because now, I believe that AI can do better than that trying to destroy the world.AI can improve healthcare and save millions of lives around the world.There are…

Program Christmas Lights with Python | by Katy Hagerty | Dec, 2022

How to code a custom LED light show using Raspberry PiPhoto by Thalia Ruiz on UnsplashThe holiday season has officially kicked off, which means plenty of shopping, baking, and of course decorating. Home improvement stores stock dozens and dozens of lights all with different shapes, colors, and special effects. But have you ever wanted to create your own holiday lights with custom colors and motions? A few simple lines of Python make that possible.Image by author. See Results section for full demo.This is my first…

Don’t Start Your SQL Queries with the ‘Select’ Statement | by Anmol Tomar | Dec, 2022

Follow this right approach to write your SQL queriesImage Credits: UnsplashThe ProblemThe majority of developers start writing their SQL queries with the ‘SELECT’ clause, then write ‘FROM’, ‘WHERE’, ‘HAVING’….and so on. But this is not the ‘right’ way of writing your SQL queries as this is very prone to syntactic errors, especially if you are a beginner in SQL.The SolutionThe ‘ideal’ query writing sequence should be in line with how the SQL executor executes the queries. This will ensure that you don’t commit any…

End Python Dependency Hell with pip-compile-multi | by Jake Schmidt | Dec, 2022

Keep your project reproducible and your complex Python dependencies organizedPhoto by John Barkiple on UnsplashMost Python projects of consequence have complex dependency management requirements that are inadequately addressed by common open-source solutions. Some tools try to tackle the entire packaging experience, while others aim to solve one or two narrow subproblems. Despite the myriad solutions, developers still face the same dependency management challenges:How can new users and contributors easily and correctly…

Word Embeddings Align with Kandinsky’s Theory of Color | by Danielle Boccelli | Dec, 2022

Photo by Ross Sokolovski on UnsplashA quick experiment at the intersection of Art and ScienceIn this article, I describe a quick experiment that aims to quantify the associations among two seemingly orthogonal sets — basic shapes and primary colors—by using word embedding representations and cosine similarity to test Wassily Kandinsky’s theory of form and color. However, while the use of cosine similarity to measure associations among words is broadly accepted in the natural language processing literature, and while the…

All You Need to Know about Publishing Software on Bioconda | by Vijini Mallawaarachchi | Dec, 2022

Publishing Python packages related to bioinformatics on BiocondaHave you had trouble installing packages and running a gazillion commands to install dependencies? If you are lucky (which most of the time you won’t be), you will end up installing the package without having any dependency issues or version conflicts. Working in interdisciplinary sciences has made me aware of how hard it is to get these tools to run unless you know what is actually happening from a programming view. You wish that these tools come bundled…

Towards Human-like AI. An attempt to make AI more general with… | by Anthony Rotio | Dec, 2022

An attempt to make AI more general with human-like capabilities and GPTsAn image generated by OpenAI’s DALL-E 2 depicting a human-like AI and some humans. Image by Author and DALL-E 2Humans are, so far, the only example of General Intelligence found in the universe. Using humans as the existence proof of General Intelligence, it seems like a reasonable goal to target a system that is somewhat human-like for a first generation Artificial General Intelligence. It may not be necessary for an Artificial General Intelligence…

Rainbow DQN — The Best Reinforcement Learning Has to Offer? | by Wouter van Heeswijk, PhD | Dec, 2022

What happens if the most successful techniques in Deep Q-Learning are combined into a single algorithm?Rainbow DQN performance compared to other DQN techniques. Are these results too good to be true? Reinforcement Learning has come a long way since the era of classical tabular Q-learning. Deep Q-Learning Networks (DQN) drove a revolution in the field, enabling powerful generalizations of states.By replacing a Q-table (storing the values of all state-action pair) with a powerful neural network (theoretically able to…

Understanding the Backpropagation Algorithm | by Niklas Lang | Dec, 2022

Get to know the Backbone of Artificial IntelligencePhoto by Florian Rieder on UnsplashThe backpropagation algorithm is a tool for improving the neural network during the training process. With the help of this algorithm, the parameters of the individual neurons are modified in such a way that the prediction of the model and the actual value match as quickly as possible. This allows a neural network to deliver good results even after a relatively short training period.This article joins the other posts on Machine Learning…

What If .apply() Is Too Slow?. Sometimes we need to apply some… | by Yufeng | Dec, 2022

Sometimes we need to apply some function to the Pandas Dataframe in Python by using its column(s) as the function's input. However, one of the most used methods .apply() to the entire data frame can take you longer than expected. What should we do?Photo by Chris Liverani on UnsplashIf you are working with data in Python, Pandas must be one of your most used libraries because of its convenient and powerful data processing features.If we want to apply the same function to the values from an entire column in the Pandas data…