Small tweaks.

This commit is contained in:
Relintai 2023-12-30 09:58:22 +01:00
parent 21345cdff8
commit 5c58a5f0b1
2 changed files with 21 additions and 19 deletions

View File

@ -4,6 +4,7 @@ var mlpp_tests : MLPPTests = null
func _ready() -> void: func _ready() -> void:
mlpp_tests = MLPPTests.new() mlpp_tests = MLPPTests.new()
# mlpp_tests.test_statistics() # mlpp_tests.test_statistics()
# mlpp_tests.test_linear_algebra() # mlpp_tests.test_linear_algebra()
# mlpp_tests.test_univariate_linear_regression() # mlpp_tests.test_univariate_linear_regression()
@ -15,13 +16,11 @@ func _ready() -> void:
# mlpp_tests.test_multivariate_linear_regression_sgd(ui) # mlpp_tests.test_multivariate_linear_regression_sgd(ui)
# mlpp_tests.test_multivariate_linear_regression_mbgd(ui) # mlpp_tests.test_multivariate_linear_regression_mbgd(ui)
# mlpp_tests.test_multivariate_linear_regression_normal_equation(ui) # mlpp_tests.test_multivariate_linear_regression_normal_equation(ui)
#mlpp_tests.test_multivariate_linear_regression_adam() # mlpp_tests.test_multivariate_linear_regression_adam(ui)
# mlpp_tests.test_multivariate_linear_regression_score_sgd_adam(ui) # mlpp_tests.test_multivariate_linear_regression_score_sgd_adam(ui)
# mlpp_tests.test_multivariate_linear_regression_epochs_gradient_descent(ui) # mlpp_tests.test_multivariate_linear_regression_epochs_gradient_descent(ui)
# mlpp_tests.test_multivariate_linear_regression_newton_raphson(ui) # mlpp_tests.test_multivariate_linear_regression_newton_raphson(ui)
#
# mlpp_tests.test_logistic_regression(ui) # mlpp_tests.test_logistic_regression(ui)
# mlpp_tests.test_probit_regression(ui) # mlpp_tests.test_probit_regression(ui)
# mlpp_tests.test_c_log_log_regression(ui) # mlpp_tests.test_c_log_log_regression(ui)
@ -29,7 +28,7 @@ func _ready() -> void:
# mlpp_tests.test_tanh_regression(ui) # mlpp_tests.test_tanh_regression(ui)
# mlpp_tests.test_softmax_regression(ui) # mlpp_tests.test_softmax_regression(ui)
# mlpp_tests.test_support_vector_classification(ui) # mlpp_tests.test_support_vector_classification(ui)
#
# mlpp_tests.test_mlp(ui) # mlpp_tests.test_mlp(ui)
# mlpp_tests.test_soft_max_network(ui) # mlpp_tests.test_soft_max_network(ui)
# mlpp_tests.test_autoencoder(ui) # mlpp_tests.test_autoencoder(ui)
@ -39,11 +38,10 @@ func _ready() -> void:
# mlpp_tests.test_ann(ui) # mlpp_tests.test_ann(ui)
# mlpp_tests.test_dynamically_sized_mann(ui) # mlpp_tests.test_dynamically_sized_mann(ui)
# mlpp_tests.test_train_test_split_mann(ui) # mlpp_tests.test_train_test_split_mann(ui)
#
# mlpp_tests.test_naive_bayes() # mlpp_tests.test_naive_bayes()
# mlpp_tests.test_k_means(ui) # mlpp_tests.test_k_means(ui)
# mlpp_tests.test_knn(ui) # mlpp_tests.test_knn(ui)
#
# mlpp_tests.test_convolution_tensors_etc() # mlpp_tests.test_convolution_tensors_etc()
# mlpp_tests.test_pca_svd_eigenvalues_eigenvectors(ui) # mlpp_tests.test_pca_svd_eigenvalues_eigenvectors(ui)
# #
@ -56,4 +54,8 @@ func _ready() -> void:
# mlpp_tests.test_mlpp_vector() # mlpp_tests.test_mlpp_vector()
# mlpp_tests.test_mlpp_matrix() # mlpp_tests.test_mlpp_matrix()
mlpp_tests.test_mlpp_matrix_mul() #mlpp_tests.test_mlpp_matrix_mul()
PLogger.log_message("Tests Finished!")
get_tree().quit()

View File

@ -1,11 +1,11 @@
extends Node extends Node
var mlpp_tests : MLPPMatrixTests = null var mlpp_martix_tests : MLPPMatrixTests = null
func _ready() -> void: func _ready() -> void:
mlpp_tests = MLPPMatrixTests.new() mlpp_martix_tests = MLPPMatrixTests.new()
mlpp_tests.run_tests() mlpp_martix_tests.run_tests()
#mlpp_tests.test_mlpp_matrix() #mlpp_tests.test_mlpp_matrix()
#mlpp_tests.test_mlpp_matrix_mul() #mlpp_tests.test_mlpp_matrix_mul()