﻿..  Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

..    http://www.apache.org/licenses/LICENSE-2.0

..  Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.


DecisionTreeClassifier
================================================

.. currentmodule:: pyspark.ml.classification

.. autoclass:: DecisionTreeClassifier

    
      
    

    
    

    .. rubric:: Methods

    .. autosummary::
    
       ~DecisionTreeClassifier.clear
       ~DecisionTreeClassifier.copy
       ~DecisionTreeClassifier.explainParam
       ~DecisionTreeClassifier.explainParams
       ~DecisionTreeClassifier.extractParamMap
       ~DecisionTreeClassifier.fit
       ~DecisionTreeClassifier.fitMultiple
       ~DecisionTreeClassifier.getCacheNodeIds
       ~DecisionTreeClassifier.getCheckpointInterval
       ~DecisionTreeClassifier.getFeaturesCol
       ~DecisionTreeClassifier.getImpurity
       ~DecisionTreeClassifier.getLabelCol
       ~DecisionTreeClassifier.getLeafCol
       ~DecisionTreeClassifier.getMaxBins
       ~DecisionTreeClassifier.getMaxDepth
       ~DecisionTreeClassifier.getMaxMemoryInMB
       ~DecisionTreeClassifier.getMinInfoGain
       ~DecisionTreeClassifier.getMinInstancesPerNode
       ~DecisionTreeClassifier.getMinWeightFractionPerNode
       ~DecisionTreeClassifier.getOrDefault
       ~DecisionTreeClassifier.getParam
       ~DecisionTreeClassifier.getPredictionCol
       ~DecisionTreeClassifier.getProbabilityCol
       ~DecisionTreeClassifier.getRawPredictionCol
       ~DecisionTreeClassifier.getSeed
       ~DecisionTreeClassifier.getThresholds
       ~DecisionTreeClassifier.getWeightCol
       ~DecisionTreeClassifier.hasDefault
       ~DecisionTreeClassifier.hasParam
       ~DecisionTreeClassifier.isDefined
       ~DecisionTreeClassifier.isSet
       ~DecisionTreeClassifier.load
       ~DecisionTreeClassifier.read
       ~DecisionTreeClassifier.save
       ~DecisionTreeClassifier.set
       ~DecisionTreeClassifier.setCacheNodeIds
       ~DecisionTreeClassifier.setCheckpointInterval
       ~DecisionTreeClassifier.setFeaturesCol
       ~DecisionTreeClassifier.setImpurity
       ~DecisionTreeClassifier.setLabelCol
       ~DecisionTreeClassifier.setLeafCol
       ~DecisionTreeClassifier.setMaxBins
       ~DecisionTreeClassifier.setMaxDepth
       ~DecisionTreeClassifier.setMaxMemoryInMB
       ~DecisionTreeClassifier.setMinInfoGain
       ~DecisionTreeClassifier.setMinInstancesPerNode
       ~DecisionTreeClassifier.setMinWeightFractionPerNode
       ~DecisionTreeClassifier.setParams
       ~DecisionTreeClassifier.setPredictionCol
       ~DecisionTreeClassifier.setProbabilityCol
       ~DecisionTreeClassifier.setRawPredictionCol
       ~DecisionTreeClassifier.setSeed
       ~DecisionTreeClassifier.setThresholds
       ~DecisionTreeClassifier.setWeightCol
       ~DecisionTreeClassifier.write

    
    

    
    

    .. rubric:: Attributes

    .. autosummary::
    
        
           ~DecisionTreeClassifier.cacheNodeIds
        
        
           ~DecisionTreeClassifier.checkpointInterval
        
        
           ~DecisionTreeClassifier.featuresCol
        
        
           ~DecisionTreeClassifier.impurity
        
        
           ~DecisionTreeClassifier.labelCol
        
        
           ~DecisionTreeClassifier.leafCol
        
        
           ~DecisionTreeClassifier.maxBins
        
        
           ~DecisionTreeClassifier.maxDepth
        
        
           ~DecisionTreeClassifier.maxMemoryInMB
        
        
           ~DecisionTreeClassifier.minInfoGain
        
        
           ~DecisionTreeClassifier.minInstancesPerNode
        
        
           ~DecisionTreeClassifier.minWeightFractionPerNode
        
        
           ~DecisionTreeClassifier.params
        
        
           ~DecisionTreeClassifier.predictionCol
        
        
           ~DecisionTreeClassifier.probabilityCol
        
        
           ~DecisionTreeClassifier.rawPredictionCol
        
        
           ~DecisionTreeClassifier.seed
        
        
           ~DecisionTreeClassifier.supportedImpurities
        
        
           ~DecisionTreeClassifier.thresholds
        
        
           ~DecisionTreeClassifier.weightCol
        
        

    
    

    
    

    .. rubric:: Methods Documentation

    
    .. automethod:: clear
    .. automethod:: copy
    .. automethod:: explainParam
    .. automethod:: explainParams
    .. automethod:: extractParamMap
    .. automethod:: fit
    .. automethod:: fitMultiple
    .. automethod:: getCacheNodeIds
    .. automethod:: getCheckpointInterval
    .. automethod:: getFeaturesCol
    .. automethod:: getImpurity
    .. automethod:: getLabelCol
    .. automethod:: getLeafCol
    .. automethod:: getMaxBins
    .. automethod:: getMaxDepth
    .. automethod:: getMaxMemoryInMB
    .. automethod:: getMinInfoGain
    .. automethod:: getMinInstancesPerNode
    .. automethod:: getMinWeightFractionPerNode
    .. automethod:: getOrDefault
    .. automethod:: getParam
    .. automethod:: getPredictionCol
    .. automethod:: getProbabilityCol
    .. automethod:: getRawPredictionCol
    .. automethod:: getSeed
    .. automethod:: getThresholds
    .. automethod:: getWeightCol
    .. automethod:: hasDefault
    .. automethod:: hasParam
    .. automethod:: isDefined
    .. automethod:: isSet
    .. automethod:: load
    .. automethod:: read
    .. automethod:: save
    .. automethod:: set
    .. automethod:: setCacheNodeIds
    .. automethod:: setCheckpointInterval
    .. automethod:: setFeaturesCol
    .. automethod:: setImpurity
    .. automethod:: setLabelCol
    .. automethod:: setLeafCol
    .. automethod:: setMaxBins
    .. automethod:: setMaxDepth
    .. automethod:: setMaxMemoryInMB
    .. automethod:: setMinInfoGain
    .. automethod:: setMinInstancesPerNode
    .. automethod:: setMinWeightFractionPerNode
    .. automethod:: setParams
    .. automethod:: setPredictionCol
    .. automethod:: setProbabilityCol
    .. automethod:: setRawPredictionCol
    .. automethod:: setSeed
    .. automethod:: setThresholds
    .. automethod:: setWeightCol
    .. automethod:: write

    
    

    
    

    .. rubric:: Attributes Documentation

    
    .. autoattribute:: cacheNodeIds
    .. autoattribute:: checkpointInterval
    .. autoattribute:: featuresCol
    .. autoattribute:: impurity
    .. autoattribute:: labelCol
    .. autoattribute:: leafCol
    .. autoattribute:: maxBins
    .. autoattribute:: maxDepth
    .. autoattribute:: maxMemoryInMB
    .. autoattribute:: minInfoGain
    .. autoattribute:: minInstancesPerNode
    .. autoattribute:: minWeightFractionPerNode
    .. autoattribute:: params
    .. autoattribute:: predictionCol
    .. autoattribute:: probabilityCol
    .. autoattribute:: rawPredictionCol
    .. autoattribute:: seed
    .. autoattribute:: supportedImpurities
    .. autoattribute:: thresholds
    .. autoattribute:: weightCol
    .. autoattribute:: uid

    
    
