Machine Learning Articles

Page 55 of 56

How can MNIST data be used with TensorFlow for recognizing handwritten digits?

AmitDiwan
AmitDiwan
Updated on 19-Jan-2021 337 Views

Tensorflow is a machine learning framework that is provided by Google. It is an open−source framework used in conjunction with Python to implement algorithms, deep learning applications and much more. It is used in research and for production purposes.The ‘tensorflow’ package can be installed on Windows using the below line of code −pip install tensorflowTensor is a data structure used in TensorFlow. It helps connect edges in a flow diagram. This flow diagram is known as the ‘Data flow graph’. Tensors are nothing but multidimensional array or a list.We are using the Google Colaboratory to run the below code. Google ...

Read More

How can 'placeholders' in Tensorflow be used while multiplying matrices?

AmitDiwan
AmitDiwan
Updated on 19-Jan-2021 293 Views

Tensorflow is a machine learning framework that is provided by Google. It is an open−source framework used in conjunction with Python to implement algorithms, deep learning applications and much more. It is used in research and for production purposes.It has optimization techniques that help in performing complicated mathematical operations quickly. This is because it uses NumPy and multi−dimensional arrays. These multi−dimensional arrays are also known as ‘tensors’. The framework supports working with deep neural network. It is highly scalable, and comes with many popular datasets.The ‘tensorflow’ package can be installed on Windows using the below line of code −pip install ...

Read More

Explain how Pygal can be used to create interactive visualizations, and show how a bar graph can be visualized using Pygal.

AmitDiwan
AmitDiwan
Updated on 19-Jan-2021 300 Views

Visualizing data is an important step since it helps understand what is going on in the data without actually looking at the complicated working underneath it and performing complicated computations.Pygal is an open source Python package that helps in the creation of interactive plots, and SVG (Scalar Vector Graphics) images of graphs. SVG refers to dynamically generating animated graphs with the given data.These SVG images of graphs can be used and customized depending on our requirements. The SVG images are highly scalable, hence they can be downloaded in high quality format. These downloaded images can also be embedded to various ...

Read More

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

AmitDiwan
AmitDiwan
Updated on 19-Jan-2021 174 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 Matplotlib be used to generate time-series data?

AmitDiwan
AmitDiwan
Updated on 19-Jan-2021 213 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 patch plot with multiple patches be visualized in Bokeh?

AmitDiwan
AmitDiwan
Updated on 18-Jan-2021 297 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
AmitDiwan
Updated on 18-Jan-2021 325 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
AmitDiwan
Updated on 18-Jan-2021 257 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
AmitDiwan
Updated on 18-Jan-2021 252 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
AmitDiwan
Updated on 11-Dec-2020 905 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
Showing 541–550 of 557 articles
Advertisements