Skip to content

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

Open
CodyWangYaohui wants to merge 7 commits intocardillo:masterfrom
CodyWangYaohui:master
Open

Naiive Mode Algorithm and Get Col Index by Col Name#100
CodyWangYaohui wants to merge 7 commits intocardillo:masterfrom
CodyWangYaohui:master

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