Comments (11)
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.
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:
- https://github.com/microsoft/0xDeCA10B/blob/main/demo/client/src/ml-models/deploy-model.ts and
- https://github.com/microsoft/0xDeCA10B/blob/main/demo/client/src/ml-models/deploy-model-node.js
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.
Awesome!
from 0xdeca10b.
The .ts file looks good!
For deploy-model-node.js, the only options needed are toFloat
, initialChunkSize
, and chunkSize
.
from 0xdeca10b.
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.
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.
@juharris kindly check,
I had made some changes as suggested by you
from 0xdeca10b.
@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.
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.
@juharris Kindly check the changes made in node.js
from 0xdeca10b.
@juharris Thanks a lot for merging
from 0xdeca10b.
Related Issues (20)
- [demo] Add way to search for added data HOT 5
- [demo] Show image for the original data when looking at refund/reward data for an image classifier HOT 1
- [demo] Add simple encoders.
- [demo] Use and store more model meta-data in local storage
- [simulation] Add MurmurHash3 option
- Body parser is now deprecated !
- [Simulation] -> Bokeh server application does not exist HOT 3
- [simulation] Use normalization like in the demo. HOT 2
- Inquiry Regarding the Opportunity of GSoC Contributions in this Repository HOT 1
- http://localhost:5006/simulate_imdb_perceptron is a blank page HOT 7
- This repo is missing an important file
- demo " run yarn client ":
- GLH-OCCHKTW0702042023
- [demo] Add an option for word hashing vocab
- WSL Deployment Consulting HOT 12
- error when run 'yarn server' HOT 1
- [demo] Track accuracy over time. HOT 8
- Storing models for cheap on Factom HOT 1
- [demo]When I run the command "yarn client", somethings goes error which reminder me "bash: deploy_client.sh:No such file or directory". HOT 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 0xdeca10b.