Code Monkey home page Code Monkey logo

Comments (11)

vaibhavarora102 avatar vaibhavarora102 commented on May 3, 2024 1

Hi @juharris
I would like to contribute to this issue.
I am comfortable with Machine learning and stuff but didn't work with blockchain till now, but to the best of my knowledge what I understand is this task doesn't require knowledge of blockchain. So with that respect, I would like to go with this issue.

can you pls direct me to the respective folder or file upon which I require to work and some info regarding setting up this project in the local environment.
thanks.

from 0xdeca10b.

juharris avatar juharris commented on May 3, 2024 1

Thanks for reaching out! That's right, this doesn't require deep blockchain knowledge but it's a good intro because it involves the code that we use to deploy the smart contracts for the machine learning models.
The two files that need changes are:

Just search for "chunkSize" and you'll see how there are hard-coded chunkSizes. For deploy-model.ts, you can add initializeChunkSize and chunkSize to the options. Keep the current values as the defaults.
For deploy-model-node.js, you can introduce an options parameter like the other file has.
Let me know if you need more clarification or would like to have a call.

Thanks again for your interest!

from 0xdeca10b.

juharris avatar juharris commented on May 3, 2024 1

Awesome!

from 0xdeca10b.

juharris avatar juharris commented on May 3, 2024 1

The .ts file looks good!

For deploy-model-node.js, the only options needed are toFloat, initialChunkSize, and chunkSize.

from 0xdeca10b.

juharris avatar juharris commented on May 3, 2024 1

I'm not sure what you mean by under-promise but you should do it like it was done in the .ts file: with an options parameter as an object. So you can also remove the toFloat parameter since it will be in the options.
This breaks the current API but I think that's okay since I doubt anyone is using it. There might be places in our code where we call the method but I don't think those places will break but I don't think they're setting the toFloat value.

from 0xdeca10b.

vaibhavarora102 avatar vaibhavarora102 commented on May 3, 2024

Thank you, for telling the whole overview,
I will surely try to contribute to this, can you please assign me this issue?

and yes once after going through files if I found and the difficulty over understanding or something else will surely ask from you via GitHub comments or could surely have a call
thanks

from 0xdeca10b.

vaibhavarora102 avatar vaibhavarora102 commented on May 3, 2024

@juharris kindly check,
I had made some changes as suggested by you

from 0xdeca10b.

vaibhavarora102 avatar vaibhavarora102 commented on May 3, 2024

@juharris Shall I proceed with the node.js file if deploy-model.ts is in the right format now,
And yes can you pls guide me that which options are required to include in options (the ones that are mentioned in the function itself or all that I could see in the deploy-model.ts file)

from 0xdeca10b.

vaibhavarora102 avatar vaibhavarora102 commented on May 3, 2024

Do I need to put options in form of parameters to the function or as under-promise as done in the .ts file?

from 0xdeca10b.

vaibhavarora102 avatar vaibhavarora102 commented on May 3, 2024

@juharris Kindly check the changes made in node.js

from 0xdeca10b.

vaibhavarora102 avatar vaibhavarora102 commented on May 3, 2024

@juharris Thanks a lot for merging

from 0xdeca10b.

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.