Code Monkey home page Code Monkey logo

gns-modeling's People

Contributors

rfeinman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gns-modeling's Issues

large characters with ns greater than 9

Hi, congratulation on an amazing work... I understand having large characters with a number of parses more than 9 can make the factorial huge... do you have any suggestions on how to incorporate large characters?

Unable to run experiments due to MATLAB code with error "matlab.engine.MatlabExecutionError: Undefined function 'generate_random_parses_RF' for input arguments of type 'int64'."

Thanks for this amazing work.

I tried to run the classification experiment. I firstly followed BPL repo and download the raw MATLAB code. I was able to reproduce figure and experient by that code. Then, I download code from this repo and pyBPL. Alfter following README, I tried to run the code without slurm cluster.

For example I did something like

from get_base_parses import get_base_parses
from pybpl.matlab.bottomup.generate_random_parses import eng

def main():
    print(eng)
    parser = get_base_parses(1, reverse=False)

if __name__ == '__main__':
    main()

I found the engine was created successfully and the code failed at

 S_walks = eng.generate_random_parses_RF(I, seed, max_ntrials, max_nwalk, max_nstroke, nwalk_det)

with warning and errors like:

Unrecognized function or variable 'generate_random_parses_RF'.
Traceback (most recent call last):
...
matlab.engine.MatlabExecutionError: Undefined function 'generate_random_parses_RF' for input arguments of type 'int64'..

I did some effort to play with the environment variable BPL_PATH:

# raw BPL Path
export BPL_PATH=~/Project/MATLAB/BPL
# raw BPL with bottomup subfolder
export BPL_PATH=~/Project/MATLAB/BPL/bottomup

None of them works. I'm using trial version of MATLAB R2023a. Please kindly advise how I fix this.

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.