How to program for loop in Scala

Loops are important aspect of any programming language. Scala offers a rich set of functionality with for loop construct. In this article we are going to discuss about the syntax and different usage patterns of the for loops in Scala.

For loop in Scala with Counters

In Java you might have seen for loops with following syntax:

for(int i=1; i<=10; i++){
    System.out.println(i);
}

Read More

R Tutorial: Programming Linear Regression in R

Introduction

Regression is an important Machine Learning technique for creating prediction models. Forecasting/Prediction is an important data analysis technique in today’s marketplace. You are given data from disparate domain and asked to find relationships in the data and thus predict future trends/patterns of data. There are various software available to automatically do the model creation and learning part for you. However in this tutorial we will focus on programming linear regression in R programming language.

Read More

How to upload binary file to Spring REST Service

Introduction

Web services are a great way to create decoupled applications. REST based services are mainly used in current technological trends as they are based on simple HTTP protocol. Passing basic string data to and from a REST based service is quiet straight forward. However there are situations where we need to send/upload a file to a REST based service. In this tutorial we are going to walk-thorough the process of how to upload binary file to Spring REST Service.

Read More

Big Data Frameworks every programmer should know

Introduction

Big Data is a major buzz word in the current technological forefront. Big Data technologies have given rise to the usage of cutting-edge research to practical applications. Machine Learning and Analytics is one such example. Prior to the adoption of Big Data technologies Artificial Intelligence and Machine Learning were limited to academic research. But Big Data has helped to bring these domains out of research labs to industry. Usage of these technologies help industry to maximize their profits and gain advantage over their competition. Big Data is not a single technology, instead it is a collection of frameworks, each having applicability in specific domain. This article discusses major Big Data frameworks and the probable domains/use-cases in which they could be used.

Read More

R Tutorial: How to integrate R with Java using Rserve

Introduction

Building Machine Learning based analytics applications require usage of a range of technologies. Java proves to be a great language for building enterprise solutions, however java lacks on analytics front. To compensate this gap we have languages like R which has a rich set of Machine Learning and Statistical libraries. Integrating both these technologies we could create high end Machine Learning based applications. In the previous post R Tutorial: How to integrate R with Java using rJava I have explained in detail, what benefits we could achieve by integrating R with Java, and what are the application architectures where such kind of integration is required.

Read More

R Tutorial: How to integrate R with Java using rJava

Why use R with Java?

Modern enterprise applications are increasingly using latest research techniques to obtain maximum return on investment. Analytics plays an important role in the success of any organization in the market. Analytics could help improve business in various domains like: improving profits, increasing market value, increasing customer satisfaction etc. Using analytics in any enterprise application boils down to using statistical and mathematical techniques to quantify various business domains.

Read More

Powered by WordPress

Show Buttons
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Pinterest
Share On Youtube
Share On Reddit
Share On Stumbleupon
Contact us
Hide Buttons