Code Monkey home page Code Monkey logo

Comments (6)

ayeowch avatar ayeowch commented on July 20, 2024 1

Only the NI needs capping using the described method at the moment. Ideally, there should be fairness across all the indexes used to calculate the overall PIX, i.e. the capping of NI should not affect your ranking if your other indexes are in the lead among the nodes. I am open to alternative method to better calculate NI or even adding new indexes.

Thanks for mentioning "winsorizing", I wasn't aware of it until you mention it :)

from bitnodes.

ayeowch avatar ayeowch commented on July 20, 2024

Your nodes should have NI set now. It was set to zero by error when a new fix for NI calculation was being deployed.

from bitnodes.

rebroad avatar rebroad commented on July 20, 2024

@ayeowch What changed? My node's N was 0.51, and now it's 0.053. Why is it capped at the 99th percentile now?

from bitnodes.

ayeowch avatar ayeowch commented on July 20, 2024

I have updated the doc in https://bitnodes.21.co/nodes/leaderboard/#peer-index:

NI = Nodes index
    NI = (p ∩ N) / N
        p = peers returned in addr responses
        N = reachable nodes
        NI >= 6σ is capped at 99th percentile

Threshold of 6 standard deviation of the NI values is used to handle very extreme NI values that would greatly inflate the overall index even with very low values for other indexes. Majority of the nodes are at most 2 standard deviation. Note that NI values at 3 to < 6 standard deviation are tolerated and not capped.

from bitnodes.

rebroad avatar rebroad commented on July 20, 2024

@ayeowch Ok, so I notice you have changed the algorithm and introduced winsorizing, which is supposed to be used to avoid a value being influenced by outliers. However, 1) there was no value being influenced by an outlier, and 2) the were no outliers (i.e. nothing caused by experimental error or variability in measurement), therefore it seems highly misleading to introduce this capping. Can you explain why it was done please?

from bitnodes.

rebroad avatar rebroad commented on July 20, 2024

@ayeowch I am in favor of fairness, but from my perspective, the capping introduces unfairness - yes, my node fared badly in terms of ASN, but it made up for it in terms of useful addresses, so nevertheless deserved the number 1 position. I think the algorithm was better without the capping, as before it would encourage other node maintainers to improve their address management algorithm (as I did).

With the capping in place as it currently is, it blinds people to potential improvements to address management they may be making.

Also, in terms of node usefulness, I would have thought that providing healthy addresses was a more important factor than how many other nodes share the same ASN and so the previous algorithm was fairer in this sense also.

from bitnodes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.