Replaces vectors depending on image coefficients and bias

In Price Tracker, the product 'title' and 'price' features are dependent upon the 'image' feature results (e.g. there is a rule for the 'price' feature called 'isNearImage' which scores a candidate 'price' element based on its proximity to the most likely 'image' element).

As a result, the final weights and bias from training the 'image' feature need to be taken into account before vectorizing the 'title' and 'price' features. This commit updates the vectors for 'title' and 'price' to take this into account.
This commit is contained in:
Daniel Hertenstetin 2019-06-28 17:43:04 -04:00 коммит произвёл Bianca Danforth
Родитель 6633a3619a
Коммит a67205044e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 2C96DD7DB2A2D72D
4 изменённых файлов: 4 добавлений и 4 удалений

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1 +1 @@
{"header":{"version":1,"featureNames":["isNearImageTopOrBottom"]},"pages":[{"filename":"amazon-40%20(22).html","nodes":[{"isTarget":true,"features":[0.9]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]}]},{"filename":"amazon-40%20(30).html","nodes":[{"isTarget":true,"features":[0.3173900375366211]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]}]},{"filename":"amazon-40%20(37).html","nodes":[{"isTarget":true,"features":[0.08]}]},{"filename":"amazon-40%20(8).html","nodes":[{"isTarget":true,"features":[0.7442]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]}]},{"filename":"best_buy-40%20(11).html","nodes":[{"isTarget":true,"features":[0.08]}]},{"filename":"best_buy-40%20(24).html","nodes":[{"isTarget":true,"features":[0.3506]}]},{"filename":"best_buy-40%20(26).html","nodes":[{"isTarget":true,"features":[0.49820000000000003]}]},{"filename":"best_buy-40%20(5).html","nodes":[{"isTarget":true,"features":[0.39980000000000004]}]},{"filename":"ebay-1%20(15).html","nodes":[{"isTarget":true,"features":[0.89795]}]},{"filename":"ebay-1%20(30).html","nodes":[{"isTarget":true,"features":[0.89795]}]},{"filename":"home_depot-40%20(17).html","nodes":[{"isTarget":true,"features":[0.08]}]},{"filename":"home_depot-40%20(21).html","nodes":[{"isTarget":true,"features":[0.8508]}]},{"filename":"home_depot-40%20(25).html","nodes":[{"isTarget":true,"features":[0.45310000000000006]}]},{"filename":"home_depot-40%20(28).html","nodes":[{"isTarget":true,"features":[0.6171]}]},{"filename":"home_depot-40%20(32).html","nodes":[{"isTarget":true,"features":[0.6171]}]},{"filename":"home_depot-40%20(38).html","nodes":[{"isTarget":true,"features":[0.08]}]},{"filename":"walmart-40%20(20).html","nodes":[{"isTarget":true,"features":[0.8344]}]},{"filename":"walmart-40%20(25).html","nodes":[{"isTarget":true,"features":[0.736]}]},{"filename":"walmart-40%20(38).html","nodes":[{"isTarget":true,"features":[0.8344]}]},{"filename":"walmart-40%20(39).html","nodes":[{"isTarget":true,"features":[0.8344]}]}]}
{"header":{"version":1,"featureNames":["isNearImageTopOrBottom"]},"pages":[{"filename":"amazon-40%20(22).html","nodes":[{"isTarget":true,"features":[0.9]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]}]},{"filename":"amazon-40%20(30).html","nodes":[{"isTarget":true,"features":[0.3173900375366211]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]}]},{"filename":"amazon-40%20(37).html","nodes":[{"isTarget":true,"features":[0.08]}]},{"filename":"amazon-40%20(8).html","nodes":[{"isTarget":true,"features":[0.7442]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]},{"isTarget":false,"features":[0.08]}]},{"filename":"best_buy-40%20(11).html","nodes":[{"isTarget":true,"features":[0.08]}]},{"filename":"best_buy-40%20(24).html","nodes":[{"isTarget":true,"features":[0.3506]}]},{"filename":"best_buy-40%20(26).html","nodes":[{"isTarget":true,"features":[0.08]}]},{"filename":"best_buy-40%20(5).html","nodes":[{"isTarget":true,"features":[0.39980000000000004]}]},{"filename":"ebay-1%20(15).html","nodes":[{"isTarget":true,"features":[0.89795]}]},{"filename":"ebay-1%20(30).html","nodes":[{"isTarget":true,"features":[0.89795]}]},{"filename":"home_depot-40%20(17).html","nodes":[{"isTarget":true,"features":[0.08]}]},{"filename":"home_depot-40%20(21).html","nodes":[{"isTarget":true,"features":[0.8508]}]},{"filename":"home_depot-40%20(25).html","nodes":[{"isTarget":true,"features":[0.45310000000000006]}]},{"filename":"home_depot-40%20(28).html","nodes":[{"isTarget":true,"features":[0.6171]}]},{"filename":"home_depot-40%20(32).html","nodes":[{"isTarget":true,"features":[0.6171]}]},{"filename":"home_depot-40%20(38).html","nodes":[{"isTarget":true,"features":[0.08]}]},{"filename":"walmart-40%20(20).html","nodes":[{"isTarget":true,"features":[0.8344]}]},{"filename":"walmart-40%20(25).html","nodes":[{"isTarget":true,"features":[0.736]}]},{"filename":"walmart-40%20(38).html","nodes":[{"isTarget":true,"features":[0.8344]}]},{"filename":"walmart-40%20(39).html","nodes":[{"isTarget":true,"features":[0.8344]}]}]}

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны