{"id":22402192,"url":"https://github.com/jackkimmins/simplenn","last_synced_at":"2025-10-23T19:02:34.799Z","repository":{"id":243359495,"uuid":"779960014","full_name":"jackkimmins/SimpleNN","owner":"jackkimmins","description":"Feedforward Neural Network Classifier in C++ • Data Handling, Training, Prediction, and Evaluation","archived":false,"fork":false,"pushed_at":"2024-06-08T08:19:15.000Z","size":3149,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T00:54:04.955Z","etag":null,"topics":["classification","cpp","feedforward-neural-network","neural-network","training"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jackkimmins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-31T09:33:49.000Z","updated_at":"2024-06-08T08:20:11.000Z","dependencies_parsed_at":"2024-06-08T10:42:55.244Z","dependency_job_id":null,"html_url":"https://github.com/jackkimmins/SimpleNN","commit_stats":null,"previous_names":["jackkimmins/simplenn"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jackkimmins/SimpleNN","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkimmins%2FSimpleNN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkimmins%2FSimpleNN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkimmins%2FSimpleNN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkimmins%2FSimpleNN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackkimmins","download_url":"https://codeload.github.com/jackkimmins/SimpleNN/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkimmins%2FSimpleNN/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263379522,"owners_count":23457862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["classification","cpp","feedforward-neural-network","neural-network","training"],"created_at":"2024-12-05T09:11:42.822Z","updated_at":"2025-10-23T19:02:34.706Z","avatar_url":"https://github.com/jackkimmins.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Feedforward Neural Network Classifier in C++\n\nThis project implements a feedforward neural network classifier from scratch in C++20, without relying on external libraries (other than the standard libray). It provides functionalities for data handling, training, prediction, and evaluation.\n\nThis project aims to demonstrate the core principles of neural networks and serves as an educational tool. It is not designed for production deployment.\n\nUsage Example:\n\n```cpp\n\n#include \u003cstring\u003e\n#include \u003cvector\u003e\n#include \u003ciostream\u003e\n#include \"dataset.hpp\"\n#include \"neural_network.hpp\"\n#include \"evaluator.hpp\"\n\nint main() {\n    const std::string filename = \"datasets/titanic_dataset.csv\";\n    NeuralNetwork nn(6, 20, 2, 0.001);\n\n    Dataset dataset(filename, true);\n    dataset.splitDataset(0.7);\n\n    // Train the neural network\n    if (!nn.train(1000, dataset)) return 1;\n\n    // Evaluate the neural network\n    double accuracy = Evaluator::evaluate(nn, dataset.data_test, dataset.labels_test);\n    std::cout \u003c\u003c \"Accuracy on test set: \" \u003c\u003c accuracy * 100 \u003c\u003c \"%\" \u003c\u003c std::endl;\n\n    // Predict a new data point\n    std::vector\u003cfloat\u003e dataPoint = {3, 1, 61, 0, 0, 30};\n    int predictedLabel = nn.predict(dataPoint);\n    std::cout \u003c\u003c \"Predicted label: \" \u003c\u003c predictedLabel \u003c\u003c std::endl;\n\n    return 0;\n}\n```\n\nClassification Performance on [Titanic Dataset](https://www.kaggle.com/datasets/vinicius150987/titanic3) on Test Set Split (30%): `68.2836%`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackkimmins%2Fsimplenn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackkimmins%2Fsimplenn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackkimmins%2Fsimplenn/lists"}