All Questions
17 questions
1
vote
0
answers
42
views
Best approach to a line plot (or other type) whose lines consist of an average of 2 Y values [closed]
I am wondering the best approach to plot what I want.
I have 4 dataframes of data (2 types of data with 2 replicates for each type). To tis point, I've just been choosing he best replicate of each ...
0
votes
0
answers
154
views
visualizing the scatterness of higher dimensional data using python
I have a set of unlabeled data $x \in \mathbb R^n$, and I want to visualize how scattered those points are using python. In dimension 2, we can just use plt.scatter which is quite straightforward. I ...
0
votes
0
answers
69
views
Visualize multiple rejection reasons
Goal: Visualize why loans are rejected which can be due to multiple reasons. A loan is either rejected or accepted. Any rejection
is caused by one or more rejection reasons. There is a list of
...
2
votes
1
answer
5k
views
How to plot multiple classifiers' ROC curves using scikitplot? [closed]
I have classified a data with multiple classes (not binary) by using several classifiers, and I would like to compare the performance of these classifiers by drawing their ROC curves using scikitplot.
...
0
votes
1
answer
488
views
A better way of visualizing extreme oscillation curve in matplotlib? [closed]
Here are three curves. I'm training a model and trying to plot the training loss curve; the x-axis is iterations and the y-axis is loss value:
All the curves contain many spikes and noises. I'm ...
3
votes
3
answers
10k
views
Python: "Normalizing" kde, so it always lines up with histogram
In Python, I am attempting to find a way to plot/rescale kde's so that they match up with the histograms of the data that they are fitted to:
The above is a nice example of what I am going for, but ...
1
vote
0
answers
300
views
Finding similarity dissimilarity between different groups of vectors
Suppose I need to combine or group together set of vectors in one area and another group in other areas, however I need to place these groups in a plot so they are scattered in the screen per ...
-3
votes
2
answers
78
views
Choosing the right type of plot for my pandas dataframe
I have been confused because I don't know which type of plot I must choose. I have a data frame with two columns suppose the first one is the id of a person and the second one the number of houses ...
1
vote
0
answers
435
views
Matplotlib Plot Difference Between Two Unsorted Value Series
I am trying to figure out how to plot the following in Matplotlib.
Suppose I have a sample of 1000 random operations. There are two ways to perform each operation: a new way and an old way. My data ...
1
vote
1
answer
2k
views
Fitted planes' normal vector not perpendicular
I fitted a plane into a set of points in R3 using minimization of L2 error (taken from this post: https://gist.github.com/amroamroamro/1db8d69b4b65e8bc66a6).
...
0
votes
1
answer
84
views
How to get insights from an amalgamation of histograms
I want to see how the age of road traffic accidents victims change throughout the year. Ive done this by amalgamating lists of the ages of victims from 05-16 and created a histogram for each year. Ive ...
2
votes
1
answer
3k
views
How to Illustrate correlation in binary classification
I ran a correlation in a binary classification problem between one variable and the prediction to determine whether a linear correlation exists. The code:
...
1
vote
1
answer
199
views
What kind of graph should I choose
I have gathered criminal activity and GDP from 2012 to 2015 for over 30 countries and I'm trying to confirm my hypothesis about how higher GDP decreases criminal activity, but I'm baffled over which ...
3
votes
1
answer
5k
views
Plot the probability mass function
I am trying to plot the probability mass function of a sample of a discrete metric.
If it was continuous, I know that using pandas it would be as simple as calling:
...
5
votes
1
answer
13k
views
Label on the y-axis in a normalised histogram
If you have a histogram with frequency on the y-axis and bins for different ranges of values on the x-axis, then it is reasonable that the label on the y-axis should be frequency. But if these ...
7
votes
4
answers
4k
views
How to display magnitude of change over time between two series?
Disclaimer: I know absolutely nothing about statistics. I've had trouble searching for answers to my question, as I don't have much knowledge about the terminology of statistics.
I'm currently ...
15
votes
2
answers
27k
views
Show average instead of median in boxplot [closed]
When plotting a boxplot with python matplotblib, the lines halfway the plot is the median of the distribution.
Is there a possibility to instead have the line at the average. Or to plot it next to it ...