{"id":19021866,"url":"https://github.com/jackosheadev/oopmachinelearning","last_synced_at":"2025-07-17T13:39:01.696Z","repository":{"id":189406364,"uuid":"468123384","full_name":"JackOSheaDev/OOPMachineLearning","owner":"JackOSheaDev","description":"This is a project I created for my OOP course during semester 2 which uses Naïve Bayes to identify the likelihood of someone being an entrepreneur","archived":false,"fork":false,"pushed_at":"2022-04-20T16:20:53.000Z","size":179,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-02T00:43:00.310Z","etag":null,"topics":["java","machine-learning","naive-bayes-algorithm","naive-bayes-classifier","prediction","predictive-modeling"],"latest_commit_sha":null,"homepage":"","language":"Java","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/JackOSheaDev.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}},"created_at":"2022-03-09T23:21:42.000Z","updated_at":"2022-05-23T23:58:01.000Z","dependencies_parsed_at":"2023-08-19T22:08:36.435Z","dependency_job_id":null,"html_url":"https://github.com/JackOSheaDev/OOPMachineLearning","commit_stats":null,"previous_names":["jackosheadev/oopmachinelearning"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackOSheaDev%2FOOPMachineLearning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackOSheaDev%2FOOPMachineLearning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackOSheaDev%2FOOPMachineLearning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackOSheaDev%2FOOPMachineLearning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JackOSheaDev","download_url":"https://codeload.github.com/JackOSheaDev/OOPMachineLearning/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240066115,"owners_count":19742612,"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":["java","machine-learning","naive-bayes-algorithm","naive-bayes-classifier","prediction","predictive-modeling"],"created_at":"2024-11-08T20:23:51.479Z","updated_at":"2025-02-21T18:25:39.598Z","avatar_url":"https://github.com/JackOSheaDev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# My Machine Learning project:\nThis is a project I created for the second semester of OOP. It uses\nNaive Bayes to read a dataset and calculates the probability of\nsomeone becoming an entrepreneur or a comic book character being a hero.\n\n## Core Functionality:\nThe core functionality of this program is that it can read a dataset and perform Naive Bayes on it\nto determine the probability of someone becoming an entrepreneur.\n\n## Advanced Functionality:\nThe advanced functionality of this program is that the UI and data reading\nare performed dynamically based on the inputted data. By using a categorical\nCSV file, the program is able to dynamically read info about the dataset\nand perform Naive Bayes with no modification to the code.\n\n## What would I add?:\nIf I had more time for this project I would consider finding an algorithm similar\nto Naive Bayes and see if i could increase the accuracy or experiment with adding\nfunctionality for numerical data rather than categorical data.\n\n## Link to video:\nhttps://www.youtube.com/watch?v=LR3jmVT92m4 Part 1 which shows the entrepreneur dataset.\nhttps://www.youtube.com/watch?v=LvwfaX1RHl0 Part 2 which shows the superhero dataset.\n\n## Link to Repo\nhttps://github.com/JackOSheaDev/OOPMachineLearning\n\n\n## Classes:\n### MachineLearning\n#### FileReader:\nUsed to read in the contents of a file using the Java file object.\n\n#### CSVReader:\nAn implementation of FileReader that is built to read in a CSV.\n\n#### DataAnalyser:\nA class which splits the dataset into a form which is easier to read.\n\n#### NaiveBayes:\nPerforms the Naive Bayes algorithm on the dataset passed to the CSV Reader.\n\n#### Main:\nRuns the main code to demonstrate how it works.\n\n### MachineLearningGUI\n\n#### CustomComponents:\nA class which creates customised styled components for the GUI.\n\n#### Model\nA class which stores all the data used by the GUI.\n\n#### View\nA class which stores all the UI elements of the GUI.\n\n#### Controller\nA class which interacts with the model and view to display information.\n\n#### Main\nA class which initialises the main GUI.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackosheadev%2Foopmachinelearning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackosheadev%2Foopmachinelearning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackosheadev%2Foopmachinelearning/lists"}