Coder Social home page Coder Social logo

vivekyy / ivm Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 274.43 MB

A neural network prediction system built for the IVM dataset project--takes in a description for a component and outputs a list of dependent components it thinks will be related to this input

Home Page: http://basilwhite.com/ivm/

Python 100.00%

ivm's Introduction

IVM

Projects related to the Integrated Value Model.

http://basilwhite.com/ivm/

Here you will find a neural network prediction system that will take in a description for a component and output a list of dependent components it believes will be related to this input.

How to use it: The simplest way to use this is to add your description(s) to the file titled "description.txt", making sure that each component description is in a single line of the file (otherwise, the model will split up a component description by line and create recommendations for each line of the description separately). Then, run use_model.py. This will then print out a list of dependent components it believes to be relevant to your input description.

The model needs to be trained whenever a new dependent component is added in. When a new component is added, the model can be optionally retrained to potentially increase prediction accuracy, but this is not entirely necessary. To retrain the model on an updated dataset, make sure the dataset is saved as 'IntegratedValueModelrawdata.xlsx' and run train.py. Alternatively, you can specify the name of the new dataset file using the --dataset_path parameter. When using a different excel spreadsheet, make sure the spreadsheet is formatted as it is in the raw data spreadsheet found on the IVM website (http://basilwhite.com/ivm/).

You can also modify the training protocol if needed and train multiple different networks, use -h to see the customizable parameters in model.py and in use_model.py.

If you alter the vocabulary size from 500 when training the model, be sure to specify the new vocabulary size in the --vocab_size parameter when running use_model.py.

If you are using models other than models/bow.pt, make sure to specify the name of the model you are using with the --model_path parameter when running use_model.py. The model should be saved into the "models" folder and the argument used for --model_path should be the name of the model without the folder name or the .pt extension (for example, running use_model.py with the model stored at "models/bow.pt" would be accomplished by typing "python use_model.py --model_path bow").

ivm's People

Contributors

vivekyy avatar

Stargazers

AlphaTango avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.