Questions tagged [plotting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
17 views

How interpret keras training loss without compare with validation loss?

I have several implementation of the same neural network, but each one with different starting parameter. This is one of my plot comparing the training loss of the base experiment with the training ...
0
votes
2answers
30 views

Why does changing the cluster number change the plot in Kmeans?

This might be a dumb questions but I can't find the answer to it. I don't have the perfect mathematical understanding of kmeans, so apologies if it is. I'm just wondering why I see a different plot ...
0
votes
0answers
9 views

Plotting the value change in regression CNN

I have trained my CNN on thousands of images with different hyperparameters, now I want to show the difference on the output for each individual image. I mean ...
3
votes
1answer
75 views

Plotting Weibull distribution on Wind Speed

I have a 720 hourly set of wind speed and wind direction data and I want to fit the Weibull Distribution on it. After searching for some time, I wrote the following code in Python to get my ...
0
votes
1answer
35 views

Plot misclassfied values in matplotlib

I have two lists. One is target and another is predicted values in a binary classification. The target is always zero. And I have to plot the results of the prediction against target in such a way, ...
0
votes
1answer
19 views

Is my iPython Installation Valid?

I just want to know if my ipython is properly installed. I have both Python and Anaconda installed on my Windows. I entered the "pip3 install ipython" command on the Command Prompt and it downloaded ...
0
votes
0answers
18 views

Using Matplotlib [duplicate]

I am new to data science. I use Anaconda on windows 7. I plotted a sine curve by doing the following on iPython: ...
1
vote
1answer
28 views

Naming the Axes of my Graph on iPython Using Matplotlib.pyplot

I am new to data science. I use Anaconda on windows 7. I plotted a sine curve by doing the following on iPython: ...
1
vote
0answers
27 views

How to visualize multivariate regression results by plotting plane of best fit?

I am implementing multivariate linear regression using numpy, pandas and matplotlib. I am ...
2
votes
1answer
35 views

How can I get variable values from a plot?

I would like to know if there is any way in python to automatically determine the values of point a and b marked in the graph below. Said a different way, finding the values when my plot shows a ...
0
votes
0answers
53 views

Running into strange errors when using glmnet and generating graphs

I developed a very simple Ridge Regression with glmnet, the R package. When I use the plot.glmnet() function I encounter strange errors: ...
0
votes
1answer
27 views

Multiple regression (using machine learning - how plot data)

I wonder how I can use machine learning to plot multiple linear regression in a figure. I have one independent variable (prices of apartments) and five independent (floor, builtyear, roomnumber, ...
2
votes
0answers
26 views

How to force histogram plots to have same axes?

I am comparing my trained model with other benchmark models with the error histogram but the axis of histogram is different for each method as shown in figure.For instance to plot the error histogram ...
1
vote
0answers
97 views

Plotting ROC curve in cross validation using Matlab perfcurve

I have the following code for a binary classifying using SVM, and 10 cross-validation, ...
5
votes
2answers
152 views

Data Visualization with multiple dimension, and linear separability

I have a dataset of two classes with several features, how can I visualise such data using Matlab to decide if it is linear separable or not?
2
votes
1answer
40 views

Name of this type of cross variable interaction Plot

In recent papers of Social Network Analysis , I have been observing this particular type of graph used increasingly. I looked for what they are called to replicate the graph, but couldn't find the ...
1
vote
0answers
48 views

How to create a timeline graph ( Date / time series) in MATLAB?

The data file is attached https://ufile.io/ttwi8.How may I create a timeline graph where my y-axis is the number of cases(Demand and prediction as sjown in attached graph) and my x axis is increasing ...
1
vote
0answers
20 views

I need help interpreting this PCA plot

I have a dataset of 116 observations and 10 numeric variables. The dataset contains information about healthy patients and patients attained with breast cancer. I did a PCA plot showing the cluster of ...
1
vote
1answer
25 views

Curvature - Linear Assumption

They asked if the linear assumption is correct, but I just see a graph and based on the data I was taught that a curvature is nonlinear so nonlinear means that a graph is incorrect? What is the ...
2
votes
1answer
88 views

Residual plotting - why do we want to know the error?

The residual plot represents the error between the actual value. Y-axis: residuals X-axis: the predictor variable or fitted values. Why do we want to know the error, what benefits us in getting the ...
1
vote
1answer
55 views

plot the histogram of purchases

i have a dataframe with 34154695 obs. in a dataset a Class variable with value 0 indicate "not purchased" and 1 indicate "purchase". ...
1
vote
1answer
426 views

Confusion matrix plot with python

I'm for a function that can plot the following plot using python:
1
vote
1answer
75 views

How to make a Power Spectral Density Plot in R

I have a time series point process representing neuron spikes. I have computed and plotted autocovariance using acf but now I need to plot the Power Spectral ...
0
votes
1answer
672 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
2k 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. ...
1
vote
1answer
35 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=...
1
vote
1answer
3k 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
55 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
3answers
10k 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
46 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
100 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
912 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 = ...
-1
votes
1answer
61 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
3k 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
40 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
3k 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: ...
4
votes
2answers
1k 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
35 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. ...
7
votes
3answers
136 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 ...
2
votes
2answers
249 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
102 views

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

Let's say I have a df with the below columns ...
1
vote
0answers
731 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
15 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
123 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
88 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
539 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
214 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
186 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
257 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. ...
1
vote
1answer
23 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: ...