Giter Site home page Giter Site logo

trellixvulnteam / ml_phw1_z6gm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hojin19082/ml_phw1

0.0 0.0 0.0 73.21 MB

Shell 0.01% JavaScript 0.07% C++ 0.11% Python 96.59% C 0.98% Fortran 0.02% MATLAB 0.01% PowerShell 0.03% XSLT 0.01% CSS 0.13% TeX 0.06% Makefile 0.01% HTML 0.04% Smarty 0.01% Batchfile 0.01% Jupyter Notebook 0.02% Cython 1.93% Roff 0.01%

ml_phw1_z6gm's Introduction

Programming Homework 1

Auto ML for classificaion

FindBestModel

Goal : For each model, we find a combination of k-value, scaling, encoding, score, and parameters.
print best score and best combination for each model.

Parameter

:param df: The Wisconsin Cancer dataset preprocessed
:param target: target feature's name
:param scalers: list of scalers
        None: [StandardScaler(), MinMaxScaler(), MaxAbsScaler(), RobustScaler()]
        if you want to scale other ways, then put the sclaer in list

:param encoders: list of encoders
    None: [OrdinalEncoder(), LabelEncoder() OneHotEncoder()]
    if you want to use only one, put a encoder in list

:param models: list of models
    None: [DecisionTreeClassifier(criterion='gini'), DecisionTreeClassifier(criterion='entropy'),
    LogisticRegression(), SVC()]
    if you want to fit other ways, then put the model in the list

ml_phw1_z6gm's People

Contributors

hojin19082 avatar trellixvulnteam 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.