1. Homepage
  2. Programming
  3. Mathematics for Computer Science Project 2: PAs-Modeling and CSI-Prediction

Mathematics for Computer Science Project 2: PAs-Modeling and CSI-Prediction

Engage in a Conversation
Mathematics for Computer ScienceBehavioral modelingCSI-PredictionNMSEPython

Mathematics for Computer Science Project 2 CourseNana.COM

1 Task Description CourseNana.COM

The project requires completing one of the following two tasks, and when submitting, include the project code and a report. Various methods such as non-linear regression or deep learning can be employed. CourseNana.COM

1.1 Code Implementation (4 point) CourseNana.COM

The code should consist of at least three parts: data preprocessing (1 point); CourseNana.COM

model construction (2 point);
performance evaluation (1 point). CourseNana.COM

1.2 CourseNana.COM

• • • • CourseNana.COM

Report Writing (6 point) CourseNana.COM

The report should include:
Description and analysis of the problem definition (1 point);
CourseNana.COM

Introduction to the data preprocessing process (1 point);
Detailed explanation of the methods used and implementation process (3 point); Test results (1 point).
CourseNana.COM

Task 1 - PAs-Modeling CourseNana.COM

2
2.1 Introduction CourseNana.COM

Behavioral modeling of power amplifiers (PAs) is aimed at better understanding the relation- ship between the input signals and output signals of PAs and enabling better digital predistortion. The input signal and output signal of a PA is represented as X = [...,xnm,xnm+1,...,xn,...] and Y = [..., ynm, ynm+1, ..., yn, ...], respectively. An illustrative example is shown in Fig.1, in which the behavioral modeling of the PA is to approximate the function f. CourseNana.COM

Figure 1: Diagram of the relationship between the input signals and output signals of a PA. The function f represents the black box of the PA. CourseNana.COM

With memory effects and non-linearity, a real PA can be represented as: yn =f(xn,xn1,...,xnm) CourseNana.COM

where yn is determined by xn, xn1, ..., xnm, and m is the PA’s memory depth. 2.2 Dataset CourseNana.COM

Figure 2: The Normalized Amplitude/amplitude (AM/AM) response of the PA. CourseNana.COM

The normalized amplitude/amplitude (AM/AM) response of the PA is shown in Fig. 2. The spread in the AM/AM response suggests that the PA has memory effects. We collect the dataset and request you to conduct behavioral modeling, namely capturing the relationship between the input signals and output signals of the PA. CourseNana.COM

In the PA dataset, ’PA data test.mat’ refers to the test set, ’PA data train.mat’ refers to the training set, and in the mat file, ’paInput’ represents the input data, and ’paOutput’ represents the output data, datas are all one-dimensional complex arrays. CourseNana.COM

  dataset/
     task1/

PA data test.mat CourseNana.COM

PA data train.mat task2/ CourseNana.COM

...... CourseNana.COM

Evaluation metric CourseNana.COM

The performance is evaluated by the Normalized Mean Square Error (NMSE) between the predicted signals and the actual PA output signals. Since the signal matrix is a complex matrix, when calculating NMSE, it is necessary to split the real and imaginary parts into real numbers, calculate them separately, and then sum them up.The calculation formula is as follows: CourseNana.COM

PN (I (n)Iˆ (n))2 +(Q (n)Qˆ (n))2 CourseNana.COM

NMSE = 10lg( n=1 out out out PNn=1(Iout(n))2 + (Qout(n))2 CourseNana.COM

)
where
Iˆ (n) represents the real part of the predicted value, Qˆ (n) represents the imaginary CourseNana.COM

out out
part of the predicted value, Iout(n) represents the real part of the actual value, and Qout(n) represents the imaginary part of the actual value. CourseNana.COM

3 Task 2 - CSI-Prediction CourseNana.COM

3.1 Introduction CourseNana.COM

Channel prediction refers to predicting the future channel state based on past Channel State Information (CSI) data and other relevant information in wireless communication systems. The main purpose of this task is to anticipate the trend of channel variations, thereby taking cor- responding adjustment measures in communication systems to maximize communication perfor- mance and resource utilization efficiency. CourseNana.COM

Here, we will use Channel Frequency Response (CFR) as the prediction data. CFR, which represents the frequency attenuation and phase delay of the channel at different frequencies, is commonly used to describe the characteristics of the channel in the frequency domain. The CFR at time t is a complex vector ht Cns , where ns represents the number of frequencies. Therefore, the channel prediction task can be expressed as: CourseNana.COM

(ht+1, ht+2, ..., ht+l) = F (htr+1, htr+2, ..., ht), 3 CourseNana.COM

