Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Prolog mlpack Library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
Prolog mlpack Library
Commits
943fa702
Commit
943fa702
authored
2 years ago
by
Jakhes
Browse files
Options
Downloads
Patches
Plain Diff
Udating all_tests
parent
89d3a7ce
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/methods/kde/kde_test.pl
+0
-8
0 additions, 8 deletions
src/methods/kde/kde_test.pl
test_all.pl
+3
-3
3 additions, 3 deletions
test_all.pl
with
3 additions
and
11 deletions
src/methods/kde/kde_test.pl
+
0
−
8
View file @
943fa702
...
...
@@ -18,14 +18,6 @@ reset_Model :-
%% Failure Tests
%% only raises an exeption if the model hasnt been initilized once, so only after fully reseting the tests.
test
(
kde_EvaluateWithQuery_Befor_Init
,
[
error
(
_
,
system_error
(
'no KDE model initialized'
))])
:-
evaluateWithQuery
([
5.1
,
3.5
,
1.4
,
4.9
,
3.0
,
1.4
,
4.7
,
3.2
,
1.3
,
4.6
,
3.1
,
1.5
],
3
,
_
).
%% only raises an exeption if the model hasnt been initilized once, so only after fully reseting the tests.
test
(
kde_EvaluateNoQuery_Befor_Init
,
[
error
(
_
,
system_error
(
'no KDE model initialized'
))])
:-
evaluateNoQuery
(
_
).
test
(
kde_Init_Negative_Bandwidth
,
fail
)
:-
initAndBuildModel
(
-
1.0
,
0.05
,
0.0
,
gaussian
,
kd_tree
,
dual_tree
,
0
,
0.95
,
100
,
3.0
,
0.4
,
[
5.1
,
3.5
,
1.4
,
4.9
,
3.0
,
1.4
,
4.7
,
3.2
,
1.3
,
4.6
,
3.1
,
1.5
],
3
).
...
...
This diff is collapsed.
Click to expand it.
test_all.pl
+
3
−
3
View file @
943fa702
...
...
@@ -14,7 +14,7 @@
:-
use_module
(
'src/methods/approx_kfn/approx_kfn_test.pl'
).
%%
:- use_module('src/methods/bayesian_linear_regression/bayesian_linear_regression_test.pl').
:-
use_module
(
'src/methods/bayesian_linear_regression/bayesian_linear_regression_test.pl'
).
:-
use_module
(
'src/methods/dbscan/dbscan_test.pl'
).
...
...
@@ -30,11 +30,11 @@
:-
use_module
(
'src/methods/kernel_pca/kernel_pca_test.pl'
).
%%
:- use_module('src/methods/kfn/kfn_test.pl').
:-
use_module
(
'src/methods/kfn/kfn_test.pl'
).
:-
use_module
(
'src/methods/kmeans/kmeans_test.pl'
).
%%
:- use_module('src/methods/knn/knn_test.pl').
:-
use_module
(
'src/methods/knn/knn_test.pl'
).
%%:- use_module('src/methods/lars/lars_test.pl').
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment