lerot.query¶
Interface to query data with functionality for reading queries from svmlight format, both sequentially and in batch mode.
-
class
lerot.query.
Queries
(fh, num_features, preserve_comments=False)[source]¶ a list of queries with some convenience functions
-
class
lerot.query.
QueryStream
(fh, num_features, preserve_comments=False)[source]¶ iterate over a stream of queries, only keeping one query at a time