digitrecognizer's People
digitrecognizer's Issues
Move image-related methods into an image utilities class
Refactor UI effects from model-related actions
See addTopPanel() in UI.java: code that relates to training machine learning algorithms shouldn't be directly interacting with the UI since it violates separation of concerns.
EdgeDetection: call to convolution.applyConvolutionWithPaddingIterative > Wrong Parameters
convolution.applyConvolutionWithPaddingIterative(image[0], height, width, filter, 3, 3, 1);
applyConvolutionWithPadding(double[][] image, int width, int height, double[][] kernel,int kernelWidth, int kernelHeight)
There is a problem with one of them.
Either the function call or the function.
It takes some time to recognize the digit when you press the button (SimpleNN or CNN) for the first time. (Possible problem in description)
In the initial version, objects for SimpleNN and CNN were initialized when the UI starts. Now I think they are initialized when the button is clicked for the first time.
I suggest the initialization should be moved to some other place so that SimpleNN/CNN object is ready before we click the button.
UI.java (Initial Version)
main(){...
neuralNetwork.init();
convolutionalNeuralNetwork.init();
...}
Remove UI references to NeuralNetwork classes
We'll want some sort of middle-man layer to orchestrate calls between the UI and NeuralNetwork classes.
Possibility of an adapter or bridge?
Re-orient design to MVC architecture
There'll be some subtasks related to this. This issue just serves as an umbrella for a lot of separation of concerns violations.
Refactor ML model types (NeuralNetwork, CNN) to implement common interface
Refactor Logger use
Possibilities:
- Decorator that wraps a logger instance: aggregated class methods that return data can be fed through the decorator methods and printed using the logger
- Dependency Injection: Modify class methods to accept a Logger
Refactor Swing component creation
Possibiliities:
- Factory
- Builder
Combine all classes into single package
Convolution: Merge applyConvolutionWithPaddingIterative and applyAreaConvolutionWithPadding
applyConvolutionWithPaddingIterative
is called from EdgeDetection.
The function of applyConvolutionWithPaddingIterative
is to apply applyAreaConvolutionWithPadding
n number of times (iteratively).
But in the call from EdgeDetection, the number of iterations is 1. Therefore the software is not using the function in an ideal manner.
(It is kind of using a for loop
to process a statement once)
Create updated UML diagram for project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.