ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 10 Weeks Ago, 5 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 27 Apr 2017 My Price 9.00

Given an article such as this one at nytimes.com

Problem 1 :Given an article such as this one at nytimes.com, design an
* algorithm to find the most frequently co-occurring word-pair in this article.
* Two words are said to co-occur if they appear in the same sentence. You can
* assume you have access to a subroutine, sentenceSplitter(article), that can
* accurately segment an article into separate sentences. Please describe your
* algorithm unambiguously using pseudo code with necessary comments in English.
* Assume you start with an "article" variable that already contains the full

* text of an article.

Problem2;

. P={p_1, p_2, ..., p_m}, the set of products available at a local grocery
* store;
* . D={T_1, T_2, ..., T_N}, the set of transactions that were completed at this
* store in the past year, where each T_i (i in [1,N]) is a subset of P;
* . min_freq, a user-specified parameter (e.g., 5%).
*
* A product is said to be frequent if it occurs in at least min_freq of the
* transactions in D. By the same token, a pair of products is said to be
* frequent if it occurs in at least min_freq of the transactions in D. Also,
* it's straightforward to prove the following claim: if a product is not
* frequent, none of the pairs that involve this product will be frequent. Use
* this claim to
* design an algorithm to find all the frequent products and frequent product
* pairs in D. Represent your algorithm in pseudo code.

 

write pseudo code in c++

Answers

(11)
Status NEW Posted 27 Apr 2017 06:04 AM My Price 9.00

-----------

Not Rated(0)