mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-08 12:35:59 +08:00
Modernize Python 2 code to get ready for Python 3
This commit is contained in:
@ -3,6 +3,7 @@ Implementation of a basic regression decision tree.
|
||||
Input data set: The input data set must be 1-dimensional with continuous labels.
|
||||
Output: The decision tree maps a real number input to a real number output.
|
||||
"""
|
||||
from __future__ import print_function
|
||||
|
||||
import numpy as np
|
||||
|
||||
|
Reference in New Issue
Block a user