-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Charts: stratified random samplin base on a target #490
Comments
hey, I would like to work on this issue. Can you help me direct to the source code so that I can add the feature |
@harshithakolipaka thanks for your interest in this feature! Ok so to give you some background on how this will work you'll have to update the
The The idea is that you'll want to check this boolean parameter and if its Honestly, if you'd just like to provide the random sampling function I can plug in the rest and make sure you still get credit for the code you've committed. Let me know if you have any other questions. Thanks |
@reza1615 I'm looking to implement this but wanted to know which of these two solutions were more suitable:
|
Hi, the second one. The sampling_rate is the ratio that we choose to down sample data. already you have it for down sampling. for example if user select 30% from UI the sample_rate is 0.3 |
@reza1615 @harshithakolipaka just realeased v2.15.0 with this feature. Let me |
Now the random sampling for charts doest apply stratified
sampling based on target.
It would be helpful to have a drop down to set the target column and generate stratified samples based on that.
It will help to have the same distribution of the whole data set.
The text was updated successfully, but these errors were encountered: