Tuesday, 23 March 2021

Machine Learning

Computer process millions of within a second by following the commands given by humans and return the result. It can only perform the task as described by human but cannot take decision by itself.

So, the process of making computer to learn and prepare itself for action is called Machine Learning, Or to make your computer do this task is also known as Machine Learning. In Machine learning we work on data and  the property of data points is Features.

So, machine learning algorithms are smart algorithms which gives you the power of taking decision on the basis of experience.

Machine learning  start with defining the data and ends with the model with some defined level of accuracy.

Machine Learning Process

  • Define the problem: Think about the solution more formally.
  • Collect the data to build the machine learning classifier.
  • Prepare the data in the format which is used by machine learning algorithm.
    • Cleaning: Removing the errors.
    • Formatting: Make data in predefined format.
    • Sampling: Removing similar instances from data.
    • Decomposition: Divide the date in day, month and year.
    • Scaling: Pre-process and transform the data in a form useful for Machine Learning algorithms.
  • Split data in training and testing: Train our algorithm on training data and calculate final accuracy by running them on testing data.
  • Algorithm selection
  • Training the algorithm
  • Evaluation on Test data
  • Parameter Tuning
  • Start Using your model

 Consider an example:

People apply for loan and on the basis on the income and loan amount bank decides whether to give loan or not. Think, if a person has monthly income of Rs 10,000/- and applied for the loan of Rs 3,00,000/- , bank may reject his application early as bank see that he cannot be able to repay it. And if person with Rs 10,000/- monthly income and applied of loan Rs 20,000/- then bank may approve its application.

 So, based on past defaulter history bank created a data, and this is how we train the system to work.


Friday, 19 March 2021

Internet of Things (IoT)

  •  When things or objects are connected to the Internet rather than people.
  • Things in IoT is the objects which can be the person or machine with a built-in sensor having IP addresses with the ability to collect and transfer the data over the Internet.

IoT is a platform where:

  • devices become smarter
  • processing becomes intelligent
  • communication becomes informative

IoT is a broader concept which includes Machine-to-Machine (M2M) (technologies that enable machines to interact with human beings) and Machine-to- Human (M2H) (technologies that enable machines to communicate with other machines and drive action).

Definition: Internet of Things (IoT) means accessing and controlling daily usable equipment and devices using Internet.

 IoT enable us to use smart technologies to connect things anytime, anyplace for anything.

The term Internet of Things was first coined by  Kevin Ashton in 1999, which refers the connections between physical devices such as vehicles, home appliances, and other items embedded in electronics such as sensors, software which enables these things to connect, collect and exchange data.

Advantages of IoT:

  • You can easily access any information sitting from any part of the globe, in real time.
  • IoT encourages better communication between your connected devices and the Internet.
  • IoT proves to be very helpful to people in their daily tasks by making the appliances communicate to each other.
  • Minimize the human effort.
  • It provides the benefit of knowing things in advance.

Disadvantages of IoT:

  • IoT systems are interconnected and communicate over networks, so chances are there that the system
  • Might get cracked by the hackers and they can steal the information.
  • Designing, developing, and maintaining and enabling the large technology to IoT system is quite complicated.
  • With automated task there may be a lower need for manpower and eventually loss of jobs.
  • Human’s dependability on technology is increasing day by day.

Characteristics of IoT:

  • Proper connection between all the things of IoT to IoT platform, server or cloud.
  • Anything can be interconnected with the global information and communication infrastructure.
  • The devices in the IoT are heterogeneous which supports different hardware platforms and networks.
  • Interoperability is the ability of two or more systems or components to exchange data and use information.
  • IoT devices and systems should change dynamically based on the context and changing conditions.

 Application of IoT:

  • Home Automation
  • Smart Water Systems
  • Smart Transport
  • Smart Cities
  • Social Life and Entertainment
  • Health and Fitness
  • Smart Environment and Agriculture
  • Livestock Monitoring
  • Smart Greenhouses
  • Supply Chain and Logistics
  • Energy Conservation

 

Tuesday, 1 September 2020

