Testing Redux Connected React Components Using Jest
27 Apr 2020
Testing React components connected to a Redux store using Jest and React Testing Library.
Running a Nuget Feed on S3 with Automated Deployments
03 Nov 2019
There are many ways of creating a Nuget feed. but did you know that you can run a Nuget feed on S3 without any computing infrastructure? In this post, I will show you how you can create a Nuget feed on S3 using Sleet and automate the deployment process for packages.
Deploying a Website on S3 With SSL, Continuous Integration
14 Aug 2019
In this post, I am creating a website and host it on S3 and setup a continuous integration pipeline setup using Gitlab
Creating a Re-Usable Presto Worker Image in EC2
25 Jul 2019
Creating a machine image that can be used to spin up presto worker instances without configuring each one. this could be helpful when you don't want to use any orchestration tool
React Form Validation Using Custom Hooks
24 Jun 2019
Form validation in react is bit tricky. This is an attempt to make it bit easy by using react hooks. here we write few custom hooks to create a re-usable validation logic that can be used in any form.
Multiple Linear Regression With Python
12 Jun 2019
Regression is a machine learning model which we can use to predict values by using previously observed data. In simple linear regression, we had to use only one independent variable for the prediction. but in the real world often a dependent variable is dependent upon several variables.
The Essence of Machine Learning
07 May 2019
Machine learning can significantly improve the performance of a system. This could be very beneficial for businesses or any other application. So if someone comes to you and suggest you a business idea that involves machine learning, how do you decide that a machine learning implementation is feasible with the particular idea?
Simple Linear Regression With R
05 May 2019
Regression models are used to predict real values such as salary, spending, income. Simple linear regression is a model of regression which is used to identify the correlation between two variables and possibly predict the dependent variable by using the independent variable.This will enable us to establish a relationship between two attributes such as Income and Spending and we can use what we know about the relationship to forecast unobserved values.
Data Pre-Processing With R
04 May 2019
Before feeding our dataSet into a machine learning algorithm it's absolutely necessary to pre-process the data where we should clean and re-shape our data to get the maximum performance from our machine learning models. In this post, I will go through a set of procedures which you can use to pre-process a data set.
Religious Intervention on Literature
02 Apr 2019
Sri Lanka is one of the most religious countries in the world. 70% of Sri Lankans say that they are Buddhists. and Buddhism has an influence on most aspects of society in one way or another. It's undeniable that the Literature of the country, on the other hand, has shaped by the Buddhist ideologies. Even the latest Literary works depict that influence. This has been good for society so far as it helped to define the moral values of it.