Sha256: e273ae4213ece9612303fb8a7dbe42095babd5f20c2fa073ab0c913a674a6536

Contents?: true

Size: 1.07 KB

Versions: 8

Compression:

Stored size: 1.07 KB

Contents

Stef, this is what I have:

require fuzzy_realty then issue a query like so:
query = FuzzyRealty::Query.new
query << FuzzyRealty::Parameter(:"symbol type", value)
...
FuzzyRealty::ExpertSystem.scores(listings_array,query)

you will receive an array of hashes arranged like so:
[ {:listing => #<...>, :score => ###}, ...]


Parameters
==========
Parameters are init'd with a symbol type and value
| Type      | Valid Values                                                   |
| :sqft     | Any Numeric                                                    |
| :style    | One of %W{Bungalow Bi-level Split-level Two-story Condominium} |
| :location | One of %W{A B C D}                                             |
| :price    | Any Numeric                                                    |
* Values for style and location are very sensitive atm, anything not in the two will likely not work or even error out (i've tried to avoid the erroring out)

Listings
========
What i expect out of a listing is that it has the following properties that can be read from it:
*price
*sqft
*location
*style

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rkneufeld-fuzzy-realty-0.4.0 lib/TODO
rkneufeld-fuzzy-realty-0.5.0 lib/TODO
rkneufeld-fuzzy-realty-0.5.1 lib/TODO
rkneufeld-fuzzy-realty-0.6.2 lib/TODO
rkneufeld-fuzzy-realty-0.7.0 lib/TODO
rkneufeld-fuzzy-realty-0.7.1 lib/TODO
rkneufeld-fuzzy-realty-0.7.2 lib/TODO
rkneufeld-fuzzy-realty-0.7.3 lib/TODO