Agile: A way of software development

 Agile:

  • Follows Divide and Rule.
  • Divide the feature implementation into different phases, take continuous feedback from the customer.
  • It brings pace to development and delivery.

 When and why Agile is created?

  • It was created in 2001.
  • To find better approaches to build software or application.
  • The Agile Manifesto includes four values

a.  Individuals and interactions over processes and tools
b.  Working software over comprehensive documentation
c.  Customeraboration over contract negotiation
d.  Responding to change 

and twelve principles
a.  Satisfy the customer through early and continuous delivery of software
b.  Implement the changing requirements
c.  Deliver the working software frequently
d.  Business people and developers must work together throughout the project
e.  Build projects around motivated individuals
f.   Direct communication with the Development Team members
g.  Deliver software that functions as expected by the customer or the end-user
h.  Promote sustainable development
i.   Continuous attention to technical excellence and good design enhances agility
j.   Keep It Simple Stupid principle
k.  Best architectures, requirements, and designs emerge from self-organizing teams
l.   At regular intervals, the team reflects on how to become more effective
    •    It helps to integrate new cultures in the application development process.

 Objective: To have a high-quality package with a faster time to market.

 Benefits of Agile:

  • Fixed and clear goals
  • Visibility
  • Incremental product development
  • Continuous feedback from customer
  • Productivity gains for Dev’s team

 Frameworks

  • Scrum: In this work is completed in multiple time box iteration with each iteration or Sprint having a potentially releasable product in the form of product Increment.
  • Kanban: It keeps focus on capacity and demands and balances them out.
  • Scrumban: Objective of Scrumban to make it relatively easier for Scrum Teams to explore Kanban.
  • Extreme programming: Programming in pairs or extensive code review.  

Friday, 10 April 2020

Data Science

Data
Data is the raw facts or figure. Data is divided into the three categories.
1. Structured Data
  • A well-organized data in the form of tables on which the work can be done easily.
  • In this type of data, searching and accessing an information is very easy.
  • Example: Data presented in spreadsheet.
2. Unstructured Data
  • It requires advance tools and software’s to access an information.
  • Example: Pdf files, word document, audio, video, emails.
3. Semi-Structured Data
  • It is a structured data which is un-organised.
  • Example: Web data such JSON (JavaScript Object Notation) files, BibTex files.
What is Data Science and Data Scientist?
  • Data Science is a field which extract the knowledge and insights from the raw data; by using Maths,Statistics, Computer Science and Programming Language knowledge. And the person who has these skills are called as Data Scientist.
  • Data scientist is about being curious, self-driven, and passionate about finding the answers.
What a Data Scientist do?
  • Surfacing the hidden insight which can help companies to make smarter business decisions. 
  • Data scientist works in various domain such as shipping, healthcare, e-commerce, aviation, finance, education.
How Data Scientist works?
Data Scientist start their work by understanding the business problem and then works with the collection of data, reading - transforming the data in the required format, then visualizing, modelling, evaluating the model and deployment.

Real world use cases of Data Science
Data Science is applied to many problems to predict and calculate the outcomes that would have taken several times more human hours to process.
Real-world examples where Data Scientists are playing a major key role:
  • Google’s AI research arm to build the best performing algorithm to detect the object automatically.
  • Amazon to personalize their product.
  • You tube to automated video classification model.
  • Netflix to understand the user’s interest and then produce Netflix original series to produce.

Why Python language is used for Data Science?
  • Python is very beginner-friendly language.
  • Its syntax is simple to read and follow.
  • It supports object-oriented programming, structured programming, and functional programming patterns.
  • It is free, open-source software, and consequently anyone can write a library package to extend its functionality.
















Saturday, 28 March 2020

Artificial Intelligence

 
 

 

 Areas where AI is used

  • Music and Media: Apps like Spotify, Netflix, or YouTube.  
  • Smart Home Devices: To adjust the house temperature and lighting based on the preferences.
  • Smart phones: Features like face detection, virtual reality elements, photo editor.
  • Social Media Feeds: Feeds that you see in your timeline along with the notifications.
  • Video Games: Game such as PUBG or Fortnite.
  • Navigation and Travel: Google Maps.
  • Security and Surveillance: Object recognition and facial recognition.  
 

