MCPcopy Index your code
hub / github.com/duxuhao/Feature-Selection

github.com/duxuhao/Feature-Selection @v0.08.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.08.2 ↗ · + Follow
126 symbols 276 edges 11 files 59 documented · 47%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

MLFeatureSelection

License: MIT PyPI version

General features selection based on certain machine learning algorithm and evaluation methods

Divesity, Flexible and Easy to use

More features selection method will be included in the future!

Quick Installation

pip3 install MLFeatureSelection

Modulus in version 0.0.8.2

  • Modulus for selecting features based on greedy algorithm (from MLFeatureSelection import sequence_selection)

  • Modulus for removing features based on features importance (from MLFeatureSelection import importance_selection)

  • Modulus for removing features based on correlation coefficient (from MLFeatureSelection import coherence_selection)

  • Modulus for reading the features combination from log file (from MLFeatureSelection.tools import readlog)

Modulus Usage

Example

This features selection method achieved

  • 1st in Rong360

-- https://github.com/duxuhao/rong360-season2

  • 6th in JData-2018

-- https://github.com/duxuhao/JData-2018

  • 12nd in IJCAI-2018 1st round

-- https://github.com/duxuhao/IJCAI-2018-2

DEMO

More examples are added in example folder include:

  • Demo contain all modulus can be found here (demo)

  • Simple Titanic with 5-fold validation and evaluated by accuracy (demo)

  • Demo for S1, S2 score improvement in JData 2018 predict purchase time competition (demo)

  • Demo for IJCAI 2018 CTR prediction (demo)

Function Parameters

Parameters

Algorithm details

Details

Core symbols most depended-on inside this repo

_ScoreUpdate
called by 9
MLFeatureSelection/sequence_selection.py
_ScoreUpdate
called by 9
MLFeatureSelection/FeatureSelection.py
_validation
called by 5
MLFeatureSelection/sequence_selection.py
_validation
called by 5
MLFeatureSelection/FeatureSelection.py
SetLogFile
called by 4
MLFeatureSelection/FeatureSelection.py
ImportDF
called by 4
MLFeatureSelection/FeatureSelection.py
ImportLossFunction
called by 4
MLFeatureSelection/FeatureSelection.py
InitialFeatures
called by 4
MLFeatureSelection/FeatureSelection.py

Shape

Method 83
Function 35
Class 8

Languages

Python100%

Modules by API surface

MLFeatureSelection/FeatureSelection.py29 symbols
MLFeatureSelection/sequence_selection.py28 symbols
MLFeatureSelection/coherence_selection.py22 symbols
MLFeatureSelection/importance_selection.py21 symbols
example/titanic/Select.py8 symbols
example/IJCAI-2018/demo_IJCAI_2018.py8 symbols
example/JData2018/S2elect.py4 symbols
example/JData2018/S1elect.py4 symbols
MLFeatureSelection/tools.py2 symbols

For agents

$ claude mcp add Feature-Selection \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page