Coder Social home page Coder Social logo

one-network's People

Contributors

rahulk64 avatar

Watchers

 avatar

one-network's Issues

Lot's of Compiling Errors

In file included from OneNetwork.cpp:1:0:
OneNetwork.hpp:6:13: error: ISO C++ forbids declaration of ‘OneNework’ with no type [-fpermissive]
OneNework(); //Default Constructor
^
OneNetwork.hpp:16:6: error: expected unqualified-id before ‘[’ token
int[] getNeurons();
^
OneNetwork.hpp:17:25: error: expected ‘,’ or ‘...’ before ‘n’
void setNeurons(int[] n);
^
OneNetwork.hpp:19:20: error: expected ‘,’ or ‘...’ before ‘examples’
void learn(int[] examples);
^
OneNetwork.hpp:26:9: error: expected unqualified-id before ‘[’ token
double[][] weights1, weight2;
^
OneNetwork.hpp:32:24: error: expected ‘,’ or ‘...’ before ‘examples’
double forward(int[] examples);
^
OneNetwork.hpp:33:25: error: expected ‘,’ or ‘...’ before ‘examples’
double backward(int[] examples, double[] results, double[] expected);
^
OneNetwork.hpp:34:25: error: expected ‘,’ or ‘...’ before ‘array’
void printArray(int[] array);
^
OneNetwork.cpp:7:1: error: prototype for ‘OneNetwork::OneNetwork()’ does not match any in class ‘OneNetwork’
OneNetwork::OneNetwork() {
^
In file included from OneNetwork.cpp:1:0:
OneNetwork.hpp:4:7: error: candidates are: constexpr OneNetwork::OneNetwork(OneNetwork&&)
class OneNetwork {
^
OneNetwork.hpp:4:7: error: constexpr OneNetwork::OneNetwork(const OneNetwork&)
OneNetwork.hpp:8:3: error: OneNetwork::OneNetwork(int, int, int)
OneNetwork(int i, int h, int o); //Takes in #input, hidden, & output neurons
^
OneNetwork.hpp:7:3: error: OneNetwork::OneNetwork(double, int, int)
OneNetwork(double l, int i, int h); //Takes in learning rate, #iterations, and #hidden neurons
^
OneNetwork.cpp:53:4: error: expected unqualified-id before ‘[’ token
int[] OneNetwork::getNeurons() {
^

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.