Giter VIP home page Giter VIP logo

Comments (10)

dmarkant avatar dmarkant commented on August 21, 2024

Hi, just to be sure, you mean 4 outcomes per option (e.g., A0, A1, A2, A3), but still 2 options (A and B)? If so I might have some code that will allow for that, but I would have to track it down. Right now it would involve a number of changes to options.js, which at the moment is pretty limited to binary outcomes.

from samplingparadigmdfe.

JobLabLSU avatar JobLabLSU commented on August 21, 2024

from samplingparadigmdfe.

dmarkant avatar dmarkant commented on August 21, 2024

Okay I was able to implement this pretty easily, thanks to a handy CSV library. I created the n_options branch so that you can test it out before I merge it with the main branch.
https://github.com/dmarkant/SamplingParadigmDFE/tree/n_options

Take a look at the new CSV file (option_sets_4.csv) to see how the options are input ("x" columns indicate outcomes, "p" columns indicate their respective probabilities). Let me know if you have problems getting it running.

from samplingparadigmdfe.

dmarkant avatar dmarkant commented on August 21, 2024

oops, just realized I should have named the branch n_outcomes... still allows for only 2 options!

from samplingparadigmdfe.

JobLabLSU avatar JobLabLSU commented on August 21, 2024

I apologize for the delayed response. I have now downloaded the branch that you created, but had a question in regards to the folder titled " .ipynb_checkpoints" that folder is not showing in my download, but I noticed that the file in that folder is the same as the "option sets.ipynb" file. Should everything work without that folder.

Also, do I need to download additional software to support the ipynb file type?

from samplingparadigmdfe.

JobLabLSU avatar JobLabLSU commented on August 21, 2024

Currently downloading "Papa Parse" I am guessing that its needed
Is there anything else that I am missing?

from samplingparadigmdfe.

dmarkant avatar dmarkant commented on August 21, 2024

You can actually ignore the .ipynb files -- they are for a Jupyter notebook (http://jupyter.org) that I used to randomly generate the new option sets.

Also the PapaParse file is already in the js folder, so you shouldn't need to download it in order to run the experiment.

from samplingparadigmdfe.

JobLabLSU avatar JobLabLSU commented on August 21, 2024

from samplingparadigmdfe.

dmarkant avatar dmarkant commented on August 21, 2024

Ah sorry about that, there was a typo that caused an error. It's working now for me, let me know if you still have trouble.

from samplingparadigmdfe.

JobLabLSU avatar JobLabLSU commented on August 21, 2024

from samplingparadigmdfe.

Related Issues (2)

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.