Reference no: EM131352695
In the program trainvq . c the empty cell problem is resolved by replacing the vector with no associated training set vectors with a training set vector from the quantization region with the largest number of vectors.
In given problem, we will investigate some possible alternatives. Generate a sequence of pseudorandom numbers with a triangular distribution between 0 and 2. (You can obtain a random number with a triangular distribution by adding two uniformly distributed random numbers.) Design an eight-level, two-dimensional vector quantizer with the initial codebook shown in Table 10.9.
(a) Use the trainv q program to generate a codebook with 10,000 random numbers as the training set. Comment on the final codebook you obtain. Plot the elements of the codebook and discuss why they ended up where they did.
(b) Modify the program so that the empty cell vector is replaced with a vector from the quantization region with the largest distortion. Comment on any changes in
Initial codebook for given problem:-
1
|
1
|
1
|
2
|
1
|
0.5
|
0.5
|
1
|
0.5
|
0.5
|
1.5
|
1
|
2
|
5
|
3
|
3
|
the distortion (or lack of change). Is the final codebook different from the one you obtained earlier?
(c) Modify the program so that whenever an empty cell problem arises, a two-level quantizer is designed for the quantization region with the largest number of output points. Comment on any differences in the codebook and distortion from the previous two cases.
Common practice with expensive-high-tech equipment
: You work for a nuclear research laboratory that is contemplating leasing a diagnostic scanner (leasing is a common practice with expensive, high-tech equipment). What would the lease payment have to be for both the lessor and the lessee to be indiffe..
|
What should be included in the communication plan
: Which of the phases of project management would you consider the key for a project's success? Please discuss how you might apply these techniques to your own work environment. Please provide an example and discuss the impact of using the techniq..
|
Contrast asexual and sexual reproduction
: 1. Compare and contrast asexual and sexual reproduction. 2. Explain why both sexual and asexual reproductive strategies still exist (ie, why doesn't every organism reproduce sexually? Why doesn't every organism reproduce sexually?).
|
Draw current voltage characteristics for the junctions
: When two metals are separated by a very thin insulator, electrons from one metal can tunnel through the insulator to the other metal.
|
Generate a sequence of pseudorandom numbers
: Investigate some possible alternatives.- Generate a sequence of pseudorandom numbers with a triangular distribution between 0 and 2.-
|
Nuclear research laboratory-calculate the nal
: You work for a nuclear research laboratory that is contemplating leasing a diagnostic scanner (leasing is a common practice with expensive, high-tech equipment). The scanner costs $8,050,000, and it would be depreciated straight-line to zero over fiv..
|
What is the amount of bad debt deduction
: Dr. D, a dentist, performed a root canal for a patient and charged him $300. The patient paid $100, then left town, never to be seen again. What is the amount of bad debt deduction, if any, that D may claim assuming that she is a cash basis taxpayer?
|
Examine the effects of the actions taken
: What levels of the hierarchy of controls are most applicable to system safety? Are any levels not useful when applying system safety? Provide one or more examples that support your response. Examine the effects of the actions taken.
|
Ruined carpeting from clogged sewer line
: During the year, R had various losses. Explain whether each of the following would qualify as a casualty loss. Loss of tree from Dutch elm disease. Ruined carpeting from clogged sewer line. Hole in his suit from cigarette ashes he dropped; ruined shi..
|