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.1.0.tar.gz (15.2 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.1.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: your_best_friend-0.1.0.tar.gz
  • Upload date:
  • Size: 15.2 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.1.0.tar.gz
Algorithm Hash digest
SHA256 2a646a81a60c3c88761f9fe1cc98998aaa83e75c02e869e508811bb5cf4a9e77
MD5 4a6d2351194b44d8f4c5d7f16b579bbb
BLAKE2b-256 3aac0f989221b245980c0fddba045b95074d81a435fd94d97355ecd346b536c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for your_best_friend-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98f35de1277d53be5680adb0dbe48676705c11f1587ae72eb5db965cc727a67b
MD5 f23529919c7fe034f3112cc7d52a5118
BLAKE2b-256 83bdb316efc0c5e0ab1fc6221bf945db2e0cbd16469fb9f9121aeebff0b299a4

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