CS 6601 assignment 4 Fall 2020 Georgia Institute Of Technology
CS 6601 assignment 4 Fall 2020 Georgia Institute Of Technology from __future__ import division import numpy as np from collections import Counter import time class DecisionNode: """Class to represent a single node in a decision tree. left (DecisionNode): left child node. right (DecisionNode): right child node. decision_function (func): function to decide left or right node. """ = left = right ion_function = decision_function _label = class_label def decide(self, feature): """Get a child node based on the decision function. Args: feature (list(int)): vector for feature. Return: Args: """
Escuela, estudio y materia
- Institución
- Georgia Institute Of Technology
- Grado
- CS 6601
Información del documento
- Subido en
- 5 de agosto de 2021
- Número de páginas
- 9
- Escrito en
- 2021/2022
- Tipo
- Otro
- Personaje
- Desconocido
Temas
-
assignment4
-
cs 6601
Documento también disponible en un lote