Thursday, 31 May 2018

Exception handling Recent changes with examples

Exception handling Recent changes with examples:

What is an exception?

Different handling is the process of addressing answering the event, during computation, of exclusions - anomalous or exceptional conditions requiring special control - often changing the normal flow of program execution. It is provided by specialized programming terminology constructs or computer hardware mechanisms.

Generally speakingOn the whole, an different is handled (resolved) by saving the current express of execution in a predefined place and moving over the execution to an unique subroutine known as very handler. If exceptions are continuable, the handler may later resume the performance at the original location using the saved information. For instance, a flying point divide by actually zero exception will typically, by default, allow the program to be resumed, while an out of memory condition might not be resolvable transparently.

Alternative strategies to exception handling in software are error looking atexamining, which maintains normal program flow with later direct checks for contingencies reported using special return principles or some auxiliary global variable such as C's errno or floating point status flags; or suggestions validation to preemptively filtering exceptional cases.




     The main purpose of encapsulation method is desiging modular commucation protocols in computer networking.Which is logically separte functions in the network are abstrcted from their underlying structures by  high level objects information will be hide.

In the encapsulation it will be present in physical layer it is responsible for physical transmmision area networking and Internet Protocol(IP) it will also provides global addressiing of different computers;Transmmision Control Protocol(TCP) it is process selection. i.e,The port specifies the service such as aweb or tftp server.

Each encapsulation layer builds a Protocol Data Unit(PDU) we can add aheader (and sometimes trailer) it will contain the control information of PDU from the layer above.for example,in the internet protocol suite, the contents of a webpage are encapsulation with an HTTP header,then by a TCP header, and IP header, and finally, by aframe header and trailer. The frame is forwarded to destination node as a stream of bits,where it is de-encapsulation (or decapsulation) in to the respective PDUS and interpreted at each layer by the reciving node.

Thursday, 24 November 2016

Easy Steps to become proficient in Machine Learning:

Easy Steps to become proficient in Machine Learning:

In this post I would like to know you about an easy way of few steps to mastering into machine learning. Before that every one has few basic questions in their mind. Where to start? How to proceed?

Where to start learn ML? 

To understand this post, that is enough to have minimum knowledge on machine learning in Python.The main aim of this post is to know you about the freely available tools to in the market.

I am writing this post by assuming you are not an expert in

1. Machine learning
2. Python
3. Any of Python related machine learning like scientific computing(SCIKIT), or data analysis libraries

Tuesday, 22 November 2016

What machine learning algorithms can be suitable for data and images?

What machine learning algorithms can be suitable for data and images?

In this post I would like to give brief idea about when to use which algorithms on what data.

We have gone through the previous post, Introduction to machine learning.

Machine learning is used to filter spam data, recognizing the face, recommendation engines.When you have a large data set on which you’d like to perform analytical analysis or for example to recognize the patterns.

To avoid explicit programming, we can use machine learning, to train computers which can learn, analyse and act on the data as we specified.These qualities make machine learning more powerful on these days and also all the machine learning softwares are free.We can also implement our application on single machine or massive scale.

We can use machine learning libraries in all languages, environment you prefer (java, c++, python...etc languages, windows, linux...Etc OSs)

Here I am giving brief introduction of 11 machine learning tools, provides functionality for individual apps.

Tuesday, 8 November 2016

Difference between supervised, unsupervised Machine learning

Difference between supervised, unsupervised Machine learning:

As we studied about the introduction of Machine learning in the previous post, I am just refreshing again in two lines below.

Machine learning is a field of computer science, probability theory, and optimization theory; this allows the people complex tasks to be solved for which a logical/procedural approach would not be possible or feasible.

The different categories of machine learning are shown below
  • Supervised learning
  • Unsupervised learning

Supervised learning:

In supervised learning, we have some really complex function from inputs to outputs. we have lots of examples of input/output pairs, but we don't know what that complicated function is. Using supervised learning algorithm we can make it possible.

Monday, 7 November 2016

Introduction to machine learning

Introduction to machine learning:

What is Machine Learning?

Now a days Machine learning is the more weighted and costly topic to learn. In this post I would like to share my knowledge on machine learning. Machine learning is a type of artificial intelligence that provides computers with the ability to learn without being explicitly programmed.

The main target of Machine learning is the development of computer programs that can teach themselves to grow and change when exposed to new data.

The machine learning process is very similar to data mining.The data mining process is also searches through the data which looks for the patterns. Similarly machine learning uses the data to detect the patterns and adjust the programs accordingly.

Tuesday, 2 August 2016

Exceptions handling in python with Examples

What is an exception?
In this post I am trying to explain how the exceptions got
Here I am giving definition to the exception. An event which is got occurred during the execution of a program which disturbs the normal flow of our application is known as exception. When an exception occurs, it causes the current process to stop and passes it to the calling process until it is handled. If we cannot handled it properly, our application will crash. To avoid these types of problems we need to catch them and handle them properly, then our application will not crash and cannot got interrupted in middle.