Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

This might be a be simple but I just want to make sure I didn't use the wrong notation.

If I have a set of weighted terms, ${w_1, w_2, \dots, w_n}$ and the score is the sum of $w_1$ to $w_n$ normalize by count of $w$. Count of $w$ is just the total number of terms, i.e. $n$. so, can I write:

$score = \frac{\sum{w_i}}{\left | w \right |}$ ?

p/s: $W = \{w_1, w_2, \dots, w_n \}$ but I don't really want to introduce $W$ for the sake of showing the count using $|W|$.

Thanks.

share|improve this question
    
I am cool to get a downvote like I said this is a simple question and I am clarifying it. But for the nice guy who downvoted would you be nice again and explain why do I get a downvote? –  cherhan Oct 27 '13 at 13:25
    
For the guys who downvoted, that's very helpful. Thanks very much. –  cherhan Oct 27 '13 at 13:28
    
I don't think one has to be sarcastic about that. I think the downvoter just needs you to edit your post and clarify the meaning of $w$ ;-) –  BIS HD Oct 27 '13 at 13:29
    
@BISHD I am more that happy to edit and learn and improve the answer so that it benefits everyone else too. But NO information provided to advise how/what should I improve? –  cherhan Oct 27 '13 at 13:31
    
If information is missing out you could start with the information I gave you in my answer. Tell the world, what $w$ is. ;-) Otherwise you are right about the downvoter not giving any information on why he down voted it. –  BIS HD Oct 27 '13 at 13:33
show 2 more comments

1 Answer

up vote 1 down vote accepted

If $w$ is the set of weighted terms, you are right.

share|improve this answer
    
$w$ is a set of weighted terms. Count of $w$ is total number of terms, i.e. $n$ –  cherhan Oct 27 '13 at 13:24
    
Ok, sets are usually denoted by upper case, but this is just a convention. –  BIS HD Oct 27 '13 at 13:25
    
I understand that, and $w$ is the individual item in $W$, what I want is to avoid using $W$ just because I want to show $\left | W \right |$ if it's possible –  cherhan Oct 27 '13 at 13:26
    
Edited my answer. –  BIS HD Oct 27 '13 at 13:27
    
Thanks very much. –  cherhan Oct 27 '13 at 13:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.