Algebra

Today, I am going to tell you a story of a Philosopher, Mr.Mathematics. He is a philosopher of calculation. He is as old as the sun or the moon. With his philosophy, we measure distance, predict the basics of time. His wife is Lady Calculation. She is intellectual, smart and honest. Now I know you …

List Comprehension

Python supports a concept called “list comprehensions”. It can be used to construct lists in a very natural, easy way, like a mathematician is used to do. List comprehension is a complete substitute for the lambda function as well as the functions map(), filter() and reduce().Usually we write mathematical collection of prime numbers, even and odd …

Deep Learning-Basics

Perceptron an artificial Neuron A brain is composed of cells called neurons that process information and connections between neurons called synapses through which information is transmitted. It is estimated that the human brain is approximately composed of 100 billion neurons and 100 trillion synapses. The following image, represents the main components of a neuron are dendrites, …

Interview Question

Difference between Soft and Hard Computing ? Hard computing based on binary logic, crisp systems, numerical analysis and crisp software. It can deal only with exact data. Soft computing based on fuzzy logic, neural nets and probabilistic reasoning i.e it is tolerant of imprecision, uncertainty, partial truth, and approximation. It may deal with noisy data. …

How to calculate score in Machine Learning

In order to calculate score of different types of Algorithm we use following types of methods, few methods from SkLearn library are mentioned below.   Scoring Function Comment Classification ‘accuracy’ metrics.accuracy_score ‘average_precision’ metrics.average_precision_score ‘f1’ metrics.f1_score for binary targets ‘f1_micro’ metrics.f1_score micro-averaged ‘f1_macro’ metrics.f1_score macro-averaged ‘f1_weighted’ metrics.f1_score weighted average ‘f1_samples’ metrics.f1_score by multilabel sample ‘neg_log_loss’ metrics.log_loss …

Distributions

A distribution in statistics is a function that shows the possible values for a variable and how often they occur. There are various distribution but the major distribution used in data science are : Bernoulli Distribution Uniform Distribution Binomial Distribution Normal Distribution Poisson Distribution Exponential Distribution Family of Distribution Parameterized families of distributions are the normal distributions, …