Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
f84b21c5
Commit
f84b21c5
authored
Aug 24, 2015
by
panos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugs fixed in the main script
parent
0d2afafb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dream/KnowledgeExtraction/PilotCases/BatchModel/KEtoolMainScript.py
...ledgeExtraction/PilotCases/BatchModel/KEtoolMainScript.py
+5
-5
No files found.
dream/KnowledgeExtraction/PilotCases/BatchModel/KEtoolMainScript.py
View file @
f84b21c5
...
...
@@ -23,12 +23,12 @@ Created on 17 Apr 2015
# ===========================================================================
from
__future__
import
division
from
dream.KnowledgeExtraction.StatisticalMeasures
import
Basic
StatisticalMeasures
from
dream.KnowledgeExtraction.StatisticalMeasures
import
StatisticalMeasures
from
dream.KnowledgeExtraction.DistributionFitting
import
Distributions
from
dream.KnowledgeExtraction.DistributionFitting
import
DistFittest
from
dream.KnowledgeExtraction.ReplaceMissingValues
import
Handl
eMissingValues
from
dream.KnowledgeExtraction.ReplaceMissingValues
import
Replac
eMissingValues
from
dream.KnowledgeExtraction.ImportDatabase
import
ConnectionData
from
dream.KnowledgeExtraction.DetectOutliers
import
Handle
Outliers
from
dream.KnowledgeExtraction.DetectOutliers
import
Detect
Outliers
from
JSONOutput
import
JSONOutput
from
dream.KnowledgeExtraction.CMSDOutput
import
CMSDOutput
from
xml.etree
import
ElementTree
as
et
...
...
@@ -267,7 +267,7 @@ for key in processStory.keys():
continue
#Call the HandleMissingValues object and delete the missing values in the lists with the scrap quantity and processing times data
B
=
Handl
eMissingValues
()
B
=
Replac
eMissingValues
()
MA_Scrap
=
B
.
DeleteMissingValue
(
MA
.
get
(
'ScrapQuant'
,[]))
MA_Proc
=
B
.
DeleteMissingValue
(
MA
.
get
(
'ProcTime'
,[]))
M1A_Scrap
=
B
.
DeleteMissingValue
(
M1A
.
get
(
'ScrapQuant'
,[]))
...
...
@@ -299,7 +299,7 @@ Pb_Scrap= B.DeleteMissingValue(Pb.get('ScrapQuant',[]))
Pb_Proc
=
B
.
DeleteMissingValue
(
Pb
.
get
(
'ProcTime'
,[]))
#Call the HandleOutliers object and delete the outliers in the lists with the processing times data of each station
C
=
Handle
Outliers
()
C
=
Detect
Outliers
()
MA_Proc
=
C
.
DeleteOutliers
(
MA_Proc
)
M1A_Proc
=
C
.
DeleteOutliers
(
M1A_Proc
)
M1B_Proc
=
C
.
DeleteOutliers
(
M1B_Proc
)
...
...
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