Skip to content

A python application that permits to show differences between different impurity indexes in decision trees.

Notifications You must be signed in to change notification settings

StivenMetaj/Artificial_Intelligence_Exam_Project

Repository files navigation

Artificial_Intelligence_Exam_2018

A python application that permits to show differences between different impurity indexes in decision trees.

How to use

The application runs in "main.py" and when it starts "mainFunction()" is called. "mainFunction" in turn calls "fiveFoldCrossValidationTest" on "dataSets" and "targetPositions" elements.

So, to use the app with your datasets, you must insert in "dataSets" your CSV files and in "targetPositions" the positions of your target attributes.

In particular 2 observations:

  • the first row of your datasets must be the attributes list
  • indexes in "targetPositions" are human-friendly (if you have n attributes, the index must be a number from 1 to n).

References

Thanks to Christopher Roach and his article for helping me to understand better decision trees and data structures behind them.

Thanks also to Stack Overflow for always having a solution to any problem.

About

A python application that permits to show differences between different impurity indexes in decision trees.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages