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

Check outliers on the full dataset #47

Open
pro100olga opened this issue Mar 28, 2020 · 3 comments
Open

Check outliers on the full dataset #47

pro100olga opened this issue Mar 28, 2020 · 3 comments

Comments

@pro100olga
Copy link

@dchaplinsky pls share the algorithm of defining outliers you used

@dchaplinsky
Copy link
Collaborator

@dchaplinsky
Copy link
Collaborator

@pro100olga can you look into it?

@pro100olga
Copy link
Author

Checked on 88K dataset as of 23/04/20.

Excluding people from outliers list

  1. Change the logic

Now is based on id:

    excl = (~df['id'].isin([
        'nacp_08a63d8b-2db4-4ef0-8b8b-396e0cd9f495',
        'nacp_7762d918-fe93-4285-8703-7fbe18312634',
        'nacp_50a32d11-ebfa-4466-9bde-2f049cb00574']))

Should be changed to user_declarant_id.
Namely, exclude declarations, where user_declarant_id is in [54382, 728990]

  1. Exclude more people:

Also, exclude from outliers declarations with the following user_declarant_id:
90684, 552845, 675626, 1084920, 1108047

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