Skip to content

Attempt to use the k Nearest Neighbors approach to price items

Notifications You must be signed in to change notification settings

licoffe/POE-kNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disclaimer

This tool is made for education only and should not be regarded as a finished product of any kind, nor should the price estimations given by the program trusted blindly.

Introduction

This tools is an attempt to leverage the kNN classification approach to price poe items, including rare or unique objects.

The project contains two main programs :

  • An indexer to pull data from the API and store them into a local MongoDB installation, indexer.js
  • A kNN classifier to compare item features and attempt to deduce price, main.js

Installation

To get this tool running you will need to:

  • Install NodeJS from https://nodejs.org/en/ or your repo management tool
  • Install MongoDB
  • Finally, you'll need to open a terminal if not already done, change directory to the project folder and install the project dependencies by doing npm install

Running

To run the indexer, type node ./indexer.js. To run the classifier, type node ./main.js.

To specify the league, the properties of the object or the amount of neighbors to use, you can tweak the code of the classifier.

Credits

The code for this tool is heavily inspired by the tutorial of Burak Kanber, Machine Learning in JS: k-nearest-neighbor Introduction

About

Attempt to use the k Nearest Neighbors approach to price items

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published