Skip to content

Add quick code examples#858

Merged
WenjieDu merged 24 commits into
devfrom
(test)add_examples
May 6, 2026
Merged

Add quick code examples#858
WenjieDu merged 24 commits into
devfrom
(test)add_examples

format code

79db8f9
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 5, 2026 in 42s

Quality Gate failed

Annotations

Check warning on line 25 in examples/forecasting/csdi_forecasting_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_X" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AE17hBQrpktSbMZ&open=AZ354AE17hBQrpktSbMZ&pullRequest=858

Check warning on line 23 in examples/forecasting/timesnet_forecasting_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "train_X" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AFX7hBQrpktSbMq&open=AZ354AFX7hBQrpktSbMq&pullRequest=858

Check warning on line 50 in examples/forecasting/tefn_forecasting_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_MSE" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AEA7hBQrpktSbL8&open=AZ354AEA7hBQrpktSbL8&pullRequest=858

Check warning on line 25 in examples/imputation/mrnn_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_X_intact" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AG67hBQrpktSbNL&open=AZ354AG67hBQrpktSbNL&pullRequest=858

Check warning on line 25 in examples/imputation/lerp_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_X_intact" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AIs7hBQrpktSbNj&open=AZ354AIs7hBQrpktSbNj&pullRequest=858

Check warning on line 25 in examples/imputation/crossformer_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_X_intact" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AKn7hBQrpktSbOC&open=AZ354AKn7hBQrpktSbOC&pullRequest=858

Check warning on line 24 in examples/forecasting/mixlinear_forecasting_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "val_X" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AEm7hBQrpktSbMT&open=AZ354AEm7hBQrpktSbMT&pullRequest=858

Check warning on line 25 in examples/forecasting/dlinear_forecasting_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_X" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AF47hBQrpktSbM5&open=AZ354AF47hBQrpktSbM5&pullRequest=858

Check warning on line 25 in examples/imputation/reformer_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_X_intact" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AJc7hBQrpktSbNv&open=AZ354AJc7hBQrpktSbNv&pullRequest=858

Check warning on line 25 in examples/imputation/locf_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_X_intact" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AMT7hBQrpktSbOe&open=AZ354AMT7hBQrpktSbOe&pullRequest=858

Check warning on line 26 in examples/imputation/csdi_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_X_intact" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AHl7hBQrpktSbNV&open=AZ354AHl7hBQrpktSbNV&pullRequest=858

Check warning on line 49 in examples/imputation/nonstationary_transformer_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "imputed_X" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AJT7hBQrpktSbNs&open=AZ354AJT7hBQrpktSbNs&pullRequest=858

Check warning on line 53 in examples/forecasting/mixlinear_forecasting_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_MSE" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AEm7hBQrpktSbMQ&open=AZ354AEm7hBQrpktSbMQ&pullRequest=858

Check warning on line 55 in examples/forecasting/timesnet_forecasting_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_MSE" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AFX7hBQrpktSbMo&open=AZ354AFX7hBQrpktSbMo&pullRequest=858

Check warning on line 25 in examples/imputation/saits_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_X_intact" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AGx7hBQrpktSbNJ&open=AZ354AGx7hBQrpktSbNJ&pullRequest=858

Check warning on line 25 in examples/imputation/tkan_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_X_intact" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AId7hBQrpktSbNf&open=AZ354AId7hBQrpktSbNf&pullRequest=858

Check warning on line 47 in examples/imputation/koopa_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "imputed_X" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354ALV7hBQrpktSbON&open=AZ354ALV7hBQrpktSbON&pullRequest=858

Check warning on line 54 in examples/imputation/timellm_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "imputed_X" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354ALF7hBQrpktSbOJ&open=AZ354ALF7hBQrpktSbOJ&pullRequest=858

Check warning on line 50 in examples/imputation/crossformer_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "imputed_X" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AKm7hBQrpktSbOB&open=AZ354AKm7hBQrpktSbOB&pullRequest=858

Check warning on line 25 in examples/imputation/tefn_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_X_intact" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354ALm7hBQrpktSbOS&open=AZ354ALm7hBQrpktSbOS&pullRequest=858

Check warning on line 24 in examples/imputation/trmf_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "train_X_intact" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AML7hBQrpktSbOc&open=AZ354AML7hBQrpktSbOc&pullRequest=858

Check warning on line 37 in examples/imputation/mean_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "imputed_X" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AK97hBQrpktSbOH&open=AZ354AK97hBQrpktSbOH&pullRequest=858

Check warning on line 25 in examples/forecasting/timemixerpp_forecasting_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_X" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AFx7hBQrpktSbM1&open=AZ354AFx7hBQrpktSbM1&pullRequest=858

Check warning on line 25 in examples/imputation/frets_imputation_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_X_intact" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AGD7hBQrpktSbM9&open=AZ354AGD7hBQrpktSbM9&pullRequest=858

Check warning on line 25 in examples/forecasting/segrnn_forecasting_example.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable "test_X" to match the regular expression ^[_a-z][a-z0-9_]*$.

See more on https://sonarcloud.io/project/issues?id=WenjieDu_PyPOTS&issues=AZ354AE-7hBQrpktSbMd&open=AZ354AE-7hBQrpktSbMd&pullRequest=858