请输入您要查询的百科知识:

 

词条 Weissman score
释义

  1. Example

  2. Limitations

     Examples 

  3. See also

  4. References

The Weissman score is an efficiency metric for lossless compression applications, which was developed for fictional use. It compares both required time and compression ratio of measured applications, with those of a de facto standard according to the data type. It was developed by Tsachy Weissman, a professor at Stanford University, and Vinith Misra, a graduate student, at the request of producers for HBO's television series Silicon Valley, about a fictional tech start-up.[1][2][3][4]

The formula is the following; where r is the compression ratio, T is the time required to compress, the overlined ones are the same metrics for a standard compressor, and alpha is a scaling constant.[1]

Weissman score was used in Dropbox Tech Blog to explain real-world work on lossless compression.[5]

Example

This example shows the score for the data of Hutter Prize,[6] using the paq8f as a standard and 1 as the scaling constant.

ApplicationCompression ratioCompression time [min]Weissman score
paq8f5.4676003001.000000
raq8g5.5149904200.720477
paq8hkcc5.6825933001.039321
paq8hp15.6925663001.041145
paq8hp25.7502793001.051701
paq8hp35.8000333001.060801
paq8hp45.8688293001.073383
paq8hp55.9177193001.082325
paq8hp65.9766433001.093102
paq8hp126.1042765400.620247
decomp86.2615745400.63623
decomp86.2762955400.637726

Limitations

Although the value is relative to the standards against which it is compared, the unit used to measure the times changes the score (see examples 1 and 2), and the multiplier also can't have a numeric value of 1 or less, because the logarithm of 1 is 0 (examples 3 and 4), and the logarithm of any value less than 1 is negative (examples 5 and 6); that would result in scores of value 0 (even with changes), undefined, or negative (even if better than positive).

Examples

#standard compressorscored compressorWeissman scoreObservations
compression ratiocompression timelog(compression time)compression ratiocompression timelog(compression time)
12.12 min0.301033.43 min0.4771211*(3.4/2.1)*(0.30103/0.477121)=1.021506Change in unit or scale, changes the result.
22.1120 s2.0791813.4180 s2.2552731*(3.4/2.1)*(2.079181/2.255273)=1.492632
32.21 min03.31.5 min0.1760911*(3.3/2.2)*(0/0.176091)=0If time is 1, its log is 0; then the score can be 0 or infinity.
42.20.667 min-0.1760913.31 min01*(3.3/2.2)*(-0.176091/0)=infinity
51.60.5 h-0.301032.91.1 h0.0413931*(2.9/1.6)*(-0.30103/0.041393)=-13.18138If time is less than 1, its log is negative; then the score can be negative.
61.61.1 h0.0413931.60.9 h-0.0457571*(1.6/1.6)*(0.041393/-0.045757)=-0.904627

See also

  • Benchmark
  • Coding theory
  • Information theory

References

1. ^{{Cite web|last=Perry|first=Tekla|title=A Fictional Compression Metric Moves Into the Real World|date=July 28, 2014|url=http://spectrum.ieee.org/view-from-the-valley/computing/software/a-madefortv-compression-metric-moves-to-the-real-world|accessdate=January 25, 2016}}
2. ^{{cite web|last=Perry|first=Tekla|title=A Made-For-TV Compression Algorithm|date=July 25, 2014|url=http://spectrum.ieee.org/view-from-the-valley/computing/software/a-madefortv-compression-algorithm|accessdate=January 25, 2016}}
3. ^{{cite web|last=Sandberg|first=Elise|title=HBO's 'Silicon Valley' Tech Advisor on Realism, Possible Elon Musk Cameo|url=http://www.hollywoodreporter.com/live-feed/hbos-silicon-valley-tech-advisor-695513|work=The Hollywood Reporter|date=April 12, 2014|accessdate=June 10, 2014}}
4. ^{{cite web|last1=Jurgensen|first1=John|last2=Rusli|first2=Evelyn M.|title=There's a New Geek in Town: HBO's 'Silicon Valley'|url=https://www.wsj.com/articles/SB10001424052702303987004579479244213599118|work=The Wall Street Journal|date=April 3, 2014|accessdate=June 10, 2014}}
5. ^{{Cite web|url=https://blogs.dropbox.com/tech/2016/06/lossless-compression-with-brotli/|title=Lossless compression with Brotli in Rust for a bit of Pied Piper on the backend|website=Dropbox Tech Blog|language=en|access-date=2017-06-24}}
6. ^{{Cite web|last=Hutter|first=Marcus|title=Contestants|date=July 2016|url=http://prize.hutter1.net/#contestants|accessdate=January 25, 2016}}

3 : Benchmarks (computing)|Data compression|Software metrics

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/13 22:13:15