public interface FMFormat
| Modifier and Type | Method and Description |
|---|---|
<U,I> PreferenceFM |
load(InputStream in,
FastUserIndex<U> users,
FastItemIndex<I> items)
Loads a factorisation machine from an input stream.
|
<U,I> void |
save(PreferenceFM fm,
OutputStream out)
Saves a factorisation machine in an output stream.
|
<U,I> PreferenceFM load(InputStream in, FastUserIndex<U> users, FastItemIndex<I> items) throws IOException
U - type of usersI - type of itemsin - input streamusers - user indexitems - item indexIOException - when I/O problems<U,I> void save(PreferenceFM fm, OutputStream out) throws IOException
U - user typeI - item typefm - factorisation machine for recommendation tasksout - output stream where the factorisation machine is writtenIOException - when I/O problemsCopyright © 2016. All rights reserved.