After updating your projects, you may want to give it a new version number. Here are four steps of how to change it:
Step 0: Click the target — you can see your current version name (Opencv Tutorial)
Step 1: (slowly)Double Click the name(in blue), you will be able to change the name (Opencv Tutorial1.1)
Step 2: Now add a new scheme
Step 3: X-code should already automatically detect the changes, so simply click OK. You are done Now:)
I accidentally made some mistakes in my codes which lead to using almost 10 times of negative samples than positive samples for training a SVM classifier. The performance drops almost 30%, which is quite significant. The overwhelming negative samples biased the classification boundary. Here’s a nice paper in ECML 2004 that studies on this problem. The author summarizes three reasons on the cause of performance loss with imbalanced data.
1. Positive points lie further from the ideal boundary.
An intuitive way to think about this is using the example provided by the author: draw n randomly chosen numbers between 1 to 100 from a uniform distribution (because it’s uniform, at each draw, the chance of drawing 100 is 1/100), the chances of drawing a number close to 100 would improve with increasing of n(n/100).
2. Weakness of soft-margines
The punishment term (C) minimizes the associated errors. If C is not very large, then SVM simply classify everything as negatives, because the error on few positive examples are so small.
3. Imbalanced Support Vector Ratio.
With imbalanced training data, the ratio between the positive and negative support vectors also becomes more imbalanced. Therefore, it increase the chance that the neighborhood of a test example is dominated by negative support vectors, and is more likely to classify boundary point as negative.
I was having an error when compile one piece of code within Eclipse.
java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version;/CareMonths, offset=6
Got some help from here, which thinks that the reason of the error is because of the unmatched jdk version. And of course, install it.
So tried a simple fix, and it works:
1. go to here download the right version, I am downloading the newest version because of my code.
2. In your eclipse, go to Window->preference->Java->Installed JREs.
From where you can find your current version& its path. Do ‘Add’ add the newest installed JDK <> . If you are using window, the default installation path is <C:\Program Files\Java\jdk1.7.0_17>. Check this version for your project.
There are a lot of principals that one can follow in life. Clear ones, fuzzy ones, sweet ones or tough ones. Sometime we may also forget them, but the magic of life always works its way to opens new doors, new challenges for us, and remind us of its bones. Here are a few that were shuffled by this magic and put to the top of my list during last year:
- Learn to adapt to completely new topics.
- Always be nice and from the heart. By which, no matter what happend, you have a peace mind and soul.
- Work hard and be bold to show an imperfect yourself. Always remind yourself your personal developing goal.
- Speak or ask, for whatever you don’t know. But sometimes, be quiet.
- Be patient in the learning/growing process.
- Make good plans before you start, clear and doable. It’s better to organize your time and effort rather than clean up a mess afterwards.
- Create the need to be needed.
- Failures is a natural process. Learn from it — it’s a matter of choice.
- Say yes to every opportunity, no matter how hard it seems to be. All life demands struggle. You can only cultivate your strengths through the climbing.
- Be grateful.
What would you think about Big Data? Everyone seems excited about the 4Vs: Volume, Velocity, Variety, and Veracity. But everything comes with two sides (The curse of big data). When you flip the cois, just to be careful of which side you are really getting.