Skip to content

ailearn-ml/SLDL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code for SLDL.

Code for "Scalable Label Distribution Learning for Multi-Label Classification".

Requirements

  • Python >= 3.6
  • PyTorch >= 1.10
  • NumPy >= 1.13.3
  • Scikit-learn >= 0.20
  • Pyxclib >= 0.97

Running the scripts

To train and test the SLDL model in the terminal, use:

$ python run_SLDL.py --dataset sample_data --method ridge-lbfgs --label_embedding_threshold 0.1 --label_embedding_dim 128 --knn_neighbors 100 --device cpu --seed 0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages