Found 664 Articles for Machine Learning

How can Logistic Regression be implemented using TensorFlow?

AmitDiwan
Updated on 19-Jan-2021 13:33:21

186 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.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. It uses GPU computation and automates the management of resources.The ‘tensorflow’ package can be installed on ... Read More

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

AmitDiwan
Updated on 19-Jan-2021 13:29:22

161 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
Updated on 19-Jan-2021 13:24:49

144 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

How can Pygal be used to generate box plots in Python?

AmitDiwan
Updated on 19-Jan-2021 13:07:38

147 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 ... Read More

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

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

155 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
Updated on 19-Jan-2021 13:04:10

39 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

53 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

185 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

66 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

104 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

Advertisements