Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Anurose Prakash
Fokg_mini_project_group_noname10
Commits
f73f4725
Commit
f73f4725
authored
Jul 14, 2021
by
Anurose Prakash
Browse files
Update App.java
parent
39a9801e
Changes
1
Hide whitespace changes
Inline
Side-by-side
AlgorithmDevelopmentPhase/src/main/java/org/example/App.java
View file @
f73f4725
...
...
@@ -49,7 +49,7 @@ public class App {
Set
<
OWLIndividual
>
posTestingSet
;
Set
<
OWLIndividual
>
negTestingSet
;
ontology
=
readDumpFiles
();
ontology
=
loadOntology
();
ConvertToTTL
outputWriter
=
new
ConvertToTTL
();
outputWriter
.
writeConstants
();
...
...
@@ -177,7 +177,7 @@ public class App {
heuristic
.
setExpansionPenaltyFactor
(
0.1
);
la
=
new
CELOE
(
lp
,
rc
);
((
CELOE
)
la
).
setHeuristic
(
heuristic
);
((
CELOE
)
la
).
setMaxExecutionTimeInSeconds
(
6
0
);
((
CELOE
)
la
).
setMaxExecutionTimeInSeconds
(
4
0
);
((
CELOE
)
la
).
setNoisePercentage
(
30
);
((
CELOE
)
la
).
setWriteSearchTree
(
false
);
((
CELOE
)
la
).
setReplaceSearchTree
(
true
);
...
...
@@ -222,7 +222,7 @@ public class App {
}
System
.
out
.
println
(
"Macro F1-Score is "
+
fScore
.
getMeanAsPercentage
());
}
public
static
OWLOntology
readDumpFiles
()
throws
IOException
{
public
static
OWLOntology
loadOntology
()
throws
IOException
{
Model
model
=
ModelFactory
.
createDefaultModel
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment