
Python script for transformation of frequency distribution
- or -
Post a project like this1270
€200(approx. $231)
- Posted:
- Proposals: 13
- Remote
- #3543651
- Awarded
Matlab,Phyton & C++ developer, Data scientist, Deep and Machine learning, Altium, PCB designing, Arduino programing

Talented Engineer with Experience in Designing and Implementing Programatic-Based Solutions
Artificial Intelligence| machine Learning |Deep Learning |Computer Vision |Medical Imaging | NLP|Graphic Designer
242570322748045623148274675266048217029329214764065562605049907639460723066543491639





Description
Experience Level: Entry
Estimated project duration: less than 1 week
I need a python script which finds the transfer function between the discrete frequency distributions of two variables alpha and beta. The variables alpha and beta describe angles (between 0 and 360 deg, i.e. -3 deg => 357 deg) which have a quite similar frequency distribution. The frequency distribution is defined as counts per bin, where the bin width should be adjustable between 10 and 30 degree and each bin centered around the given angle (e.g. for 10 deg bin width: bin 0=[-5, 5[, bin 1=[-5, 15[, ...). The variables alpha and beta are float, but a rounding to integer would be acceptable.
The transfer function delta() to be found should be formulated as delta(alpha), such that: freq_dist(delta(alpha)) is nearly equal to: freq_dist(beta). It may not be possible to find equality, but the difference between the distributions should be minimized. The transfer function shifts the value by adding a small delta, it should be a steady and smooth function as near to zero as possible and typically will not exceed the range [-30, 30] (this maximum range may be given as parameter). The function may be approximated by an analytical function (like higher order polynom), but this is not necessary, a discrete formulation like delta[class], with class describing discrete classes of the alpha variable with a width between 1 and 30 degrees, would be acceptable. In case of numerical determination of a discrete transfer function, a measure to ensure steadiness/smoothness of the function shall bet taken, like defining a maximum difference of the delta function between neighbouring classes, like maximum 3 deg when 10 deg classes are used.
A python script which provides a simple data structure for handling the data (numpy array) along with four test cases (pairs of distributions) will be provided. The task is to provide an algorithm as python script which is generally applicable and provides a reasonable solution for the test cases. A short term response and solution will be much appreciated.
Required skills:
Data evaluation with Python; numpy; libraries for curve fitting, optimisation, possibly machine learning
The transfer function delta() to be found should be formulated as delta(alpha), such that: freq_dist(delta(alpha)) is nearly equal to: freq_dist(beta). It may not be possible to find equality, but the difference between the distributions should be minimized. The transfer function shifts the value by adding a small delta, it should be a steady and smooth function as near to zero as possible and typically will not exceed the range [-30, 30] (this maximum range may be given as parameter). The function may be approximated by an analytical function (like higher order polynom), but this is not necessary, a discrete formulation like delta[class], with class describing discrete classes of the alpha variable with a width between 1 and 30 degrees, would be acceptable. In case of numerical determination of a discrete transfer function, a measure to ensure steadiness/smoothness of the function shall bet taken, like defining a maximum difference of the delta function between neighbouring classes, like maximum 3 deg when 10 deg classes are used.
A python script which provides a simple data structure for handling the data (numpy array) along with four test cases (pairs of distributions) will be provided. The task is to provide an algorithm as python script which is generally applicable and provides a reasonable solution for the test cases. A short term response and solution will be much appreciated.
Required skills:
Data evaluation with Python; numpy; libraries for curve fitting, optimisation, possibly machine learning

M S.
100% (1)Projects Completed
1
Freelancers worked with
1
Projects awarded
67%
Last project
29 Mar 2022
Germany
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies