Questions tagged [plotting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
23 views

Showing standard deviation for training curve

I am training a neural network and I wanted to plot the evolution of different metrics (MSE…) during training. To get an idea of the variations between between different trainings, I am using several ...
4
votes
2answers
89 views

Maximum Likelihood estimation

Given a sample $ X_1,X_2 \dots X_{100}$ and the density function $ f(x;\theta) = \frac{1}{\pi \cdot \left(1+\left(x-\theta \right)^2\right)}$ , find an approximate solution for $\hat{\theta}_{MLE.}$...
0
votes
0answers
23 views

How to add time as a feature into word embeddings?

I have a text corpus and I'm using TfidfVectorizer. Would it be possible to cluster the resultant matrix once I concatenate tf-idf vector and time feature matrix I built([year, month, day])? I'm also ...
0
votes
1answer
12 views

How to create a general plot for this problem

I would like to have some ideas about each customer depending on how many products he sells each month. We have created a new feature X based on some other features....
2
votes
1answer
63 views

Understanding and find the best eps value for DBSCAN

I'm trying to run the DBSCAN algorithm on this .csv. In the first part of my program I load it and plot the data inside it to check its distribution. This is the first part of the code: ...
1
vote
1answer
319 views

how to create multiple subplots( scatterplot) in for loop

I want to create scatterplot of target variable with all the other variables in dataframe. Just like we create pairplot but as pairplot with large number of variables will take lot of time and ...
1
vote
1answer
96 views

Plotting multiple precision-recall curves in one plot

I have an imbalanced dataset and I was reading this article which looks into SMOTE and RUS to address the imbalance. So I have defined the following 3 models: ...
0
votes
1answer
62 views

How to add a filter/query/condition in Plotly [closed]

I want to add a condition to the column where attractionName.value_counts() >=165. How can I add a query/filter/condition to a DataFrame before I plot the data. <...
0
votes
1answer
41 views

Data visualization on three factors

I have three factors, Income(from source A),continuous variable Income(from source B), continuous variable Happiness index,continuous variable Suppose I have 500 samples. My goal is to show the ...
0
votes
1answer
20 views

Time Series Plot for floating values

I have a Dataframe which looks as shown below I am trying to make a line plot for looking at the peaks for both columns (a,b), I have gotten as far as ...
1
vote
0answers
36 views

How to plot centroids and clusters resulting from a KMean model based on a text variable

I hope you can help as after several attempts, I'm no longer sure I can get a decent result. I have a text corpus made of several documents, like the one below (which has been simplified for the sake ...
1
vote
1answer
37 views

Differences between pseudocolor plot and heatmap?

I found some materials using the word `pseudocolor plot' and I think that it's just a heatmap. Is there any difference between them?
3
votes
3answers
559 views

What is this type of plot and how to interpret it?

I was presented to this plot and i've seen it before, however i would like to know what does the countour around the main line mean. Ps: i couldn't find enough information about it to investigate by ...
0
votes
2answers
19 views

3D visualisation and post analysis tool

I am looking for a 3D plotting and post analysis tool, specifically which can generate figures like the following. It is preferred the tool has a Linux distribution. The figure is copied from here.
0
votes
0answers
40 views

how can i plot a stacked bar chart by year with two values(columns)?

not sure if this is correct medium, but i am having trouble plotting this simple data: how do i get the graph below - aplogies for this poor picture. basically i want it stacked with the risk label ...
0
votes
1answer
71 views

plot gridsearch csv results how?

how can i plot my results from gridsearch csv? ...
1
vote
1answer
23 views

Plot three series on the same plot grouping data by day and month

I've a three years data set which I want to plot so to compare the data by data and month, but I'm having an hard time with the final result. I'm nearly there, I guess, but for some strange reason, ...
0
votes
0answers
26 views

Visualize Regression Parameters with Reference Level in R or Python

I am having a regression with quite a lot of Categorical features. How can I display the coefficients (and the standard deviations of those) including the reference level for every category. Thus far ...
0
votes
1answer
31 views

Plotting grafic result

I am learning how to plot data. I am trying to obtain this grafic result on my dataset. The thing is, I can't do it. The cool plot is from a kaggle's kernel, which code is: ...
0
votes
0answers
474 views

Overlay Bar Plot

I am trying to turn the first overlay bar plot into the second which allows for comparison of 2 variables instead of just one. Included my current code below which creates the first chart comparing ...
1
vote
1answer
239 views

How to generate plot of reward and its variance?

I am new to reinforcement learning and I would like know how to generate a learning curve plot such as that shown below (taken from this blog post), that illustrates the reward (return) and its ...
0
votes
1answer
21 views

Having and issue plotting horizontal chart

So for some weird reason I can't manage to fix the plotting issue Any suggestions? ...
0
votes
1answer
18 views

Smoothing or averaging plots to better represent trends and their variations

My picture looks like this. It shows some percent variation but, due to fluctuations, curves are not very smooth at all. I would like to draw a smoother image, without altering too much the data (it ...
0
votes
1answer
32 views

Three Staggered Values - Visualisation?

I have 3 process parameters that independently cycle between zero and some peak value, as shown on this filled line time-series plot: Although not a direct control variable, the 'health' of the ...
0
votes
0answers
156 views

How to add x and y error bars on a Bokeh python scatterplot?

I have a bokeh scatterplot which I would like to add error bars in both the x and y direction. Is there any way to easily add this to each data point on the graph?
0
votes
0answers
6 views

How to parallel plot the following table showing improvement of classifier for every subject

parallel_coordinates(data,'Subject', colormap='Dark2', linewidth=5, alpha=.8) plt.ylabel('Direction of Preference $\\rightarrow$', fontsize=12) This is giving me ...
0
votes
0answers
66 views

How does scatter plot with multiple features work?

Plotting one independent(100 rows) and one dependent(100 rows) feature is straightforward. But how plotting multiple independent(100 rows, 10 columns) with one dependent(100 rows, 1 column) feature ...
1
vote
0answers
19 views

Understanding lag plot ,ACF plot and auto-correlation plots

I have a data-frame of 2809 rows which is an unevenly spaced time-series ...
3
votes
0answers
304 views

Plotting Gradient Descent in 3d - Contour Plots

I have generated 3 parameters along with the cost function. I have the $\theta$ lists and the cost list of 100 values from the 100 iterations. I would like to plot the last 2 parameters against cost ...
3
votes
0answers
23 views

Visualizing the difference of a set of strings

I have a distance metric on a collection of strings on the order of tens of thousands. What would be an intuitive way to summarize how 'different' these strings are or when they overlap? My goal is, ...
0
votes
1answer
118 views

Visualizing categorical data in scatter plot with Orange (version > 3.18)

Why in Orange versions after 3.18 is not possible to visualize categorical data in Scatter Plot widget?
2
votes
0answers
108 views

Data Visualization of Feature Distribution Plot

I have been trying my best to plot this type of feature distribution plot using Python. I looked for what they are called to replicate the plot, but couldn't find the name of it? The Reference of ...
1
vote
2answers
38 views

Plots of data using DBSCAN algorithm not making sense

I am using clustering for my data. Since the DBSCAN algorithm will also tell me an estimate of clusters that I can use, I have used DBSCAN. I have tried for the ...
2
votes
1answer
844 views

How to interpret Shapley value plot for a model?

I was trying to use Shapley value approach for understanding the model predictions. I am trying this on a Xgboost model. My plot ...
0
votes
1answer
169 views

Why am I getting misaligned values while plotting heatmaps using seaborn?

While plotting heatmaps using seaborn, the numbers are getting printed on the boundary of the heatmap (Please see the image attached). I have already plotted heatmaps many times using the same code. ...
3
votes
2answers
71 views

How best to show the best model over multiple labels?

I have 4 models I trained and I want to display their prediction success over 45 different labels I tested them on. I get a very messy plot when I naively try to place them one on top of the other. ...
1
vote
1answer
1k views

How to plot time series data from SQLite database

I am trying to plot time series data by accessing the SQLite database. I successfully connect the database by coding the below script,however, i couldn't figure out how to plot the time series data ...
0
votes
0answers
1k views

How to interpret pairplot?

There are 2 sns.pairplot, tell me how to interpret them. As I understand it, sns.pairplot allows us to look at the diagonal distribution of these signs, and on the non-diagonal linear relationship ...
2
votes
0answers
45 views

Using a KMeans to classify URLs: validate the number of cluster and visualise

I'm relatively new to the NLP and DataScience, so apologies for omission or things like this. I've been trying to use the KMeans to classify a list of 1000 of unique URLs containing several keywords ...
1
vote
2answers
2k views

How to avoid overfitting in Reinforcement Learning

I have implemented a RL model based on Deep Q-Learning for learning how to play a 2D game, like the ones in the OpenAI Gym. For testing the model, unlike most people, I have chosen to evaluate its ...
1
vote
0answers
23 views

Interactive heatmap slice as separate plot for browser

I want to create an interactive online version of a static plot I generated with gnuplot5. I have limited experience with generating dynamic plots for webpages and need a rough direction where to go ...
3
votes
2answers
348 views

Pandas, make the bars of a bar graph have equal widths

What do I need to change so that ax1 uses the same width for bars as ax2? ...
1
vote
2answers
200 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
3answers
207 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 ...
3
votes
1answer
813 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
58 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
20 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
20 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: ...
2
votes
1answer
59 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: ...
2
votes
1answer
54 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 ...