├── .gitignore ├── .travis.yml ├── DCO1.1.txt ├── LICENSE.txt ├── Makefile ├── README.md ├── docs ├── Makefile ├── README.md ├── cheatsheet.md ├── conf.py ├── developers.md ├── index.html ├── index.rst └── inference.md ├── notebooks ├── coin.ipynb ├── error_reporting.ipynb └── slicstan.ipynb ├── setup.py ├── tests ├── __init__.py ├── runtime │ ├── __init__.py │ ├── test_coin.py │ ├── test_gaussian_process.py │ ├── test_gradient_warn.py │ ├── test_kmeans.py │ ├── test_logistic.py │ ├── test_missing_data.py │ ├── test_regression.py │ ├── test_regression_matrix.py │ ├── test_row_vector_expr_terms.py │ ├── test_schools.py │ ├── test_squared_error.py │ ├── test_validate_arr_expr_primitives.py │ ├── test_vectorized_probability.py │ └── utils.py ├── stan │ ├── ch02_02_comment.stan │ ├── ch02_02_include.stan │ ├── ch02_02_inline.stan │ ├── ch02_02_std_normal.stan │ ├── ch03_03_bound_1.stan │ ├── ch03_03_bound_2.stan │ ├── ch04_11_chain_rule.stan │ ├── ch05_9_print.stan │ ├── ch06_2_variables.stan │ ├── ch09_regression.stan │ ├── ch09_regression_bernoulli.stan │ ├── ch09_regression_matrix.stan │ ├── ch09_regression_qr.stan │ ├── ch10_time_ar_1.stan │ ├── ch10_time_ar_k.stan │ ├── ch10_time_arch_1.stan │ ├── ch10_time_arma_1_1.stan │ ├── ch10_time_garch_1_1.stan │ ├── ch10_time_hmm_supervised.stan │ ├── ch10_time_ma_2.stan │ ├── ch10_time_ma_q.stan │ ├── ch10_time_svm.stan │ ├── ch11_loading_matrix.stan │ ├── ch11_missing_data.stan │ ├── ch11_partially_known_paramters.stan │ ├── ch11_sliced_missing_data.stan │ ├── ch12_estimate_censored.stan │ ├── ch12_integrate_censored.stan │ ├── ch12_integrate_censored_2.stan │ ├── ch12_truncated.stan │ ├── ch13_log_sum_of_exp.stan │ ├── ch13_zero_inflation.stan │ ├── ch14_regression_error.stan │ ├── ch14_rounding.stan │ ├── ch14_rounding_2.stan │ ├── ch15_change_point.stan │ ├── ch15_cormack_jolly_seber.stan │ ├── ch15_dawid_skene.stan │ ├── ch15_lincoln_petersen.stan │ ├── ch17_k_means.stan │ ├── ch17_lda.stan │ ├── ch17_naive_bayes.stan │ ├── ch18_fitting_gaussian_process.stan │ ├── ch18_gaussian_process.stan │ ├── ch18_gaussian_process_2.stan │ ├── ch18_latent_gaussian_process.stan │ ├── ch18_multiple_outputs.stan │ ├── ch18_predictive_inference.stan │ ├── ch18_predictive_inference_2.stan │ ├── ch18_predictive_inference_3.stan │ ├── ch18_relevance_determination.stan │ ├── ch21_oscillator.stan │ ├── ch21_oscillator_2.stan │ ├── ch21_oscillator_estimation.stan │ ├── ch22_3_change.stan │ ├── ch22_3_transform.stan │ ├── ch23_1_triangle.stan │ ├── ch24_1_relative_diff.stan │ ├── ch24_2_function_as_statement.stan │ ├── ch25_fits1.stan │ ├── ch25_fits2.stan │ ├── ch28_11_standardizing_1.stan │ ├── ch28_11_standardizing_2.stan │ ├── ch28_8_bernoulli.stan │ ├── ch28_neal_1.stan │ ├── ch28_neal_2.stan │ ├── ch28_vectorization_1.stan │ ├── ch28_vectorization_2.stan │ ├── ch28_vectorization_3.stan │ ├── ch28_vectorized_probability.stan │ ├── ch31_square_error.stan │ ├── ch34_2_sampling.stan │ ├── coin.stan │ ├── fun.stan │ ├── fundecl.stan │ ├── slice.stan │ ├── slice2.stan │ ├── slicstan.stan │ ├── test_stan.py │ └── types.stan └── yaps │ ├── coin.py │ ├── coin_verbose.py │ ├── regression.py │ ├── regression_bernoulli.py │ ├── regression_matrix.py │ ├── regression_qr.py │ ├── slicstan.py │ ├── stan_types.py │ └── truncated.py └── yaps ├── __init__.py ├── decorator.py ├── ir.py ├── labeled_strings.py ├── lib.py ├── py2ir.py ├── roundtrip.py ├── stan.g4 ├── stan2yaps.py ├── stanLexer.py ├── stanListener.py └── stanParser.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/.travis.yml -------------------------------------------------------------------------------- /DCO1.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/DCO1.1.txt -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/README.md -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/cheatsheet.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/docs/cheatsheet.md -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/developers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/docs/developers.md -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/docs/index.html -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/inference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/docs/inference.md -------------------------------------------------------------------------------- /notebooks/coin.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/notebooks/coin.ipynb -------------------------------------------------------------------------------- /notebooks/error_reporting.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/notebooks/error_reporting.ipynb -------------------------------------------------------------------------------- /notebooks/slicstan.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/notebooks/slicstan.ipynb -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/runtime/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/runtime/test_coin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/runtime/test_coin.py -------------------------------------------------------------------------------- /tests/runtime/test_gaussian_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/runtime/test_gaussian_process.py -------------------------------------------------------------------------------- /tests/runtime/test_gradient_warn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/runtime/test_gradient_warn.py -------------------------------------------------------------------------------- /tests/runtime/test_kmeans.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/runtime/test_kmeans.py -------------------------------------------------------------------------------- /tests/runtime/test_logistic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/runtime/test_logistic.py -------------------------------------------------------------------------------- /tests/runtime/test_missing_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/runtime/test_missing_data.py -------------------------------------------------------------------------------- /tests/runtime/test_regression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/runtime/test_regression.py -------------------------------------------------------------------------------- /tests/runtime/test_regression_matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/runtime/test_regression_matrix.py -------------------------------------------------------------------------------- /tests/runtime/test_row_vector_expr_terms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/runtime/test_row_vector_expr_terms.py -------------------------------------------------------------------------------- /tests/runtime/test_schools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/runtime/test_schools.py -------------------------------------------------------------------------------- /tests/runtime/test_squared_error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/runtime/test_squared_error.py -------------------------------------------------------------------------------- /tests/runtime/test_validate_arr_expr_primitives.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/runtime/test_validate_arr_expr_primitives.py -------------------------------------------------------------------------------- /tests/runtime/test_vectorized_probability.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/runtime/test_vectorized_probability.py -------------------------------------------------------------------------------- /tests/runtime/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/runtime/utils.py -------------------------------------------------------------------------------- /tests/stan/ch02_02_comment.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch02_02_comment.stan -------------------------------------------------------------------------------- /tests/stan/ch02_02_include.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch02_02_include.stan -------------------------------------------------------------------------------- /tests/stan/ch02_02_inline.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch02_02_inline.stan -------------------------------------------------------------------------------- /tests/stan/ch02_02_std_normal.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch02_02_std_normal.stan -------------------------------------------------------------------------------- /tests/stan/ch03_03_bound_1.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch03_03_bound_1.stan -------------------------------------------------------------------------------- /tests/stan/ch03_03_bound_2.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch03_03_bound_2.stan -------------------------------------------------------------------------------- /tests/stan/ch04_11_chain_rule.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch04_11_chain_rule.stan -------------------------------------------------------------------------------- /tests/stan/ch05_9_print.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch05_9_print.stan -------------------------------------------------------------------------------- /tests/stan/ch06_2_variables.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch06_2_variables.stan -------------------------------------------------------------------------------- /tests/stan/ch09_regression.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch09_regression.stan -------------------------------------------------------------------------------- /tests/stan/ch09_regression_bernoulli.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch09_regression_bernoulli.stan -------------------------------------------------------------------------------- /tests/stan/ch09_regression_matrix.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch09_regression_matrix.stan -------------------------------------------------------------------------------- /tests/stan/ch09_regression_qr.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch09_regression_qr.stan -------------------------------------------------------------------------------- /tests/stan/ch10_time_ar_1.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch10_time_ar_1.stan -------------------------------------------------------------------------------- /tests/stan/ch10_time_ar_k.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch10_time_ar_k.stan -------------------------------------------------------------------------------- /tests/stan/ch10_time_arch_1.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch10_time_arch_1.stan -------------------------------------------------------------------------------- /tests/stan/ch10_time_arma_1_1.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch10_time_arma_1_1.stan -------------------------------------------------------------------------------- /tests/stan/ch10_time_garch_1_1.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch10_time_garch_1_1.stan -------------------------------------------------------------------------------- /tests/stan/ch10_time_hmm_supervised.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch10_time_hmm_supervised.stan -------------------------------------------------------------------------------- /tests/stan/ch10_time_ma_2.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch10_time_ma_2.stan -------------------------------------------------------------------------------- /tests/stan/ch10_time_ma_q.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch10_time_ma_q.stan -------------------------------------------------------------------------------- /tests/stan/ch10_time_svm.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch10_time_svm.stan -------------------------------------------------------------------------------- /tests/stan/ch11_loading_matrix.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch11_loading_matrix.stan -------------------------------------------------------------------------------- /tests/stan/ch11_missing_data.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch11_missing_data.stan -------------------------------------------------------------------------------- /tests/stan/ch11_partially_known_paramters.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch11_partially_known_paramters.stan -------------------------------------------------------------------------------- /tests/stan/ch11_sliced_missing_data.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch11_sliced_missing_data.stan -------------------------------------------------------------------------------- /tests/stan/ch12_estimate_censored.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch12_estimate_censored.stan -------------------------------------------------------------------------------- /tests/stan/ch12_integrate_censored.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch12_integrate_censored.stan -------------------------------------------------------------------------------- /tests/stan/ch12_integrate_censored_2.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch12_integrate_censored_2.stan -------------------------------------------------------------------------------- /tests/stan/ch12_truncated.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch12_truncated.stan -------------------------------------------------------------------------------- /tests/stan/ch13_log_sum_of_exp.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch13_log_sum_of_exp.stan -------------------------------------------------------------------------------- /tests/stan/ch13_zero_inflation.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch13_zero_inflation.stan -------------------------------------------------------------------------------- /tests/stan/ch14_regression_error.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch14_regression_error.stan -------------------------------------------------------------------------------- /tests/stan/ch14_rounding.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch14_rounding.stan -------------------------------------------------------------------------------- /tests/stan/ch14_rounding_2.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch14_rounding_2.stan -------------------------------------------------------------------------------- /tests/stan/ch15_change_point.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch15_change_point.stan -------------------------------------------------------------------------------- /tests/stan/ch15_cormack_jolly_seber.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch15_cormack_jolly_seber.stan -------------------------------------------------------------------------------- /tests/stan/ch15_dawid_skene.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch15_dawid_skene.stan -------------------------------------------------------------------------------- /tests/stan/ch15_lincoln_petersen.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch15_lincoln_petersen.stan -------------------------------------------------------------------------------- /tests/stan/ch17_k_means.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch17_k_means.stan -------------------------------------------------------------------------------- /tests/stan/ch17_lda.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch17_lda.stan -------------------------------------------------------------------------------- /tests/stan/ch17_naive_bayes.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch17_naive_bayes.stan -------------------------------------------------------------------------------- /tests/stan/ch18_fitting_gaussian_process.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch18_fitting_gaussian_process.stan -------------------------------------------------------------------------------- /tests/stan/ch18_gaussian_process.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch18_gaussian_process.stan -------------------------------------------------------------------------------- /tests/stan/ch18_gaussian_process_2.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch18_gaussian_process_2.stan -------------------------------------------------------------------------------- /tests/stan/ch18_latent_gaussian_process.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch18_latent_gaussian_process.stan -------------------------------------------------------------------------------- /tests/stan/ch18_multiple_outputs.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch18_multiple_outputs.stan -------------------------------------------------------------------------------- /tests/stan/ch18_predictive_inference.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch18_predictive_inference.stan -------------------------------------------------------------------------------- /tests/stan/ch18_predictive_inference_2.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch18_predictive_inference_2.stan -------------------------------------------------------------------------------- /tests/stan/ch18_predictive_inference_3.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch18_predictive_inference_3.stan -------------------------------------------------------------------------------- /tests/stan/ch18_relevance_determination.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch18_relevance_determination.stan -------------------------------------------------------------------------------- /tests/stan/ch21_oscillator.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch21_oscillator.stan -------------------------------------------------------------------------------- /tests/stan/ch21_oscillator_2.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch21_oscillator_2.stan -------------------------------------------------------------------------------- /tests/stan/ch21_oscillator_estimation.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch21_oscillator_estimation.stan -------------------------------------------------------------------------------- /tests/stan/ch22_3_change.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch22_3_change.stan -------------------------------------------------------------------------------- /tests/stan/ch22_3_transform.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch22_3_transform.stan -------------------------------------------------------------------------------- /tests/stan/ch23_1_triangle.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch23_1_triangle.stan -------------------------------------------------------------------------------- /tests/stan/ch24_1_relative_diff.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch24_1_relative_diff.stan -------------------------------------------------------------------------------- /tests/stan/ch24_2_function_as_statement.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch24_2_function_as_statement.stan -------------------------------------------------------------------------------- /tests/stan/ch25_fits1.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch25_fits1.stan -------------------------------------------------------------------------------- /tests/stan/ch25_fits2.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch25_fits2.stan -------------------------------------------------------------------------------- /tests/stan/ch28_11_standardizing_1.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch28_11_standardizing_1.stan -------------------------------------------------------------------------------- /tests/stan/ch28_11_standardizing_2.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch28_11_standardizing_2.stan -------------------------------------------------------------------------------- /tests/stan/ch28_8_bernoulli.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch28_8_bernoulli.stan -------------------------------------------------------------------------------- /tests/stan/ch28_neal_1.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch28_neal_1.stan -------------------------------------------------------------------------------- /tests/stan/ch28_neal_2.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch28_neal_2.stan -------------------------------------------------------------------------------- /tests/stan/ch28_vectorization_1.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch28_vectorization_1.stan -------------------------------------------------------------------------------- /tests/stan/ch28_vectorization_2.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch28_vectorization_2.stan -------------------------------------------------------------------------------- /tests/stan/ch28_vectorization_3.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch28_vectorization_3.stan -------------------------------------------------------------------------------- /tests/stan/ch28_vectorized_probability.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch28_vectorized_probability.stan -------------------------------------------------------------------------------- /tests/stan/ch31_square_error.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch31_square_error.stan -------------------------------------------------------------------------------- /tests/stan/ch34_2_sampling.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/ch34_2_sampling.stan -------------------------------------------------------------------------------- /tests/stan/coin.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/coin.stan -------------------------------------------------------------------------------- /tests/stan/fun.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/fun.stan -------------------------------------------------------------------------------- /tests/stan/fundecl.stan: -------------------------------------------------------------------------------- 1 | functions { 2 | void sum(int[,] a) {} 3 | } 4 | model { 5 | } -------------------------------------------------------------------------------- /tests/stan/slice.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/slice.stan -------------------------------------------------------------------------------- /tests/stan/slice2.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/slice2.stan -------------------------------------------------------------------------------- /tests/stan/slicstan.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/slicstan.stan -------------------------------------------------------------------------------- /tests/stan/test_stan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/test_stan.py -------------------------------------------------------------------------------- /tests/stan/types.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/stan/types.stan -------------------------------------------------------------------------------- /tests/yaps/coin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/yaps/coin.py -------------------------------------------------------------------------------- /tests/yaps/coin_verbose.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/yaps/coin_verbose.py -------------------------------------------------------------------------------- /tests/yaps/regression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/yaps/regression.py -------------------------------------------------------------------------------- /tests/yaps/regression_bernoulli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/yaps/regression_bernoulli.py -------------------------------------------------------------------------------- /tests/yaps/regression_matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/yaps/regression_matrix.py -------------------------------------------------------------------------------- /tests/yaps/regression_qr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/yaps/regression_qr.py -------------------------------------------------------------------------------- /tests/yaps/slicstan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/yaps/slicstan.py -------------------------------------------------------------------------------- /tests/yaps/stan_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/yaps/stan_types.py -------------------------------------------------------------------------------- /tests/yaps/truncated.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/tests/yaps/truncated.py -------------------------------------------------------------------------------- /yaps/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/yaps/__init__.py -------------------------------------------------------------------------------- /yaps/decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/yaps/decorator.py -------------------------------------------------------------------------------- /yaps/ir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/yaps/ir.py -------------------------------------------------------------------------------- /yaps/labeled_strings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/yaps/labeled_strings.py -------------------------------------------------------------------------------- /yaps/lib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/yaps/lib.py -------------------------------------------------------------------------------- /yaps/py2ir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/yaps/py2ir.py -------------------------------------------------------------------------------- /yaps/roundtrip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/yaps/roundtrip.py -------------------------------------------------------------------------------- /yaps/stan.g4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/yaps/stan.g4 -------------------------------------------------------------------------------- /yaps/stan2yaps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/yaps/stan2yaps.py -------------------------------------------------------------------------------- /yaps/stanLexer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/yaps/stanLexer.py -------------------------------------------------------------------------------- /yaps/stanListener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/yaps/stanListener.py -------------------------------------------------------------------------------- /yaps/stanParser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/yaps/HEAD/yaps/stanParser.py --------------------------------------------------------------------------------