code: function (topNode, algo) {
          var jvmObject;
          if (topNode instanceof org.apache.spark.mllib.tree.model.DecisionTreeModel) {
              jvmObject = topNode;
          }/* if (topeNode instanceof Node {
           jvmObject =  new org.apache.spark.mllib.tree.model.DecisionTreeModel(topNode,algo);
           } */ else {
              throw "DecisionTreeModel invalid constructor parameter"
          }
          this.logger = Logger.getLogger("DecisionTreeModel_js");
          JavaWrapper.call(this, jvmObject);
  
      }
docs: Decision tree model for classification or regression.
  This model stores the decision tree structure and parameters.
  @param topNode root node
  @param algo algorithm type -- classification or regression
  @classdesc
   
  @param {Node} topNode
  @param {Algo} algo
  @class
  @memberof module:eclairjs/mllib/tree/model