A Beginner's Step By Step Guide

Photo by Nihal Demirci on Unsplash

To all those developers just starting out with Ballerina and wanting to dive deep into where the real action is, it’s important to have a basic knowledge of how the Ballerina compiler works its magic. If you are such an individual, this article will provide you with a step by step guide into debugging the Ballerina compiler using IntelliJ IDEA. Without further ado let’s get down to business.

Step #1

First You need to clone ballerina from GitHub.

Step #2

Then follow the instruction in the below link and build Ballerina from the source.

Step #3

Extract the built zip file (get the zip with runtime…


Important tips and how-to guide

What is Google Summer of Code?

Google Summer of Code (GSoC) is an international annual program where Google awards stipends, to all selected students who successfully complete an open-source coding project of their choice which is published by a chosen mentoring open-source organization during the summer. This usually runs for 3 to 4 months and includes 3 evaluations where students will be awarded 30% of the stipend each upon passing the first 2 evaluations and 40% upon passing the final evaluation. Students will also receive a certificate of completion from Google along with some other goodies.

Through this article, I wanted to relate my experience as…


A Beginner’s Guide to Using Bayesian Optimization With Scikit-Optimize

Photo by Crew on Unsplash

In the machine learning and deep learning paradigm, model “parameters” and “hyperparameters” are two frequently used terms where “parameters” define configuration variables that are internal to the model and whose values can be estimated from the training data and “hyperparameters” define configuration variables that are external to the model and whose values cannot be estimated from the training data ( What is the Difference Between a Parameter and a Hyperparameter? ). Thus, the hyperparameter values need to be manually assigned by the practitioner.

Every machine learning and deep learning model that we make has a different set of hyperparameter values…


A beginner’s guide into the implementation and data manipulation inside a RNN in TensorFlow

Photo by Laurent Naville on Unsplash

Introduction

Researchers came up with neural networks to model the behaviour of a human brain. But if you actually think about it, normal neural networks don’t really do that much justice to its original intention. The reason for this statement is that feedforward vanilla neural networks cannot remember the things it learns. Each iteration you train the network it starts fresh, it doesn’t remember what it saw in the previous iteration when you are processing the current set of data. This is a big disadvantage when identifying correlations and data patterns. This is where Recurrent Neural Networks (RNN)came into the picture…


In this article we will first evaluate the performance of 3 machine learning algorithms, namely, logistic regression, support vector classification and random forest classifier. In the latter part we will compare the performance of the machine learning algorithms with the results obtained using a recurrent neural network model (LSTM). We will be using the Enron dataset throughout this evaluation process.

1. About the Dataset

Enron dataset consists of emails sent mostly by the senior management of the Enron Corporation. In this experiment we are using a processed version of this dataset specifically made for spam and ham classification. …


Hey fellow geeks, as my previous article was a general explanation on how the blockchain works, this article will be dedicated on discussing how Bitcoin’s block chain works. If you did not go through my previous article or you do not understand what a blockchain is, first I recommend that you give read that and get a basic understanding.

Bitcoin vs Blockchain

Most individuals fail to understand the difference between the words Bitcoin and Blockchain. At it’s core Bitcoin is an implementation of the blockchain. …


The word ‘blockchain’ has become the buzz of the era with the increasing popularity of Bitcoin. Although the concept of the technology has been around since the late 90’s, its potential went rather unrecognized until Bitcoin made use of it. The blockchain we see today was deviced in 2008 by Satoshi Nakamoto. It is also believed that Satoshi Nakamoto can be a group of people. His origins or any information about Satoshi Nakamoto stays unknown to this date.

As interesting as it may sound, most individuals struggle to understand the concept of the blockchain technology. …


Diving head first into the world of machine learning and deep learning for the first time, I was totally new to all the concepts and practices. So as a newbie, I had to read through piles and piles of theory for two weeks to get a taste of what I’m dealing with. After all the reading, I was expecting this to be a very straightforward task but little did I know the struggle that was waiting.

Building LSTM models with TensorFlow as a newbie, was rather challenging specially because of the no-so-detailed documentation of TensorFlow and the setting up process…

Suleka Helmini

Software Engineer at WSO2

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