Very simple explanation on "that" and "which". But I would say- this one is the best clarification I found on the web so far. I am confident enough now to use either of the two as the papers I review mostly mix up them.
[Originally from Mignon Fogarty]
"
Restrictive Clause--That
A restrictive clause is just part of a sentence that you can't get rid of because it specifically restricts some other part of the sentence. Here's an example:
Gems that sparkle often elicit forgiveness.
The words that sparkle restrict the kind of gems you're talking about. Without them, the meaning of the sentence would change. Without them, you'd be saying that all gems elicit forgiveness, not just the gems that sparkle. (And note that you don't need commas around the words that sparkle).
Nonrestrictive Clause--Which
A nonrestrictive clause is something that can be left off without changing the meaning of the sentence. You can think of a nonrestrictive clause as simply additional information. Here's an example:
Diamonds, which are expensive, often elicit forgiveness.
Leaving out the words which are expensive doesn't change the meaning of the sentence. (Also note that the phrase is surrounded by commas. Nonrestrictive clauses are usually surrounded by, or preceded by, commas.
"
Total Pageviews
Showing posts with label Rushdi. Show all posts
Showing posts with label Rushdi. Show all posts
Friday, 12 August 2011
Thursday, 24 March 2011
True Negatives and Accuracy
Hello folks! Welcome back! We have talked about Precision and Recall and eventually three terminologies appeared: True positives, false positives and false negatives. Today, we will talk about accuracy and hence, we need to know another term: True negative.
Let's go back to our old example.
You were given 10 balls in a box, 6 of which are white and 4 are red. You were asked to pick only the red balls from the box and you picked 7 balls- 2 of them are really red but 5 white balls fooled you.
Now, our true positives are 2, false positives are 5 and false negatives are 2.
A true negative is what you thought negative and really was negative: in our case, which is- you thought a ball as white in the box, and that ball is really white. So, number of true negatives for our example is:
True negatives = Total Balls - (True positives + False Positives + False Negatives)
= 10 - (2 + 5 + 2) = 1.
Why are we eager to know the number of true negatives? Well, because if we want to measure how accurate you were in picking up red balls, then we need to know your true negatives as well.
The formula for accuracy is
Accuracy = (True positives + True negatives) / (True positives + True negatives + False positives + False negatives)
In your case, your accuracy is equal o (2 + 1) / 10 = 30%.
Let's go back to our old example.
You were given 10 balls in a box, 6 of which are white and 4 are red. You were asked to pick only the red balls from the box and you picked 7 balls- 2 of them are really red but 5 white balls fooled you.
Now, our true positives are 2, false positives are 5 and false negatives are 2.
A true negative is what you thought negative and really was negative: in our case, which is- you thought a ball as white in the box, and that ball is really white. So, number of true negatives for our example is:
True negatives = Total Balls - (True positives + False Positives + False Negatives)
= 10 - (2 + 5 + 2) = 1.
Why are we eager to know the number of true negatives? Well, because if we want to measure how accurate you were in picking up red balls, then we need to know your true negatives as well.
The formula for accuracy is
Accuracy = (True positives + True negatives) / (True positives + True negatives + False positives + False negatives)
In your case, your accuracy is equal o (2 + 1) / 10 = 30%.
Subscribe to:
Posts (Atom)