cre_property_matcher 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd6706136fa6c984ed797ccc206d310a44437342
4
- data.tar.gz: c75d332dae8b84bdb79ea55c01d32bbb3c0a5d00
3
+ metadata.gz: f584f1571f7d2a03ce354e0129abbb396e742364
4
+ data.tar.gz: 17f742841e7dda0a78e52c8bbf5a4e25e09dd5f5
5
5
  SHA512:
6
- metadata.gz: 843878697da7798e20cacb1d002fd206b43f7aa2abebf8785cfc51ec78697faf0a35acbb27377a346e5440af26879287651cea2f0fe96f88c7c9f59f0e332d3f
7
- data.tar.gz: 04ec2af805b586ae55443d7930ca9965366fd06ab0bae699b558461442d43bbb300c5e9c68b91e9c852768c7594edabdb67202cb68062e4f1181082e474a07c3
6
+ metadata.gz: 10322269710dc568315a0e94e8bf90737b767d3debd5b44c6c8d96afe657b89be9cff0a11660d40c1099915379269be9d849aa5e73bfeb46aa7ebcfd16220ca7
7
+ data.tar.gz: 58d116ebb0e5abd0225488850d4c203b3588c8a84fecee237c5519f1f72dc6e8399549603f66ed4ce22c54f1e52f123a7eb76a3891c5c4473e492568bf842569
@@ -51,7 +51,8 @@ class PropertyDataLoader
51
51
  end
52
52
 
53
53
  def property_data_path
54
- File.expand_path("../training_data/large_property_data.csv", __FILE__)
54
+ # File.expand_path("../training_data/large_property_data.csv", __FILE__)
55
+ File.expand_path("../training_data/total_data_set.csv", __FILE__)
55
56
  end
56
57
 
57
58
  def load_csv
@@ -0,0 +1 @@
1
+ ID,CIK Number,Property Name,Loan Date,Address,City,State,Zip Code,County,General Property Type,Specific Property Type,Year Built,Year Renovated,Loan Amount,Interest Rate,PPP,Maturity Date,Originator,Appraised Value,Appraisal Date,LTV,DSCR - NOI,NOI,NCF,Square Feet,Number of Units,Unit of Measure,Amortization,Loan Term,Accrual Type,Annual Debt Service,Balance at Maturity,Occupancy %,Monthly Debt Service,Monthly CapEx,Monthly Tax Escrow,Monthly Insurance Escrow,Monthly TI/LC Escrow,U/W Revenue (EGI),U/W Expenses,Single Tenant,Purpose,Largest Tenant,Largest Tenant SqFt,Largest Tenant Lease End Date,2nd Largest Tenant,2nd Largest Tenant SqFt,2nd Largest Tenant Lease End Date,Mezz Debt,Mezz Rate,3rd Largest Tenant,3rd Largest Tenant Sq.Ft.,3rd Largest Tenant Lease End Date,4th Largest Tenant,4th Largest Tenant Sq.Ft.,4th Largest Tenant Lease End Date,5th Largest Tenant,5th Largest Tenant Sq. Ft.,5th Largest Tenant Lease End Date,2009 EGI,2009 EXP,2010 EGI,2010 EXP,2011 EGI,2011 EXP,2012 EGI,2012 EXP,2013 EGI,2013 EXP,2014 EGI,2014 EXP,2015 EGI,2015 EXP,2016 EGI,2016 EXP,2017 EGI,2017 EXP,Closing Costs,T-12 Statement Date,T-12 EGI,T-12 EXP
@@ -1,3 +1,3 @@
1
1
  module CrePropertyMatcher
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -77,7 +77,9 @@ module CrePropertyMatcher
77
77
  scales = {}
78
78
  features.each do |feature|
79
79
  array = filter_by_feature(feature).compact
80
-
80
+
81
+ # p array
82
+
81
83
  scales[feature] = {min: array.min, max: array.max, range: array.max - array.min}
82
84
  end
83
85
  scales
@@ -12,6 +12,7 @@ class TestCrePropertyMatcher < Minitest::Test
12
12
  end
13
13
 
14
14
  def test_training_data_loaded
15
- assert_equal 2464, @pm.comps.count
15
+ # assert_equal 2464, @pm.comps.count
16
+ assert_equal 9857, @pm.comps.count
16
17
  end
17
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cre_property_matcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brad Arner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-31 00:00:00.000000000 Z
11
+ date: 2015-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,8 +58,8 @@ files:
58
58
  - lib/cre_property_matcher/property_data_calculator.rb
59
59
  - lib/cre_property_matcher/property_data_loader.rb
60
60
  - lib/cre_property_matcher/resources/state_hash.rb
61
- - lib/cre_property_matcher/training_data/large_property_data.csv
62
61
  - lib/cre_property_matcher/training_data/property_data.csv
62
+ - lib/cre_property_matcher/training_data/total_data_set.csv
63
63
  - lib/cre_property_matcher/version.rb
64
64
  - test/cre_property_matcher/property_data_calculator_test.rb
65
65
  - test/cre_property_matcher_test.rb