Discover how AppDynamics steps in to upgrade your performance game and prevent your enterprise from these top 10 Java performance problems, brought to you in partnership with AppDynamics.
In my continued attempts at the Kaggle Digit Recognizer problem I’ve been playing around with the encog library to try and build a neural networks solution to the problem.
Unfortunately it’s not quite working at the moment so I wanted to
debug the code and see whether the input parameters were being correctly
translated from the CSV file.
Each input is an array containing 784 values but by default IntelliJ
restricts you to seeing 100 elements which wasn’t helpful in my case
since the early values tend to all be 0 and it’s not until you get half
way through that you see different values:
It’s actually relatively easy to see the other values by right clicking on the array in question and clicking ‘Adjust Range’:
Then I type in the end index of the array and we’re done!
The Java Zone is brought to you in partnership with AppDynamics. AppDynamics helps you gain the fundamentals behind application performance, and implement best practices so you can proactively analyze and act on performance problems as they arise, and more specifically with your Java applications. Start a Free Trial.