Heroku 16 Imagemagick Buildpack

Heroku 16 Imagemagick Buildpack

Problem I'm working on a project that requires imagemagick to work on the Heroku 16 stack. When using the buildpack, I get the following error: libgvc.so.6: cannot open shared object file: No such file or directory Solution I was able to fix the problem by including the GraphViz buildpack. In order to get Imagemagick working on Heroku-16 you need to add the imagemagick and GraphViz buildpacks to your…

Understading K-Means

Understading K-Means

K-means is a clustering algorithm used to categorize data that is unlabeled. It is a type of unsupervised learning (data without categories or groups). The goal is simply to find the groups in the data defined by K. The algorithm works by iteratively assigning each data point to one of the K groups based on the features provided. Some of the use cases for K-Means are: Pattern recognition Classification analysis…

Machine and Deep Learning Tools You Should Be Using

Machine and Deep Learning Tools You Should Be Using

I've come across various tools used for machine and deep learning, both good and bad. I decided to write a quick little blog post on some of the tools machine and deep learning you should be using. Tensorflow Tensorflow is an abstraction library that allows you to build machine learning programs with an easy to use API. It was developed by researchers and engineers working on the Google Brain Team.…

Uploading Your Own Datasets to Floydhub

Uploading Your Own Datasets to Floydhub

Problem If you are using Floydhub to train your network you might run into the following issue: Directory contains too many files to upload. If you have data files in the current directory, please upload them separately using "floyd data" command and remove them from here. This occurs right before you are trying to upload files to Floydhub. It makes sense since you might have a large dataset…

Elixir Error Solution: assign @conn not available in eex template. Available
  assigns: []

Elixir Error Solution: assign @conn not available in eex template. Available assigns: []

Problem I was breaking my Elixir templates into a subtemplate but I was getting the following error: assign @conn not available in eex template. Please make sure all proper assigns have been set. If this is a child template, ensure assigns are given explicitly by the parent template as they are not automatically forwarded. Available assigns: [:event] My parent template looked something like this: <h1>All Events<…

Getting Started with Gitlab CI: Installing and Configuring Gitlab CI

Getting Started with Gitlab CI: Installing and Configuring Gitlab CI

What is this about? Over the next weeks I will go over how to use Gitlab CI from scratch. I will go over how to install and configure it on your server, run unit and integration tests, build and push Docker images, deploy code, and go over other use cases. I will assume you already use Gitlab as your repo manager since it's required by Gitlab CI. What is Gitlab…

Why I’m Excited about Artificial Neural Networks

Why I’m Excited about Artificial Neural Networks

I read a series of articles 8 months ago on a popular website called Wait But Why. The articles explain the types of AI, the force behind them, and how close we are to achieving true AI. Feel free to read the articles, they are easy to read and understand. The AI Revolution: The Road to Superintelligence The AI Revolution: Our Immortality or Extinction These articles made me think for…