简体   繁体   English

区块链 - Cartesi Rollup 中的机器学习

[英]Blockchain - Machine Learning in Cartesi Rollup

Is it possible somehow to train a machine learnig model inside the Cartesi Machine?是否有可能以某种方式在 Cartesi 机器中训练机器学习 model? I believe, if models are trained outside Cartesi, its not possible to audit the results integrity, if it is biased or not.我相信,如果模型是在 Cartesi 之外训练的,则无法审核结果的完整性,无论是否有偏见。 If everything is within Cartesi, I think this would be possible.如果一切都在 Cartesi 之内,我认为这是可能的。

projects that I saw:我看到的项目:

https://github.com/souzavinny/rollups-examples/tree/main/biometrics https://github.com/souzavinny/rollups-examples/tree/main/biometrics

https://medium.com/cartesi/ecosystem-update-mainstream-developers-on-the-blockchain-os-e7210b381ca4 https://medium.com/cartesi/ecosystem-update-mainstream-developers-on-the-blockchain-os-e7210b381ca4

It's possible to have two approaches: just run the trained model inside the Cartesi Machine or train it inside.可能有两种方法:只需在 Cartesi 机器中运行经过训练的 model 或在内部进行训练。 If your DApp doesn't benefit from proving the model itself, you can port just the model to the Cartesi Machine.如果您的 DApp 无法从证明 model 本身中获益,您可以仅将 model 移植到 Cartesi 机器。 If allowing others to replicate the training to obtain exactly the same model is important to your DApp, you can have the training set available along with the Cartesi Machine to train it so others can reproduce it.如果允许其他人复制训练以获得完全相同的 model 对您的 DApp 很重要,您可以将训练集与 Cartesi 机器一起提供来训练它,以便其他人可以复制它。

Bare in mind that if you want to train the model inside the Cartesi Machine, you'll have to port all the dependencies needed to train it while if you just want to run the model you can take a similar approach to the one on the biometric example you provided, needing the dependencies only on your native machine to generate the model and not having to worry about porting them to the Cartesi Machine RISC-V based ISA.请记住,如果你想在 Cartesi 机器中训练 model,你必须移植训练它所需的所有依赖项,而如果你只想运行 model,你可以采用与生物识别上的方法类似的方法您提供的示例,只需要在您的本机上生成 model 的依赖项,而不必担心将它们移植到基于 Cartesi Machine RISC-V 的 ISA。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM