mirror of
https://github.com/rmontanana/mdlp.git
synced 2025-08-16 16:05:57 +00:00
Fix depth init in fit
This commit is contained in:
@@ -22,6 +22,7 @@ namespace mdlp {
|
||||
{
|
||||
X = X_;
|
||||
y = y_;
|
||||
depth = 0;
|
||||
cutPoints.clear();
|
||||
if (X.size() != y.size()) {
|
||||
throw invalid_argument("X and y must have the same size");
|
||||
|
Reference in New Issue
Block a user