Gamification


 Gamification is the process of adding the game-like components to a task as to encourage the user participation.  

 

 Natural Language Processing

Technology with which the machine understands the human language and then perform an action based on the command. 
 

Computer Vision

 Computer Vision is concerned with both the theory and technology for building up an Artificial system which obtain information from images.

 

Smart Home

A home which one can managed remotely to control the appliances such as TV, AC, fridge with smartphone.


Google Home

A smart speaker which is a Google device and can be integrated with the automation to control home appliances with voice recognition by using internet.


Smart City

Smart City is an urban city which uses Internet of Things (IoT) to collect the data and information to improve the quality of government services easily and effectively.

 

AI Ethics

AI Ethics is the study of values and generating moral values for good or bad, right or wrong.

Robot ethics/ Roboethics

Robot ethics can be defined as the Morality of how humans’ constructs, design, use and treat the robots and the other artificially intelligent created beings.


Machine Learning bias/ AI bias

A phenomenon which occurs when an algorithm produces a discriminatory result due to incorrect assumptions.

 
 
 

 
 

Friday, 13 March 2020

Python

  • A high-level programming language
  • Created by Guido Van Rossum (Benevolent Dictator for Life)
  • First released in 1991
  • Python interpreters are available for many Operating Systems

Why Python is popular:
  • It is free to use and distribute
  • Its code is readable, reusable and maintainable
  • Its program runs on every major platform which is currently in use
  • It has strong library support from Text pattern matching to networking
  • It can communicate with COM, .NET frameworks

Python is powerful as:
  • It allows dynamic typing and has powerful library  
  • No need to declare variable
  • It allows automatic allocation and garbage collection
  • It supports classes, modules and exceptions
  • It gives interactive programming experience

Python is used for:
  • System programming
  • Building GUI applications
  • Internet scripting
  • Database programming
  • Game, Robotics programming

Some organizations which uses Python:
  • Google: for web search system
  • YouTube: for video sharing service
  • JP Morgan, Chase, UBS: for financial market forecasting
  • NASA, FermiLab: for scientific programming
  • NSA: for cryptographic and intelligence analysis

You can get Python source code, binaries and documentation:

Once the Python is installed, the program development can be done by using the built-in Python Integrated Development and Learning Environment (IDLE).

In case, if you have not install any Python development tool on your machine, you can use the online Python shells. Some of the online Python shells are:
  • https://www.python.org/shell/
  • https://ideone.com/
  • https://repl.it/languages/python3

 

Wednesday, 18 December 2019

Selenium


Selenium is an open source functional testing tool for web applications. It was created by Jason Huggins, earlier it was known as JavaScriptTestRunner and is used to test an internal time and expense application.
Later, it was released to the open source community as Selenium. It was named as Selenium because it overcame the shortcomings of another competitor.
 Selenium is popular because:
  • It supports multiple programming languages.
  • It supports automation of multiple browsers.
  • It supports multiple operating systems.
  • It is available free of cost.
Components of Selenium
  • Selenium IDE: It is a tool used for recording and playing back scripts.
  • Selenium RC: It is a combination of a Selenium server and a client, which allowed automation of any browser on any operating system.
  • Selenium WebDriver: It uses the technology of WebDriver API, where every browser has the capability through its API to automate itself.  It is the main component of Selenium.
  • Selenium Grid: It uses server component from the Selenium RC and executes it in two different modes as hub and node.
Architecture of Selenium
Selenium has four main components:
  1. The client libraries (available in different programming languages)
  2. JSON wire protocol over HTTP for communication to send commands from client to server
  3. WebDriver for every browser
  4. Browsers (Chrome, Firefox, IE, Opera)
How it works
Client libraries are available in different programming languages. Scripts are created by using client libraries and then the commands are send to the WebDriver server by using the JSON wire protocol over HTTP. The WebDriver then, for each individual browser receives these commands and automates the browser and performs action on them, this will lead to achieve the task.
 

Team Skills for Students: How Teamwork Helps Us Make Better Decisions

 Imagine your class is getting ready for a school exhibition. Everyone is excited. Some students are making charts, others are arranging mat...