frequency-distribution

Calculating frequency distribution of a collection with .Net/C#

Is there a fast/simple way to calculate the frequency distribution of a .Net collection using Linq or otherwise? For example: An arbitrarily long List contains many repetitions. What's a clever way of walking the list and counting/tracking repetitions? ...

MATLAB : frequency distribution

I have raw observations of 500 numeric values (ranging from 1 to 25000) in a text file, I wish to make a frequency distribution in MATLAB. I did try the histogram (hist), however I would prefer a frequency distribution curve than blocks and bars. Any help is appreciated ! ...

Network drive indexing frequency

The company I work for have millions of documents that are stored and shared on multiple network drives mapped to users' drives (e.g.] d:\ to \server1\, etc). What I'd like to implement is to crawl over network drives and let users find files fast using a full-text indexing. My current indexing strategy is Lucene.net But I am not su...

SQL query: How to count frequency over a many-to-many relation?

I have a table for blogposts and a table for tags, with a many-to-many relation between them. How can I extract the most frequent tag across a subset of blogposts? (e.g. only those from the past year) Is there a way to extract the frequencies of all the tags associated with the blogposts subset? Thanks Edit: my schema: CREATE TABLE ...

Cryptography. English "normal text" ?

I was asked to make a software that will encrypt and decrypt a "normal English" text based on letter frequencies. The question is where do I find some text samples where the official frequencies will match? So far, I have tried "War and Peace" by Lev Tolstoy, it didn't work well.. LE: I don't need just a list of words, I need a text s...