Commit 957df7c0 authored by Olivier REYNET's avatar Olivier REYNET
Browse files

CART Python add

parent 33f3aba4
...@@ -8,7 +8,7 @@ from CART import * ...@@ -8,7 +8,7 @@ from CART import *
# Extract dataset # Extract dataset
dataset='croprec.csv' dataset='../../DATASETS/croprec.csv'
crop_df = pd.read_csv(dataset, header=0) crop_df = pd.read_csv(dataset, header=0)
Y = crop_df.label.values Y = crop_df.label.values
features = crop_df.columns.values[:-1] features = crop_df.columns.values[:-1]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment