Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plotting]

The tag has no usage guidance.

0
votes
1answer
19 views

How to interpret partial dependence interaction plot for binary classification?

The plot below is an example from pdpbox library https://github.com/SauceCat/PDPbox/blob/master/tutorials/pdpbox_binary_classification.ipynb. The what does 0.900 color saturation to the right mean ...
0
votes
1answer
75 views

Gaussian distribution in python without using libraries

I am implementing Gaussian distribution of a variable, but it gives multiple bell shapes. It should be a single bell shape. Below is my code and plot. ...
0
votes
0answers
16 views

Perceptron with three input

A perceptron with two input is seen in two dimensions x1 is the x axis x2 is the y axis but if we had another entry x3 the graph would be in 3d and x3 would be the z axis? and if we had thousands of ...
1
vote
1answer
16 views

How do I assign a title to each of the histograms I have posted at the same time? [closed]

fig, axes = plt.subplots(1,7, sharey=True) df2.loc[df2.country == 'BR','date_created'].hist(xrot=90,bins=30,ax=axes[0],figsize=(20,4)); df2.loc[df2.country == 'CH','date_created'].hist(xrot=90,bins=...
0
votes
1answer
159 views

Plotting in PySpark?

I have been searching for methods to plot in PySpark. I couldn't find any resource on plotting data residing in DataFrame in PySpark. The only methods which are listed are: through method ...
-1
votes
2answers
38 views

How to plot High Dimensional supervised K-means on a 2D plot chart

I'm Having a ML problem where my data set contains 80 features labelled into 3 groups (0, 1, -1). I want to plot the data on a 2D surface to see how "close" (similar) data with ...
0
votes
0answers
17 views

Most computationally efficient way to plot ~10000 points with non-overlapping labels

I've been trying to plot 10000 points with labels in pyplot. The issue is using pyplot alone results in a lots of overlapping labels. The most common solution is a python package called adjustText , ...
0
votes
3answers
2k views

Scatter plot for binary class dataset with two features in python

I have my dataset that has multiple features and based on that the dependent variable is defined to be 0 or 1. I want to get a scatter plot such that all my positive examples are marked with 'o' and ...
1
vote
1answer
28 views

How to interpret PR and ROC Curve for an unbalanced test set

I have trained a neural network on a dataset, the test set is very unbalanced, ratio between positive examples and negatives is 1:25000. All positive examples are correctly predicted, instead ...
1
vote
0answers
38 views

How to best visualize data when outliers lead to lack of contrasting colors for the rest of the plot?

I have plotted the following map of Philippines according to the population in its regions, using matplotlib.pyplot in Python 3: As can be seen, there's one ...
0
votes
2answers
230 views

How to plot using facet_wrap, over multiple pages as a .pdf files in r cran

I am using ggplot, to compare 114 unique studies for a particular variable I'm interested in. This is what I have used. ggplot(steps, aes(x=factor(edu))) + geom_bar(aes(y = (..count..), group = ...
0
votes
0answers
393 views

How to use ggplot, geom_bar to plot counts for categorical variables

I have a huge data set. My response variable is called edu, and I have several group ids under the column named id_study. There are 113 unique studies for the id_study. There are many categories of ...
0
votes
0answers
19 views

Scatter Plot on Map within a Small Range (a university campus)

I am trying to get a scatter plot of points based on geolocation data superposed on a map. I have already went through several libraries like basemap or plotly which do similar stuffs. However, the ...
-1
votes
1answer
33 views

Orange3 Windows 10 Edit Plots?

In Orange3 64-bit for Windows 10, is it possible to edit plots, graphs, charts, and diagrams interactively? If not, will this feature be added? For example, at minimum, I would like to increase the ...
1
vote
1answer
831 views

Bubbleplot with seaborn

Is there someway to create a bubble plot with seaborn? I already know how to do it with Matplot lib, as in this tutorial: https://python-graph-gallery.com/270-basic-bubble-plot/ ...
1
vote
0answers
14 views

How to read factor vs. factor plots?

How to read factor vs. factor plots? Particularly, what do negative values mean? Also, why is it possible for features to have negative effect on the factors?
1
vote
1answer
657 views

How can I make seaborn do PairPlot such that it wraps around?

I'm trying to do some PairPlots using seaborn, so I can compare a bunch of features against the label I'm trying to model. There are a bunch of features though (~50). So I'm basically doing: ...
3
votes
2answers
267 views

Plots with shaded standard deviation

What tools can I use to make a visualization similar to this one? I want to have the mean be bolded and the standard deviation be shaded.
1
vote
1answer
21 views

Data Visualisation for Dataframe having 3 columns

I have the below data, I am looking for a effective visualization or graphical method (in Python) to understand how the err is distributed with respect to min and max. ...
0
votes
0answers
197 views

how to plot a matplotlib non blocking figure using mpl_connect?

I am ploting a figure using matplotlib. In this figure I have a simple interactive feature: when you hover the mouse over some data, some annotation appears. How can I plot this and continue with my ...
7
votes
3answers
121 views

How to plot clusters in nice a way?

I have a large text dataset clusterized. Each cluster is represented by a centroid of the vectorized texts that belong to it, the number of texts, the created date, and other parameters. I can't plot ...
3
votes
2answers
94 views

What's the easiest way to quickly plot several features simultaneously for new data?

I'm starting a very beginner tutorial for DS/ML. One of the first things to do is to poke at the data they gave me. After doing the typical head() and describe() in pandas, I want to look more ...
1
vote
0answers
37 views

Pandas df - FacetGrid - Need help with plotting [closed]

Let's say I have a df with the below columns ...
1
vote
0answers
508 views

How to plot prediction intervals in seaborn tsplot?

I am plotting a group of time series plots with CI's in seaborn using tsplot: These were produced from 10 traces each: The confidence bars shown (99% confidence) appear to be the CI's for the mean. ...
1
vote
1answer
9 views

Weights and bias' relative to preprocessed X

I am currently using sklearn scale to preprocess my X data before being put into a perceptron - mean/stddev so as to prevent the ...
0
votes
1answer
46 views

Plots getting rid of whitespace

So I'm doing the Udemy course for Data Science in Python, and there's something weird happening with the plots. The first one in the above picture is mine, the second is the instructors. How do I ...
1
vote
1answer
69 views

What kind of Visualization is this?

Can anyone help identify what kind of Visualization this is? (google image search was not informative, unfortunately...)
2
votes
2answers
343 views

How to plot similarity of two datasets?

I'm performing some simulations, and at the end I get a CSV file with three columns. One column holds the values for the x-axis, which was also input to the simulation and theoretical calculations, ...
0
votes
1answer
121 views

rectangular markers in bubble plot (Python)

I would like to make a 'bubble' plot, but with rectangular markers. Is it possible to do this in Python? On x-axis should be the day of the week (Mon, Tue, Wed,...), on y-axis - counts, how many ...
2
votes
1answer
113 views

How to plot categorical data and encode it through colour and shape size?

Given the following data set: I am wondering what kind of plotting technique can be used to produce such a visualization: The Skill attribute is mapped to the ...
1
vote
1answer
104 views

Looping problem in python

I was trying to plot the cluster result of DBSCAN clustering. I cluster data into two cluster and when i write code to plot those it shows 'name error'. But I couldn't understand whats the problem. ...
0
votes
0answers
193 views

How to plot a line in Bokeh from a dataframe

I have an aggregated Dataframe M as in the picture: 3 columns, One column for Year one Column for month and one column for monthly ratio. I want to plot a line in Bokeh with month progression on ...
1
vote
1answer
17 views

Plot 2D function: do I need to pass all the values to the function?

I'm new with Octave and I need to plot this function: ...
3
votes
0answers
37 views

Echo-Effect-Metric Network

I have been working on data science project where I am trying to build a metric for how inbred a source is in a network. We hope to apply this to intelligence reporting, in which documents tend to ...
0
votes
2answers
62 views

How can I plot data after cluster it into two cluster?

I have some unlabeled data with 15 attributes and 30161 instances. I took 70% data for clustering and cluster those data into 2 cluster. I also added one column after clustering named 'cluster' and ...
0
votes
0answers
66 views

Using ggplot in python GUI

I am trying to make a GUI where ggplot's are drawn and the GUI interacts with the plot using python. I am still in the learning phase for the GUI part (but I understand ggplot very well, so I want to ...
1
vote
1answer
604 views

Validation curve unlike SKLearn sample

I'm trying to implement the validation curve based on this SKLearn tutorial. On the site, it shows how based on the parameters the model goes from under- to overfitted, finding the optimal parameter ...
1
vote
5answers
112 views

How would you visualize data that comes in the millions of records?

Developing a application where sometimes when I make a query I get millions or 100 of thousands of records in the results. My problem is , when I get these huge result sets, how do I visualize (in ...
1
vote
1answer
181 views

Create continous plot using matplotlib/seaborn with specific hue [closed]

df.head()= day SBP exercise 0 146.0 False 1 149.0 False 2 146.0 True 3 148.0 False 4 149.0 False 5 149.0 False i am looking to plot <...
1
vote
1answer
3k views

How to use plot model in keras?

I'm trying to draw the keras model with the plotmodel. Setup: I installed graphviz binaries with: choco install graphviz added path to the bin folder, and then ...
1
vote
1answer
39 views

Representing different sets of data

I am out of ideas in regards to plotting different sets of data .... I have 10 sets of data ... Each set contains Actual Speed of vehicle and predicted Speed of Vehicle.. How can i combine all ...
1
vote
1answer
1k views

How to merge columns, value count them and then plot the results?

How do I get from a dataframe with multiple columns that have similar values and need to be merged: ...
0
votes
1answer
158 views

Plot of two different matrices in R

I'm trying to plot two different size matrices using one graph (in R), but can't manage to do so. I tried using matplot and the regular ...
0
votes
2answers
1k views

Finding similarity between two histogram plots

I have data census(name, sex, age, capital_gain) and I want to plot all possible views (in a histogram) and find the most interesting view based on the distinction to other views. So, I have to ...
0
votes
1answer
453 views

Wrong Graph Plot using K-Means in Python

This is my first time implementing a Machine Learning Algorithm in Python. I tried implementing K-Means using Python and Sklearn for this dataset. ...
2
votes
0answers
674 views

t-SNE plotting DBSCAN clustering results very scattered issue

We are trying a DBSCAN clustering model on our 30,000 samples with 15 features each. We tuned the epsilon parameter small enough to make sure the radius of the clustering circle is small while it does ...
1
vote
1answer
146 views

How to better represent three sets of categorical data?

Given three set of data with categorical integer x-axis with the same range (0-10): ...
1
vote
2answers
333 views

Orange 3 “Find Informative Projections” and target variables?

Having issues with the "find informative projections" feature in Orange 3. In order to be able to use this feature in the scatterplots, you have to select a target variable in the "select columns". So ...
1
vote
0answers
30 views

Infoviz for multinomials: miniature plots within plots in R's ggplot

I'm plotting fluctuations in a trinomial distribution across two dimensions. ...
0
votes
0answers
132 views

Events on a timeline chart

I have a dataset with 20k points (X,Y) representing events that occurred on a given day. X axis is the exact time of the event, and Y axis is the duration of that event. I would like to know: 1) ...