![]() We can generate a scoring function by calling hiscore.create with this reference set: import hiscore labeling all combinations of these values could yield the following reference set: DistanceĬreating, Improving, and Querying the Scoring Function (Of course, you can label other objects as well!) For our water well score, distance could have a low value of 0m, a middle value of 10m, and a high value of 50m, while size could have a low value of 1 sq.ft., a middle value of 25 sq.ft., and a high value of 100 sq.ft. To quickly create an intelligent score, you can start by determining, low, middle, and high values for each attribute and then labeling all the combinations of these values. (This is typically not restrictive, as attributes usually measure something that is either good or bad.) HiScore requires scores to always be increasing or decreasing in each attribute. Observe that score should be increasing in both of these attributes (e.g., for wells of a fixed size, the score does not decrease as the well moves farther from the nearest latrine). ![]() The size of the water well platform, in square feet.The distance from the nearest latrine, in meters.Let's start with a water well safety score based on only two attributes: We'll use a highly simplified version of the World Health Organization safety score for water wells to show how to use HiScore. Every other required package should be installed automatically when using pip. This appears to be a failure on the part of one of the required python packages, ecos, to properly install from pip. Please note that your installation will fail if you do not have numpy installed already. The package is installable in the typical way, e.g., with pip install hiscore. HiScore version 1.6.0 (and higher) supports both Python 2 and Python 3. HiScore provides a new way for domain experts to quickly create and improve intuitive scoring functions: by using reference sets, a set of representative objects that are assigned scores. Scores are ubiquitous everything from NFL Quarterbacks to the walkability of neighborhoods has a score. Scores are a way for domain experts to communicate the quality of a complex, multi-faceted object to a broader audience. HiScore is a python library for making scoring functions, which map objects (vectors of numerical attributes) to scores (a single numerical value).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |