Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ExpliClas-TFG
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bruno López Trigo
ExpliClas-TFG
Commits
f6cb0227
Commit
f6cb0227
authored
Dec 20, 2018
by
Bruno López Trigo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Solucionado problema coa clasificación de datasets categóricos en FURIA
parent
17b80bee
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
4 deletions
+12
-4
codigo/expliclas-api/src/main/java/brunolopez/expliclas/classifiers/RuleBuilder.java
...in/java/brunolopez/expliclas/classifiers/RuleBuilder.java
+2
-0
codigo/expliclas-api/src/main/java/brunolopez/expliclas/explainer/InfoExtractorFURIA.java
...va/brunolopez/expliclas/explainer/InfoExtractorFURIA.java
+1
-1
codigo/expliclas-api/src/main/java/brunolopez/expliclas/models/fuzzy/VisualComponent.java
...va/brunolopez/expliclas/models/fuzzy/VisualComponent.java
+9
-0
codigo/expliclas/src/containers/ClassifierPanel.js
codigo/expliclas/src/containers/ClassifierPanel.js
+0
-3
No files found.
codigo/expliclas-api/src/main/java/brunolopez/expliclas/classifiers/RuleBuilder.java
View file @
f6cb0227
...
...
@@ -300,6 +300,7 @@ public class RuleBuilder {
vcomponent
.
addValue
(
new
Coordinate
(
comp
.
getFourthFuzzyValue
(),
((
NumericComponent
)
comp
).
retrieveValue
(
comp
.
getFourthFuzzyValue
())));
}
else
{
vcomponent
.
setValue
(((
CategoricComponent
)
comp
).
getValue
());
vcomponent
.
addValue
(
new
Coordinate
(
comp
.
getFirstFuzzyValue
(),
0
d
));
vcomponent
.
addValue
(
new
Coordinate
(
comp
.
getSecondFuzzyValue
(),
1
d
));
vcomponent
.
addValue
(
new
Coordinate
(
comp
.
getThirdFuzzyValue
(),
1
d
));
...
...
@@ -379,6 +380,7 @@ public class RuleBuilder {
((
NumericComponent
)
comp
).
retrieveValue
(
comp
.
getFourthFuzzyValue
())));
}
}
else
{
vcomponent
.
setValue
(((
CategoricComponent
)
comp
).
getValue
());
/*
* Se añaden las coordenadas de la definición del intervalo:
*
...
...
codigo/expliclas-api/src/main/java/brunolopez/expliclas/explainer/InfoExtractorFURIA.java
View file @
f6cb0227
...
...
@@ -64,7 +64,7 @@ public class InfoExtractorFURIA extends InfoExtractor {
if
(
att
.
getType
().
equals
(
"numericAtt"
))
property
=
att
.
getPropertyById
(
getLabelInterval
(
new
Interval
(
c
.
getCoordinates
().
get
(
0
).
getX
(),
c
.
getCoordinates
().
get
(
3
).
getX
()),
(
NumericAttribute
)
att
));
else
property
=
att
.
getPropertyByName
(
c
.
get
Id
());
property
=
att
.
getPropertyByName
(
c
.
get
Value
());
labels
.
put
(
property
.
getName
(),
att
.
getName
());
}
...
...
codigo/expliclas-api/src/main/java/brunolopez/expliclas/models/fuzzy/VisualComponent.java
View file @
f6cb0227
...
...
@@ -30,6 +30,7 @@ public class VisualComponent {
private
String
id
;
private
String
attribute
;
private
String
value
;
private
ArrayList
<
Coordinate
>
coordinates
;
private
ArrayList
<
Coordinate
>
activationCoordinates
;
private
double
activation
;
...
...
@@ -50,6 +51,14 @@ public class VisualComponent {
return
id
;
}
public
void
setValue
(
String
value
)
{
this
.
value
=
value
;
}
public
String
getValue
()
{
return
value
;
}
/**
* Grado de activación del componente
*
...
...
codigo/expliclas/src/containers/ClassifierPanel.js
View file @
f6cb0227
...
...
@@ -68,9 +68,6 @@ const styles = theme => ({
paddingRight
:
20
,
height
:
"
100%
"
},
tabs
:
{
fontSize
:
"
16px
"
},
progress
:
{
margin
:
"
auto
"
,
marginTop
:
80
,
...
...
Write
Preview
Markdown
is supported
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