Skip to content

Confusion matrix (from nodes or CSV files without tree visualization)

Rahul Mondal edited this page Jan 23, 2022 · 5 revisions

Steps of creating Confusion matrix for CSV files

  1. Run confusion matrix procedure - map two sets of CSV file paths for training and testing respectively

Confusion matrix of the decision tree based on Gain Ratio (without tree visualization) using CSV file.

RETURN main.confmGRcsv("training_file_path,testing_file_path","TargetAttribute")

This procedure retrieves the confusion matrix of the decision tree based on Gain Ratio from CSV file paths.

Confusion matrix of decision tree based on Gini Index (without tree visualization) using CSV file.

RETURN main.confmGIcsv("training_file_path,testing_file_path","TargetAttribute")

This procedure retrieves the confusion matrix of the decision tree based on Gini Index from CSV file paths.

Confusion matrix of decision tree based on Information Gain (without tree visualization) using CSV file.

RETURN main.confmIGcsv("training_file_path,testing_file_path","TargetAttribute")

This procedure retrieves the confusion matrix of the decision tree based on Information Gain from CSV file paths.

Steps of creating Confusion matrix for Neo4j nodes.

  1. Query the nodes data in Neo4j
  2. Run the confusion matrix procedure.

Confusion matrix of decision tree based on Information Gain (without tree visualization) using Neo4j nodes.

RETURN main.confmIG("TargetAttribute")

This procedure retrieves the confusion matrix of the decision tree based on Information Gain from Neo4j nodes.

Confusion matrix of decision tree based on Gini Index (without tree visualization) using Neo4j nodes.

RETURN main.confmGI("TargetAttribute")

This procedure retrieves the confusion matrix of the decision tree based on Gini Index from Neo4j nodes.

Confusion matrix of decision tree based on Information Gain (without tree visualization) using Neo4j nodes.

RETURN main.confmIG("TargetAttribute")

This procedure retrieves the confusion matrix of the decision tree based on Information Gain from Neo4j nodes.

Clone this wiki locally