Skip to main content
Kartikeya Sharma's user avatar
Kartikeya Sharma's user avatar
Kartikeya Sharma's user avatar
Kartikeya Sharma
  • Member for 5 years, 8 months
  • Last seen this week
awarded
awarded
awarded
awarded
comment
Finding similarity between two datasets
Oh so i should calculate it county wise. Before I was sorting both the list from lowest to greatest irrespective of the counties and then doing the calculations.
comment
Finding similarity between two datasets
Why doubt one is a bit odd? Also by functions do you mean python functions? I didn't shuffle them in the same way, just a random shuffle.
asked
Loading…
awarded
awarded
comment
How to find out if two datasets are close to each other?
Thank You for your answer but why would you remove the data from the real distribution. I understand that the scipy method would only work with equal datasets but which elements of the data to remove or why? Here i see you removed the last ones. Also isn't there anyway to make it work on unequal datasets?
awarded
comment
How to find out if two datasets are close to each other?
@MohitMotwani I want the similarity between data_a and data_b and then data_a and data_c
comment
How to find out if two datasets are close to each other?
@MohitMotwani But the two lists I am trying to compare doesnt have the same length. Would it still work?
comment
How to find out if two datasets are close to each other?
@MohitMotwani My datasets are not of equal lengths so how would I use cosine similarity?
comment
How to find out if two datasets are close to each other?
@edmund Thank You for this! Also what do you think of cosine similarity?
comment
How to find out if two datasets are close to each other?
It is using the Schelling's model of segregation.
comment
How to find out if two datasets are close to each other?
@edmund Hello, the problem is simple. I have a real data set and simulated data sets which I am obtaining from a simulation. My goal is to find which of the simulated data set is the closest to the real data?
comment
How to find out if two datasets are close to each other?
@edmund ok can you guide me through that ? Like how would you encounter that? And yes it is very computationally expensive to do this. But I am still not sure what distribution we would be fitting here!
comment
How to find out if two datasets are close to each other?
@Edmund I think you are correct, those values are the variable observation and I am plotting the values on y-axis over some standard x-axis. x_points=np.asarray(list(range(0,len(data_a)))) >>> x_points=x_points/len(data_a) >>> plt.plot(x_points,data_a) >>> x_points=np.asarray(list(range(0,len(data_b)))) >>> x_points=np.asarray(list(range(0,len(data_c)))) >>> x_points=x_points/len(data_c) >>> plt.plot(x_points,data_c) This is the code. But my question is how one can find the closeness between the two datasets