Skip to content

Neural Network lacks actual learning #2

@musicarroll

Description

@musicarroll

The implementation and subsequent integration with Substrate of the machine learning application fails to demonstrate actual machine learning. The function included in the implementation of the neural network:
https://github.com/Ruby-Protocol/private_ml/blob/main/src/ml/neural_network.rs
is a single layer (hardly a network at all) that only implements the the inferencing functionality of a NN. It does not include the learning aspect which, IMHO, is crucial to the demonstration of the viability of ML use case. The thousands of training samples needed to train a network (even one as simple as this toy NN) also have privacy issues associated with them and thus may well require encryption. Moreover, this would probably need to be accomplished off-chain since high end parallel processing with GPUs is typically necessary to support this. There is precedent for training with encrypted data (see numerai: https://numer.ai/). Thus the use case presented is far too simplistic to be credible. This is, of course, a higher level issue than can be fixed in this code unit, but I wanted to at least point out the deficiency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions