Git Product home page Git Product logo

Comments (6)

dkeeney avatar dkeeney commented on June 12, 2024

from htm.core.

breznak avatar breznak commented on June 12, 2024

The Yaml is more readable and we need Yaml for parameter processing anyway.

Could you point me to the param handling code? Actually, I'd like to replace all the individual setXX, setXY setters/getters with a {json: "style"} format and a factory. So a config can be saved in separate file and passed to other algorithms (useful for param optimization, etc)

everything else uses plain binary stream writes. It is fast, non-invasive, but not platform independent.

I'd like to ask about your thoughts on capnp? I dislike it for it bloats so much of the codebase, on the other hand, there's already a lot of code written and it works.

from htm.core.

dkeeney avatar dkeeney commented on June 12, 2024

from htm.core.

breznak avatar breznak commented on June 12, 2024

looked at replacing it with simple JSON because it would be much simpler (and we could remove the last dependency) but I think we would break a lot of people's existing implementations. In the forums people talk about their setup in ModelParams.yaml. And I think it might also break OPF if we removed this.

https://codebeautify.org/yaml-to-json-xml-csv

I'd still consider that scenario (shifting from yaml to json), what do you think about asking people for one-time automated conversion of their config?

from htm.core.

dkeeney avatar dkeeney commented on June 12, 2024

I will take on removing capnproto. My branch will be "remove_capnproto"

from htm.core.

breznak avatar breznak commented on June 12, 2024

Awesome, I'm looking forward! Please open a PR even if you have some WIP, so we can review incrementally.

from htm.core.

Related Issues (20)

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.