Skip to main content

A fun love-hate prediction algorithm

Project description

LoveHateAlgorithm

Which person do you want to be around with right now?

How to run the package

  • import pprint
  • import loveHateAlgorithm
  • from loveHateAlgorithm import simple_love_hate_algorithm
  • pprint("Love Hate Algorithm Started")
  • person_image = "/path/to/person1.jpg"
  • list_of_other_people_images = ["/path/to/person2.jpg","/path/to/person3.jpg"]
  • people_less_likely_to_have_conflicts, people_more_likely_to_have_conflicts = simple_love_hate_algorithm(person_image,list_of_other_people_images)
  • pprint("People less likely to have conflicts with the person in the image:")
  • pprint(people_less_likely_to_have_conflicts)
  • pprint("People more likely to have conflicts with the person in the image:")
  • pprint(people_more_likely_to_have_conflicts)
  • pprint("Love Hate Algorithm Ended")

for a mixture of emotions

  • import pprint
  • import loveHateAlgorithm
  • from loveHateAlgorithm import simple_love_hate_algorithm
  • pprint("Love Hate Algorithm Started")
  • person_image = "/path/to/person1.jpg"
  • list_of_other_people_images = ["/path/to/person2.jpg","/path/to/person3.jpg"]
  • people_less_likely_to_have_conflicts, people_more_likely_to_have_conflicts = more_real_love_hate_algorithm(person_image,list_of_other_people_images)
  • pprint("People less likely to have conflicts with the person in the image:")
  • pprint(people_less_likely_to_have_conflicts)
  • pprint("People more likely to have conflicts with the person in the image:")
  • pprint(people_more_likely_to_have_conflicts)
  • pprint("Love Hate Algorithm Ended")

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

your_best_friend-0.2.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

your_best_friend-0.2.0-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file your_best_friend-0.2.0.tar.gz.

File metadata

  • Download URL: your_best_friend-0.2.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for your_best_friend-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f5383fe1a8610746bc461001c1a193982081912ed25bc0738d30a8ebce8e84ec
MD5 9e9a73f82687696b0b7a927e58fe4e75
BLAKE2b-256 01f9b73895585f915c872b091bc975475aa29169e22a977e7980166f420ce16d

See more details on using hashes here.

File details

Details for the file your_best_friend-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for your_best_friend-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aedbf461bf7d79244dff66dba7e0d004eba922ab23b64b2b8f4b5cec0e39e8ab
MD5 e1da96e3c97f6831e7748a66c2ab02c4
BLAKE2b-256 bc54bd33aaf9fb28e727563949e2de7da07c90774eb48884d58392916de3e816

See more details on using hashes here.

Supported by

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