Data Science Projects With R

A favorite among data scientists, the R programming language offers ease of use and versatility across a wide spectrum of projects

Working on a simple project in R is a great introduction to the language and its programming environment. It’ll not only give you a sense of the libraries at your disposal, but will give you valuable exposure to real data science work.

In this article, we’ll introduce R and data science generally, before suggesting a few projects for R novices.



Continue Reading

What Is Hadoop?

Over the past decade, big data has had a tremendous impact on business — yet we’re still just scratching the surface. To move forward, we need to have the right tools in place to manage big data’s potential. In this article, we’ll present Hadoop as one solution to the problem of storing and analyzing big data.



Continue Reading

Grouping Data with JSON Arrays

JSON (Javascript Object Notation) is a human-readable data format designed for easy handling within Javascript. An important data type within JSON is the JSON array, which is similar to a Javascript array but is not directly defined in the Javascript standard.

JSON arrays are part of the JSON standard, which is distinct from the Javascript standard. The main difference between JSON arrays and Javascript arrays is that JSON arrays are always static, while Javascript arrays are dynamic.

In this article, we define what JSON arrays are and how they differ from Javascript arrays. The two data structures are similar, so it is important to understand the differences in how they are used.



Continue Reading

Creating Javascript Random Numbers with Math.random()

Javascript is a full-featured programming language, able to make complex mathematical calculations quickly and accurately. The Javascript standard makes it easier to do these calculations with the Math object.

One of the most common ways programmers use the Math object is to create random numbers. Randomness is used programmatically in art, science, and gaming. Whether you’re simulating the stroke of a sable paintbrush, running a controlled medical trial, building an online casino, or encrypting anything, you need random numbers.

Creating Javascript random numbers is different from simply assigning a number to a variable within a program — some interesting actions go on behind the scenes.



Continue Reading

What are Javascript Objects? Containers for Reusable Properties and Behaviors

Javascript is a versatile programming language; you can create short scripts of only a few lines or complex modules that contain many. Developers handling many web pages often need to reuse their Javascript code; copying and pasting scripts between pages is a tedious and error-prone process.

The Javascript standard provides the ability to create reusable code in the form of Javascript objects. Javascript objects provide complex functionality with minimal code, making new scripts easy to maintain and fast to load.

Continue Reading

Javascript Timers and Javascript Wait Functions: Handling Execution Times

Dynamic content, or content that changes when a user interacts with a web page, is an integral part of the modern web experience. Javascript provides web users with a more engaging web experience by making it easy to create dynamic content.

A key aspect of creating dynamic content is making sure that the changing parts of a web page happen at the proper time. When dynamic Javascript effects occur at the wrong times, parts of a web page can become inaccessible, too much content can crowd the screen at once, and users can experience other problems.

The Javascript standard provides two different functions to control dynamic timing: setTimeout() and setInterval(). Each function defines specific times that dynamic events should happen; they work differently and are best used in different contexts..



Continue Reading