Data science deals with large amount of data and data scientist analyse that data to extract useful information from that data. This data analysis process involve 5 steps (1). In this post we will discuss those 5 steps involved in data analysis process and further we will explore some of the challenges we face during each step. In previous post we concluded that data science is the mixture of computing methods and statistical methods. In both data science and statistics, the core objective is to analyse the data. But in data science we automate some of the steps involved in...
forward
Month: February 2018
Basic Data Types in Java Programming – Example Code
In previous post we learned how to write a very simple hello world Java program. In this simple program we will explain what are some different data types in Java. We use specific data types to define variable depending upon the nature of data we want to store in variable. [js] public class DataTypesJava { public static void main(String[] args) { //single line comment boolean isBoolean = true; // boolean data type store either true or false int isInt = 120; // int data type is used to store integer values int mult = isInt * 2; // multiplication is...
forward
forward
Hello World Program in Java
In this post we will discuss and explain how to write a simple hello world program in java. To write, compile and execute a java program many IDE's are available but we will use netbeans (www.netbeans.org). Following is the simple hello world program in java programming. Step 1: Open netbeans IDE, go into File and click New Project. A new box will appear. From categories select Java and from projects select Java Application and click Next. Step 2: Define project name and project location and make sure that Create Main Class checkbox is checked then click Finish. Step 3: All...
forward
forward
What is Object Oriented Programming?
The ultimate goal of software development is to build a software quickly, correctly and economically. Object Oriented Programming design and implementation approach helps fulfill this goal more productively as compared with structured programming technique. Object oriented programs are often easier to understand, correct and modify. In object oriented programming we divide or organize our program using classes, objects and methods. We will discuss some object oriented programming concepts below. Objects and Classes: A class is a collection of similar attributes (also known as members or variables) and methods (also known as actions or functions) in object oriented programming. All objects...
forward
forward
Introduction To Java Programming
There's no doubt that java programming language is one of the most powerful programming languages out there in the world. Java is not just a programming language but a technology platform with many interconnected capabilities. According to official website, more than 15 billion devices run java. Which means that an application developed using java can be used on more than 15 billion devices. According to official website of Java: "Java is at the heart of our digital lifestyle. It's the platform for launching careers, exploring human-to-digital interfaces, architecting the world's best applications, and unlocking innovation everywhere—from garages to global organizations"...
forward
forward
Machine Learning is basically, to train machines (computers) by feeding them with huge amount of data. As a result they can predict/extract useful information based on previously available data. For example in order for a computer to recognize hand writing, we need to train that computer by feeding it with large amount of different handwriting samples.
forwardIntroduction to Data Science (Notes)
Data science, also known as data-driven science, is an interdisciplinary field of scientific methods, processes, algorithms and systems to extract knowledge or insights from data in various forms, either structured or unstructured, similar to data mining. Data Science is a super-set of the fields of statistics and machine learning (1). DSI (Data Science Initiative, 2015) website, gives us an idea about what Data Science is : "This coupling of scientific discovery and practice involves the collection, management, processing, analysis, visualization, and interpretation of vast amounts of heterogeneous data associated with a diverse array of scientific, translational, and interdisciplinary applications." Data Science vs Statistics: According to Data Science Association’s...
forward
forward
Bubble Sort using Call by Reference (Pointers) C Program
In one of our previous posts we already discussed about Bubble Sort algorithm and how to implement it in C programming. In this post we will discuss about bubble sort using call by reference method. In other words we will implement the bubble sort algorithm using pointers i.e call by reference. [js] #include <stdio.h> #define SIZE 10 void bubbleSort(int * const array, const int size); void swap(int *element1Ptr, int *element2Ptr); int main(void){ int arr[SIZE] = {2, 3, 9, 4, 1, 5, 7, 12, 18, 15}; printf("Original array valuesnn"); for(int i=0; i<SIZE; i++){ printf("%dn", arr[i]); } bubbleSort(arr, SIZE); printf("nnSorted array valuesnn");...
forward
forward
Constant Pointer vs Pointer to Constant C Program
In previous post we discussed about pointers, how to define and use pointers. In this post we will learn what's the difference between constant pointer and pointer to constant. If we define a pointer as constant then we cannot modify its memory address. For example if we assigned the memory address of a variable 'a' to the pointer 'ptr'. Now if we try to assign the address of the variable 'b' to the pointer 'ptr' then compiler will throw an error message. This means that we cannot change/modify the address assigned to the constant pointer but we can modify/change the...
forward
forward
Pointers in C Programming – Code Example
In previous posts we concluded the arrays topic. In next 2-3 posts we will discuss about pointers with some code examples. Pointers are used to store memory address of variables or arrays. In following simple program we created a pointer named as countPtr and a variable named as count. Then we assigned the address of the variable count to the pointer countPtr. Now by using that pointer we can get the memory address of the variable count as well as the value of the variable count. [js] #include <stdio.h> int main(void){ int count = 5; int *countPtr; countPtr = &count; printf("Address...
forward
forward