where r is the length of historical CFR used for prediction, and l is the length of future CFR to be predicted, indicating using the past r time points’ CFR to predict the future l time points’ CFR. CourseNana.COM

3.2 Dataset CourseNana.COM

The dataset consists of real-world data from a scenario with drone. The feature is CFR, represented as a complex matrix with two dimensions: time and frequency, i.e. CFR Cnt×ns, where nt represents the length of the time series, and ns represents the number of frequencies. CourseNana.COM

In the CFR dataset, ’CFR test.mat’ refers to the test set, ’CFR train (0,1,2,3).mat’ refers to the training set, and in the mat file, ’CFR’ represents the CFR data, and CFR are all two- dimensional complex arrays. The frequency dimension is 28-dimensional. CourseNana.COM

  dataset/
     task1/

...... CourseNana.COM

task2/
CFR test.mat CFR train 0.mat CFR train 1.mat CFR train 2.mat CFR train 3.mat
CourseNana.COM

Evaluation metric CourseNana.COM

The performance is evaluated by the Normalized Mean Square Error (NMSE) between the predicted CFR and the actual CFR. Since the CFR matrix is a complex matrix, when calculating NMSE, it is necessary to split the real and imaginary parts into real numbers, calculate them separately, and then sum them up. The calculation formula is as follows: CourseNana.COM

PN (I (n)Iˆ (n))2 +(Q (n)Qˆ (n))2 CourseNana.COM

NMSE = 10lg( n=1 out out out PNn=1(Iout(n))2 + (Qout(n))2 CourseNana.COM

)
where
Iˆ (n) represents the real part of the predicted value, Qˆ (n) represents the imaginary CourseNana.COM

out out
part of the predicted value, Iout(n) represents the real part of the actual value, and Qout(n) represents the imaginary part of the actual value. CourseNana.COM

4 Hint CourseNana.COM

  • Since the dataset consists of complex numbers, most neural network architectures or time series analysis algorithms cannot handle complex numbers. Therefore, it is possible to split the complex numbers into real and imaginary parts for separately processing. Similarly, when calculating NMSE, the real and imaginary parts are calculated separately; CourseNana.COM

  • NMSE is not used as a scoring metric. As long as the method used is reasonable and the 4 CourseNana.COM

CourseNana.COM

implementation process is correct, there is no need to focus too much on the effectiveness of NMSE; CourseNana.COM

  • In Task1, the data is only one-dimensional, leaning towards traditional algorithms such as non-linear regression. In Task2, due to its higher dimensionality, the data may be more suitable for deep learning algorithms. CourseNana.COM

  • In Task 1, the objective is to predict one output data using a certain length (m) of input data. In Task 2, the objective is to predict a certain length (l) of future data using a certain length (r) of historical data. The lengths of the input and output windows (m,l,r) can be determined by yourself. CourseNana.COM

    5 Submission CourseNana.COM

    Submit a single zip file named StudentID StudentName.zip that includes: 1. The Python code file(s) in a separate folder named ’code’ .
    2. The PDF report (named as StudentID StudentName.pdf).
    CourseNana.COM

    StudentID StudentName.zip code/ CourseNana.COM

    ...... CourseNana.COM

    StudentID StudentName.pdf CourseNana.COM

Get in Touch with Our Experts

WeChat WeChat
Whatsapp WhatsApp
Mathematics for Computer Science代写,Behavioral modeling代写,CSI-Prediction代写,NMSE代写,Python代写,Mathematics for Computer Science代编,Behavioral modeling代编,CSI-Prediction代编,NMSE代编,Python代编,Mathematics for Computer Science代考,Behavioral modeling代考,CSI-Prediction代考,NMSE代考,Python代考,Mathematics for Computer Sciencehelp,Behavioral modelinghelp,CSI-Predictionhelp,NMSEhelp,Pythonhelp,Mathematics for Computer Science作业代写,Behavioral modeling作业代写,CSI-Prediction作业代写,NMSE作业代写,Python作业代写,Mathematics for Computer Science编程代写,Behavioral modeling编程代写,CSI-Prediction编程代写,NMSE编程代写,Python编程代写,Mathematics for Computer Scienceprogramming help,Behavioral modelingprogramming help,CSI-Predictionprogramming help,NMSEprogramming help,Pythonprogramming help,Mathematics for Computer Scienceassignment help,Behavioral modelingassignment help,CSI-Predictionassignment help,NMSEassignment help,Pythonassignment help,Mathematics for Computer Sciencesolution,Behavioral modelingsolution,CSI-Predictionsolution,NMSEsolution,Pythonsolution,