Create Javascript Algorithm That Accurate ranks NFTs based upon Rarity Score + Trait Normalization
Budget: $30 – $250 USD
I am trying to get my rarity scores to show much like it does for rarity.tools -
Right now I am using a portion of their "rarity score" - "rarity score" screenshot for reference.
The component I am missing is trait normalization, this is the best example I have of this so far.
The simplest explanation would be the following: Let's imagine we have a Trait A with 3 options with the distribution of 50, 40, 10 and a Trait B with the following distribution: 10, 10, 10, 10, 10, 10, 10, 10, 20. During trait normalization, 10% in A gets a higher score than 10% in B because it's more impressive to get 10 in A than to get 10 in B. In B almost everyone got 10. This example is a bit exaggerated, but it illustrates the point.
I essentially need an algorithm that will systematically rank new NFTs with this algorithm to ensure I am accurately ranking the NFTs based upon these parameters.
You can test if we are accurate or not right off the website by seeing "rarity test" screenshot
https://rarity.tools/boredapeyachtclub?method=score&normalize=on&uniqueness=on&weights=off&propWeights=%24Trait%2520Count%3A1.25%26Earring%3A0.75%26Theme%2520Match%25201%3A0.05%26Theme%2520Match%25202%3A0.01667
If you have any questions please let me know!!
Right now I am using a portion of their "rarity score" - "rarity score" screenshot for reference.
The component I am missing is trait normalization, this is the best example I have of this so far.
The simplest explanation would be the following: Let's imagine we have a Trait A with 3 options with the distribution of 50, 40, 10 and a Trait B with the following distribution: 10, 10, 10, 10, 10, 10, 10, 10, 20. During trait normalization, 10% in A gets a higher score than 10% in B because it's more impressive to get 10 in A than to get 10 in B. In B almost everyone got 10. This example is a bit exaggerated, but it illustrates the point.
I essentially need an algorithm that will systematically rank new NFTs with this algorithm to ensure I am accurately ranking the NFTs based upon these parameters.
You can test if we are accurate or not right off the website by seeing "rarity test" screenshot
https://rarity.tools/boredapeyachtclub?method=score&normalize=on&uniqueness=on&weights=off&propWeights=%24Trait%2520Count%3A1.25%26Earring%3A0.75%26Theme%2520Match%25201%3A0.05%26Theme%2520Match%25202%3A0.01667
If you have any questions please let me know!!