Comments (4)
Hi @rcurtin. Yes, that sounds good. Thaks a lot <3~! However I think it will be better if you open a pull request as I don't have any experience with open source contribution.
from mlpack.
Would a getter for classProbabilities
suffice? I spent a while thinking about it and it would be tricky to add a getter for the split value, since DecisionTree
is not guaranteed to have a single split value. For instance, you could have an n-way split that split with (n - 1) different values into n children. Or, there may be no split value at all: in categorical dimensions, by default (with AllCategoricalSplit
), the tree will split into all possible categorical values.
Anyway, the easiest thing to do here would be to provide ClassProbabilities()
with documentation pointing out that the values are not class probabilities unless the node is a leaf. If that works for you, I'll open a PR (or you can open one, up to you). Alternately, if you have a proposal for how to provide a SplitValue()
member in a safe and flexible way, I'm all ears. 😄
from mlpack.
Sounds good, I opened #3511 to add the new feature. 👍
from mlpack.
#3511 is merged, and so you can either use the git master
branch, or wait for the next release of mlpack for the functionality to be stable. 👍
from mlpack.
Related Issues (20)
- Inconsistent use of the "input" parameter to the Backward method in ANNs HOT 11
- Add accuracy measure for mlpack_logistic_regression ? HOT 7
- Error in use of preprocess_split() in LinearRegression. HOT 2
- Proposal for New Supervised Learning Data Simulation Classes in C++ for MLPACK Library HOT 9
- Build fail for project using MLPack, M_SQRT2 undeclared identifier HOT 4
- MPLACK failed build in x86 mode HOT 1
- msvc round in core/math/round.hpp HOT 2
- Multihead attention layer HOT 1
- Multi-head output network HOT 1
- How to configure mlpack_test?
- How to configure mlpack test case HOT 1
- RADICAL number of components HOT 2
- Documentation should make types clearer when using non-default `MatType`s
- in ver 4.3.0 I can`t import linear_svm HOT 5
- Is it possible to get the distance calculations as one of the return types in Kmeans clustering HOT 4
- mlpack / opencv namespace ambiguity? HOT 3
- benchmark results HOT 1
- make install taking a lot of time in arm low end processor (1.5 GHz clock cycle) HOT 2
- Problem in reading csv data (inconsistent dimensions) HOT 4
- Mlpack4.2.1 for Windows is having issue in training RandomForest over ~7M samples with larger number of trees (ex: 600 trees) HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlpack.