Skip to main content

Collaborative Filtering with multi-process parallelism.

Project description

from cf import CollFilter

if __name__ == '__main__':
    data = read_data(train_path)
    data = pre_process(data)  # return [(user_id: Any, item_id: Any, float),]
    cf = CollFilter(data)
    ucf = cf.user_cf()  # return {user_id: [(item_id, score),],}
    icf = cf.item_cf()  # return {user_id: [(item_id, score),],}
    cf.release()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coll-filter-1.2.0.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file coll-filter-1.2.0.tar.gz.

File metadata

  • Download URL: coll-filter-1.2.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for coll-filter-1.2.0.tar.gz
Algorithm Hash digest
SHA256 5b82f4bc69a961a87fc73ccb78ec455b1828194279143ff392572c8dd1eae05e
MD5 e59968015eeb001dbd82487993433ade
BLAKE2b-256 8acc9db2bad8e40908113fdfd4f8cddbe7b545c86926be46b326c31d5a7a1974

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page