Skip to content
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

Makes no difference in reducing the number of points #10

Open
akkolwalkar opened this issue Dec 26, 2019 · 1 comment
Open

Makes no difference in reducing the number of points #10

akkolwalkar opened this issue Dec 26, 2019 · 1 comment

Comments

@akkolwalkar
Copy link

I have a dataframe which I want to reduce the number of points of every feature,

This is my dataframe

  recency frequency money
0 8.353111 1.625226 20.943134
1 2.934699 4.013015 26.170988
2 5.703040 4.013015 31.328091
3 4.958268 4.529335 42.014511
4 4.291614 5.502551 31.964992

Shape is 793,3 before rdp

After using RDP
[ 8.35311112, 1.62522615, 20.94313392],
[ 2.93469946, 4.01301524, 26.17098815],
[ 5.70303988, 4.01301524, 31.32809134],
...,

Shape is 793,3 after rdp no change in output

@Joshua-IRT
Copy link

The simplify_coords function did not work for me (see #11 ) but I found simpify_coords_vw returned the same number of points as were passed to it, regardless of how much I varied the second parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants