Q1. What Are: Python Standard Library Ans
Q1. What Are: Python Standard Library Ans
Ans:
2. Matplotlib: This library is responsible for plotting numerical data. And that’s why
it is used in data analysis. It is also an open-source library and plots high-defined
figures like pie charts, histograms, scatterplots, graphs, etc.
4. Numpy: The name “Numpy” stands for “Numerical Python”. It is the commonly
used library. It is a popular machine learning library that supports large matrices
and multi-dimensional data. It consists of in-built mathematical functions for easy
computations. Even libraries like TensorFlow use Numpy internally to perform
several operations on tensors. Array Interface is one of the key features of this
library.
6. Scrapy: It is an open-source library that is used for extracting data from websites.
It provides very fast web crawling and high-level screen scraping. It can also be
used for data mining and automated testing of data.
9. PyTorch: PyTorch is the largest machine learning library that optimizes tensor
computations. It has rich APIs to perform tensor computations with strong GPU
acceleration. It also helps to solve application issues related to neural networks.
10. PyBrain: The name “PyBrain” stands for Python Based Reinforcement Learning,
Artificial Intelligence, and Neural Networks library. It is an open-source library
built for beginners in the field of Machine Learning. It provides fast and easy-to-
use algorithms for machine learning tasks. It is so flexible and easily
understandable and that’s why is really helpful for developers that are new in
research fields.
Machine learning (ML) is a type of artificial intelligence (AI) that allows software
applications to become more accurate at predicting outcomes without being
explicitly programmed to do so.
Machine learning algorithms use historical data as input to predict new output
values.
Unsupervised Learning
In unsupervised learning, we don't have labeled data. A model can identify patterns,
anomalies, and relationships in the input data.
Reinforcement Learning
Using reinforcement learning, the model can learn based on the rewards it received for its
previous action.
Consider an environment where an agent is working. The agent is given a target to achieve.
Every time the agent takes some action toward the target, it is given positive feedback. And, if
the action taken is going away from the goal, the agent is given negative feedback.
One of the easiest ways to handle missing or corrupted data is to drop those rows or columns
or replace them entirely with some other value.
IsNull() and dropna() will help to find the columns/rows with missing data and
drop them
Overfitting occurs when your model learns too much from training data and isn’t able to
generalize the underlying information. When this happens, the model is able to describe training
data very accurately but loses precision on every dataset it has not been trained on. This is
completely bad because we want our model to be reasonably good on data that it has never seen
before.
It is a simplified model of the human brain. Much like the brain, it has neurons that activate
when encountering something similar.
The different neurons are connected via connections that help information flow from one
neuron to another.
It is mutable It is immutable
Many built-in methods are available. Does not have many built-in methods.