Skip to content

convert DataFrame to libffm data format in parallel

Notifications You must be signed in to change notification settings

wzmxd/FfmEncoder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

FfmEncoder

convert DataFrame to libffm data format in parallel

Usage

filed_names = [field1, field2, ... fieldn]
fe = FfmEncoder(filed_names,label_name='label',nthread=18)
fe.transform(train_set, 'train.ffm')

  notice: The label column must be the first column in the input DataFrame

About

convert DataFrame to libffm data format in parallel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%