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
- pprint("Love Hate Algorithm Started")
- person_image = r"C:\Users\gprak\Downloads\Github Repos\archive\train\disgusted\im7.png"
- p = r"C:\Users\gprak\Downloads\Github Repos\archive\train\angry"
- list_of_other_people_images = [os.path.join(p,name) for name in os.listdir(p)]
- algorithm_type = "simple"
- people_less_likely_to_have_conflicts, people_more_likely_to_have_conflicts, app = get_output_of_love_hate_algorithm(person_image,list_of_other_people_images,algorithm_type)
- 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)
- run_dash_app_for_persons_with_less_and_more_likely_to_have_conflicts(app)
for a mixture of emotions
- import pprint
- pprint("Love Hate Algorithm Started")
- person_image = r"C:\Users\gprak\Downloads\Github Repos\archive\train\disgusted\im7.png"
- p = r"C:\Users\gprak\Downloads\Github Repos\archive\train\angry"
- list_of_other_people_images = [os.path.join(p,name) for name in os.listdir(p)]
- algorithm_type = "more_real"
- people_less_likely_to_have_conflicts, people_more_likely_to_have_conflicts, app = get_output_of_love_hate_algorithm(person_image,list_of_other_people_images,algorithm_type)
- 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)
- run_dash_app_for_persons_with_less_and_more_likely_to_have_conflicts(app)
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.3.0.tar.gz
(14.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file your_best_friend-0.3.0.tar.gz.
File metadata
- Download URL: your_best_friend-0.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3ac9ed02c17db5505a796ae0ed1f413000015c3e5bf9682af86305c04965d8b
|
|
| MD5 |
d10db40068990c5a5f0b82ec80b9b0f2
|
|
| BLAKE2b-256 |
63600f17c736a1cfd7533cae3108a90dfe47a2470e0372407407705573eb6bd0
|
File details
Details for the file your_best_friend-0.3.0-py3-none-any.whl.
File metadata
- Download URL: your_best_friend-0.3.0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1550854386fef653801cade59c48968b62d4281cf11345c8ac69cd78594f573c
|
|
| MD5 |
afd4abc055afcab72889ce647302e034
|
|
| BLAKE2b-256 |
fbeb3f036a9dc1bfa12c7c30400216fb3b4fc563100201c10060ff15bcb3d0c5
|