Skip to content

Implement decision_path in scikit.js #262

@kenluck2001

Description

@kenluck2001

Is your feature request related to a problem? Please describe.
This is to return the path that shows how the decision tree makes decision on a label from the root to the leaf. My guess is that changes are needed here. Kindly provide a description of how it can be implemented, even if it is outside your project map.

Describe the solution you'd like

The Python implementation of scikit-learn has a def decision_path(self, X, check_input=True) in the source code

Provide suggestions on how it can be implemented in scikit.js.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered. This feature exist in scikit-learn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy