Found 668 Articles for Machine Learning

How to visualize a multi-line graph, such as Lorentz attractor in Bokeh?

AmitDiwan
Updated on 19-Jan-2021 13:04:10

106 Views

Bokeh is a Python package that helps in data visualization. It is an open source project. Bokeh renders its plot using HTML and JavaScript. This indicates that it is useful while working with web−based dashboards.Bokeh converts the data source into a JSON file. This file is used as an input to BokehJS, which is a JavaScript library. This BokehJS is written in TypeScript that helps render visualization on modern browsers.Matplotlib and Seaborn produce static plots, whereas Bokeh produces interactive plots. This means when the user interacts with these plots, they change accordingly.Dependencies of Bokeh −Numpy Pillow Jinja2 Packaging Pyyaml Six ... Read More

How can glyph curves with different legends be shown using Bokeh?

AmitDiwan
Updated on 19-Jan-2021 12:55:33

102 Views

Bokeh is a Python package that helps in data visualization. It is an open source project. Bokeh renders its plot using HTML and JavaScript. This indicates that it is useful while working with web-based dashboards.Bokeh converts the data source into a JSON file. This file is used as an input to BokehJS, which is a JavaScript library. This BokehJS is written in TypeScript that helps render visualization on modern browsers.Matplotlib and Seaborn produce static plots, whereas Bokeh produces interactive plots. This means when the user interacts with these plots, they change accordingly.Plots can be embedded as output of Flask or ... Read More

How can bubble charts be created using Matplotlib?

AmitDiwan
Updated on 19-Jan-2021 12:50:53

269 Views

Matplotlib library is built upon Numpy. It is a Python library that is used to visualize data. It is a tree-like hierarchical structure which consists of objects that makeup each of these plots. A ’Figure’ in Matplotlib can be understood as the outermost storage for a graph. This ‘Figure’ can contains multiple ‘Axes’ objects. ‘Axes’ object is NOT the plural form of ‘Axis’ in this case.‘Axes’ can be understood as a part of ‘Figure’, a subplot. It can be used to manipulate every part of the graph inside it. A ‘Figure’ object in Matplotlib is a box that stores one ... Read More

How can Matplotlib be used to generate time-series data?

AmitDiwan
Updated on 19-Jan-2021 12:50:15

150 Views

Matplotlib library is built upon Numpy. It is a Python library that is used to visualize data. It is a tree−like hierarchical structure which consists of objects that makeup each of these plots.A ’Figure’ in Matplotlib can be understood as the outermost storage for a graph. This ‘Figure’ can contains multiple ‘Axes’ objects. ‘Axes’ object is NOT the plural form of ‘Axis’ in this case.‘Axes’ can be understood as a part of ‘Figure’, a subplot. It can be used to manipulate every part of the graph inside it. A ‘Figure’ object in Matplotlib is a box that stores one or ... Read More

How can a Beizer curve be visualized using Bokeh?

AmitDiwan
Updated on 18-Jan-2021 12:35:14

203 Views

Bokeh is a Python package that helps in data visualization. It is an open source project. Bokeh renders its plot using HTML and JavaScript. This indicates that it is useful while working with web-based dashboards.Bokeh can be easily used in conjunction with NumPy, Pandas, and other Python packages. It can be used to produce interactive plots, dashboards, and so on.Matplotlib and Seaborn produce static plots, whereas Bokeh produces interactive plots. This means when the user interacts with these plots, they change accordingly.Plots can be embedded as output of Flask or Django enabled web applications. Jupyter notebook can also be used ... Read More

How can patch plot with multiple patches be visualized in Bokeh?

AmitDiwan
Updated on 18-Jan-2021 12:29:36

234 Views

Bokeh is a Python package that helps in data visualization. It is an open source project. Bokeh renders its plot using HTML and JavaScript. This indicates that it is useful while working with web-based dashboards.Bokeh can be easily used in conjunction with NumPy, Pandas, and other Python packages. It can be used to produce interactive plots, dashboards, and so on. It helps in communicating the quantitative insights to the audience effectively.Matplotlib and Seaborn produce static plots, whereas Bokeh produces interactive plots. This means when the user interacts with these plots, they change accordingly.Plots can be embedded as output of Flask ... Read More

What is time series with respect to Machine Learning?

AmitDiwan
Updated on 18-Jan-2021 12:21:00

258 Views

Time series, as the name suggests, is data that contains certain time periods or time stamps. It contains observations over certain time period. This kind of data tells us about how variables change over time based on various factors. Time series analysing and forecasting can be used to predict data with respect to some future time.Univariate time series contains values taken with respect to a single variable at certain time instances over a period of time. A multivariate time series contains values taken with respect to multiple variables at same periodic instances of time.Time series consists of 4 components that ... Read More

How can scikit-learn package be used to transform an array of specific size to a different size?

AmitDiwan
Updated on 18-Jan-2021 12:15:46

200 Views

Scikit−learn, commonly known as sklearn is a library in Python that is used for the purpose of implementing machine learning algorithms. It is an open-source library hence it can be used free of cost. It is powerful and robust, since it provides a wide variety of tools to perform statistical modelling. This includes classification, regression, clustering, dimensionality reduction, and much more with the help of a powerful, and stable interface in Python. The library is built on Numpy, SciPy and Matplotlib libraries.It can be installed using the ‘pip’ command as shown below −pip install scikit−learnThis library focuses on data modelling. ... Read More

How can an input data array be transformed to a new data array using the process of streamlining using scikit-learn pipelining tools?

AmitDiwan
Updated on 18-Jan-2021 12:14:27

204 Views

Scikit−learn, commonly known as sklearn is a library in Python that is used for the purpose of implementing machine learning algorithms. It is an open−source library hence it can be used free of cost.It is powerful and robust, since it provides a wide variety of tools to perform statistical modelling. This includes classification, regression, clustering, dimensionality reduction, and much more with the help of a powerful, and stable interface in Python.This library is built on Numpy, SciPy and Matplotlib libraries.It can be installed using the ‘pip’ command as shown below −pip install scikit−learnThis library focuses on data modelling.The streamlining operation ... Read More

What are the different kinds of gradient descent algorithms in Machine Learning?

AmitDiwan
Updated on 11-Dec-2020 11:29:06

748 Views

The idea behind using gradient descent is to minimize the loss when in various machine learning algorithms. Mathematically speaking, the local minimum of a function is obtained.To implement this, a set of parameters are defined, and they need to be minimized. Once the parameters are assigned coefficients, the error or loss is calculated. Next, the weights are updated to ensure that the error is minimized. Instead of parameters, weak learners can be users, such as decision trees.Once the loss is calculated, gradient descent is performed, and tree is added to the algorithm step wise, so that loss is minimal.Some examples ... Read More

Advertisements