In: Statistics and Probability
Q1 is machine learning same as artificial intelligent.?
Q2. What is scikit-learn ?explain it.
Q3. what is Euclidean distance and Manhattan distance and Hamming distance.
plzz explain in details
Q3.plzz explain scipy distance and give a example.
Q4 is machine learning same as artificial intelligent.?
Q1. No. machine learning same not as artificial intelligent.
Artificial Intelligence is a technology which is enables a machine to simulate human behavior. Machine learning is a subset of AI which allows a machine to automatically learn from past data without programming explicitly.The goal of AI is to make a smart computer system like human to solve complex problem.
Q.2 Scikit-learn- Scikit-learn is a free machine learning library for Python.It features varios algorithms like linear regression,Logistic regression,KNN,Random Forest.etc. and it supports python numerical and scientific libraries like Numpy and Scipy.
Scikit-Learn doing work on following tools:
Clustering: for grouping unlabeled data such as KMeans.
Cross Validation: for estimating the performance of supervised models on unseen data.
Datasets: for test datasets and for generating datasets with specific properties for investigating model behavior.
Dimensionality Reduction: for reducing the number of attributes in data for summarization, visualization and feature selection such as Principal component analysis.
Ensemble methods: for combining the predictions of multiple supervised models.
Feature extraction: for defining attributes in image and text data.
Feature selection: for identifying meaningful attributes from which to create supervised models.
Parameter Tuning: for getting the most out of supervised models.
Manifold Learning: For summarizing and depicting complex multi-dimensional data.
Supervised Models: a vast array not limited to generalized linear models, discriminate analysis, naive bayes, lazy methods, neural networks, support vector machines and decision trees.
Q3) Euclidean Distance:-The Euclidean Distance tool is used frequently as a stand-alone tool for applications, such as finding the nearest hospital for an emergency helicopter flight. Alternatively, this tool can be used when creating a suitability map, when data represent the distance from a certain object is needed.
Example:- Point A has coordinate(0,3,4,5) and Point B has coordinate (7,6,3,-1)
The Euclidean Distance betwwen Point A and Point B
dBA=
=
=9.747
Manhattan distance:-The distance between two points measured along axes at right angles. In a plane with p1 at (x1, y1) and p2 at (x2, y2), it is |x1 - x2| + |y1 - y2|.
Example:- Point A has coordinate(0,3,4,5) and Point B has coordinate (7,6,3,-1)
The Manhattan Distance betwwen Point A and Point B
MAB=
=7+3+1+6
=17
Hamming distance:-The number of bits which differ between two binary strings. More formally, the distance between two strings A and B is ∑ | Ai - Bi |.
Example:Point A=1,0,1,0,0
Point B=0,1,0,0,0
A XOR B=1 1 1 0 0
Hamming distance =No.of one =3.
Q4) is similar to Q1.