Code Monkey home page Code Monkey logo

csi431's Introduction

CSI431

These are a few of my homework assignments from CSI 431: Data Mining. I've included the original pdf assignment documents and the data files used.

HW 2

This assignment involved creating a single-split decision tree classifier using three different measures of impurity: entropy, the Gini index, and the CART measure. I debugged my classifiers by testing them against sklearn's DecisionTreeClassifier. I decided to leave that in the code when I submitted it.

The CART impurity measure wasn't working properly, but I managed to hack around it and got 100%.

HW 3

This assignment involved using sklearn's cross validation module to compare different classifiers: (linear) SVM, Decision trees(using entropy and Gini index), LDA, and random forest.

First, I used k-fold cross-validation to test different values of the parameter C for SVM, and max_leaf_nodes for the decision trees. I then compared the classifiers with their best parameters against LDA and random forest classifiers. Comparisons were based on average class precision, average class recall, and F1-score.

Results were presented as 6 bar graphs.

csi431's People

Contributors

jamesheinlein avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.