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

Naiive Mode Algorithm and Get Col Index by Col Name #100

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

CodyWangYaohui
Copy link

As you could see there's no lib object/class for us to carry out mode like org.apache.commons.math3.stat.descriptive.moment.Mean()
or
org.apache.commons.math3.stat.descriptive.rank.Median(),
we just implemented a mode algorithm by simply going through each element inside the column and perform something like counter in py to collect the frequency of each component and finally render out the element with highest frequency of each column in a 1*n array in form of DataFrame.

@CodyWangYaohui CodyWangYaohui changed the title Naiive Mode Algorithm Naiive Mode Algorithm and Get Col Index by Col Name Dec 9, 2021
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

Successfully merging this pull request may close these issues.

2 participants