Skip to content

Tools for multi-label classification problems.

License

Notifications You must be signed in to change notification settings

shijxcs/pyxclib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xclib

Tools for multi-label classification problems.

git clone https://github.com/kunaldahiya/xclib.git
cd xclib
python3 setup.py install --user

Usage

from xclib.data import data_utils

# Read file with features and labels
features, tabels, num_samples, num_features, num_labels = data_utils.read_data('train.txt')

# Read sparse file
labels = data_utils.read_sparse_file('trn_X_Xf.txt', force_header=True)

# Write sparse file
data_utils.write_sparse_file(labels, "labels.txt")

About

Tools for multi-label classification problems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.8%
  • Shell 1.2%