# Online Rating System

I need someone to create the six short scripts describedbelow. The scripts will run on my linux web server and will? processstatistical data extracted from a MySQL database. The scripts may use Octave or some other mathematical package to do their job. These scripts will not be required to display the data graphically. I only need to be able toinvoke these scripts be from the linux command line using a task scheduler.?

## Deliverables

The functions I would like to have created are specified below. You can use any open source or commercially available curve fitting software but you must let me know so I can investigate (e.g. determine how much it costs) before agreeing to go that route.

find_maxima

This function should take a frequency distribution as input and attempt to fit the frequency distribution to a Gaussian curve. It should extrapolate the peak of the curve to five decimal places and return this value as the result. The frequency distribution will be a two dimensional array of values for variables x and y, with x being a rating from 1 to ten and y being the number of times the rating has been given.

get_std_dev

Given the frequency distribution described above, I would like a script that outputs the standard deviation of the rating. It would likely be more efficient to calculate the standard deviation as part of find_maxima, and to simply retrieve the value here. In that case this function will only be a shell or wrapper function.

get_avg

Given the frequency distribution described above, I would like a script that outputs the avg rating. It would likely be more efficient to calculate the average as part of find_maxima, and to simply retrieve the value here. In that case this function will only be a shell or wrapper function.?

detect_outlier

Given an integer “z?? representing a rating as well as the frequency distribution described above, I would like a script that calls get_std_dev to calculate the standard deviation in the ratings and then detects whether “z?? is within a standard deviation of the mean rating. The script should return 1 or ‘true’ if the value is greater than 1 standard deviation from the mean and 0 or ‘false’ otherwise. It would likely be more efficient to calculate the standard deviation as part of find_maxima, and to simply retrieve the value here.?

detect_ratings_skew

Given an array of ratings made by a particular judge and given the frequency distribution of the overall ratings (described above) this code will compare the count of the judge’s ratings that are within the standard deviation of the norm to count of the judge’s ratings that are the determined to be outliers. If more than 32% of the judges ratings are statistical outliers then the function will indicate a skew in the individual judges ratings by returning 1 or ‘true’. The function will return 0 or ‘false’ otherwise.?

Pseudocode:

? ? ? ? ? ? ? ? ? ? ? If outliers/(outliers+ratings_within_norm) > 0.32 then

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Return true

? ? ? ? ? ? ? ? ? ? ? Else

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Return false

Given the mean and standard deviation of the overall ratings and the frequency distribution of ratings given by a particular judge, this function should adjust the ratings of that judge so that they have the same mean and standard deviation of the overall ratings. The output will be a new two dimensional array containing each rating from one to ten and the adjusted value of that rating.

Habilidades: Engenharia, Linux, MySQL, PHP, Arquitetura de software, Teste de Software

( 0 comentários ) Canada

ID do Projeto: #2961499

## 5 freelancers estão ofertando em média \$519 para este trabalho

akkiniraj

See private message.

\$765 USD in 14 dias
(84 Comentários)
6.4
infocular

See private message.

\$1530 USD in 14 dias
(36 Comentários)
5.8
YoctoPetaBorg

See private message.

\$85 USD in 14 dias
(26 Comentários)
4.8
alienwebdevvw

See private message.

\$127.5 USD in 14 dias
(6 Comentários)
2.9
vw7352331vw

See private message.

\$85 USD in 14 dias
(3 Comentários)
0.0