Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
caisar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
caisar
Commits
33e944d4
Commit
33e944d4
authored
2 years ago
by
Michele Alberti
Browse files
Options
Downloads
Patches
Plain Diff
[stdlib] Rename theory to more precise name DataSetClassification.
parent
9718c499
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/saver.ml
+3
-1
3 additions, 1 deletion
src/saver.ml
stdlib/caisar.mlw
+1
-1
1 addition, 1 deletion
stdlib/caisar.mlw
tests/simple_ovo.t
+1
-2
1 addition, 2 deletions
tests/simple_ovo.t
with
5 additions
and
4 deletions
src/saver.ml
+
3
−
1
View file @
33e944d4
...
...
@@ -32,7 +32,9 @@ type interpreted_task = {
}
let
find_predicate_ls
env
p
=
let
dataset_th
=
Pmodule
.
read_module
env
[
"caisar"
]
"DataSet"
in
let
dataset_th
=
Pmodule
.
read_module
env
[
"caisar"
]
"DataSetClassification"
in
Theory
.
ns_find_ls
dataset_th
.
mod_theory
.
th_export
[
p
]
let
interpret_predicate
env
ls
=
...
...
This diff is collapsed.
Click to expand it.
stdlib/caisar.mlw
+
1
−
1
View file @
33e944d4
...
...
@@ -38,7 +38,7 @@ theory Model
function predict: model -> array t -> int
end
theory DataSet
theory DataSet
Classification
use ieee_float.Float64
use int.Int
use array.Array
...
...
This diff is collapsed.
Click to expand it.
tests/simple_ovo.t
+
1
−
2
View file @
33e944d4
...
...
@@ -30,8 +30,7 @@ Test verify
>
use
TestSVM
.
SVMasArray
>
use
ieee_float
.
Float64
>
use
int
.
Int
>
use
array
.
Array
>
use
caisar
.
DataSet
>
use
caisar
.
DataSetClassification
>
>
goal
G:
robust
svm_apply
dataset
(
8.0
:
t
)
>
goal
H:
correct
svm_apply
dataset
(
8.0
:
t
)
...
...
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