GithubHelp home page GithubHelp logo

Comments (2)

LauraWartschinski avatar LauraWartschinski commented on June 15, 2024

The X indicates that it is the values, the Y indicates the labels. So for example, the first entry in "something_X" represents a piece of code, which consists of several code tokens, which are represented each with their vector representation. So the first entry in "something_X" is a list of vectors.

The first entry in "something_Y" is the label, a binary number, indicating whether the aforementioned code snippet contains a vulnerability or not.

The datasets in this form are used to evaluate the LSTM model, which is why they are called "finaltest", as opposed to "train" and "validate" (which are used for initial training, and for the testing that was done to fine-tune the hyperparameters).

They are for example used in trymodel.py, where the datasets are loaded and the LSTM model is used to make predictions, and then those predictions are compared to the actual labels to see how well the model is doing its job.

I hope this helps :)

from vulnerabilitydetection.

lsqLoveCoding avatar lsqLoveCoding commented on June 15, 2024

I fully understand! Thank you for your detailed guidance:)

from vulnerabilitydetection.

Related Issues (15)

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.