Giter Site home page Giter Site logo

cluster_script's Introduction

Class Decomposition via Clustering Project

The project can be run by simply executing the build script.

>>> sh build.sh

Simply cd into the root directory and run the above command. Note: If you use windows you need to have bash installed.

In the future we will be using more datasets. For that purpose the directory is set up such that all the excel and csv files go in the data folder. The scripts to clean the data and feed it to the neural net are in the src folder. And the functions needed to manage dataframe objects go in the utility folder.

cluster_script's People

Contributors

mjoshy2 avatar

Stargazers

Michael Mekhedkin-Meskhi avatar

Watchers

James Cloos avatar Ricardo Vilalta avatar Michael Mekhedkin-Meskhi avatar

cluster_script's Issues

Missing parameter

TypeError: pre_process_data() missing 1 required positional argument: 'target_col'

As I see you are not working on categorial data so there is an extra parameter here that is not being used. I removed it.

pre_process_data(dataframe, numerical_col, categorical_col, target_col):

Extra parameter not used but only assigned?

File "credit_data_clusterednn.py", line 48, in <module>
    x_train, y_train, x_test, y_test, test_true_labels = Util.split_data(0.8, train_x, train_y)
ValueError: not enough values to unpack (expected 5, got 4)

Changed to:

x_train, y_train, x_test, y_test  = Util.split_data(0.8, train_x, train_y)

test_true_labels = true_labels

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.