[Ethereum] How to use machine learning with smart contract?

blockchainmachine-learningsolidity

I'm new in programming Blockchain. I want to make a smart contract with machine learning, a simple case. I know how to create a solidity contract, but I do not know how to add learning to the contract. Does anyone have any ideas?

Best Answer

Machine Learning usually takes a lot of processing power and memory. Blockchain costs a lot for any processing power or memory. I would create smart contracts that do minimal processing and data collection from the blockchain and offload everything CPU and memory intensive via web3, web3j or some other off-chain API to a traditional server.

Related Topic