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
94a5a4ec
Commit
94a5a4ec
authored
Jun 11, 2014
by
panos
Committed by
Jérome Perrin
Jun 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copyright text inserted in the scripts of ProductionLine example
parent
79d6fca0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
71 additions
and
4 deletions
+71
-4
dream/KnowledgeExtraction/KEtool_examples/ProductionLine/CMSD_Output.py
...eExtraction/KEtool_examples/ProductionLine/CMSD_Output.py
+21
-1
dream/KnowledgeExtraction/KEtool_examples/ProductionLine/JSON_Output.py
...eExtraction/KEtool_examples/ProductionLine/JSON_Output.py
+24
-0
dream/KnowledgeExtraction/KEtool_examples/ProductionLine/ProdLine_example.py
...action/KEtool_examples/ProductionLine/ProdLine_example.py
+26
-3
No files found.
dream/KnowledgeExtraction/KEtool_examples/ProductionLine/CMSD_Output.py
View file @
94a5a4ec
'''
'''
Created on 1
1 Jun
2014
Created on 1
9 Feb
2014
@author: Panos
@author: Panos
'''
'''
# ===========================================================================
# Copyright 2013 University of Limerick
#
# This file is part of DREAM.
#
# DREAM is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DREAM is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with DREAM. If not, see <http://www.gnu.org/licenses/>.
# ===========================================================================
from
xml.etree.ElementTree
import
ElementTree
,
Element
,
SubElement
,
Comment
from
xml.etree.ElementTree
import
ElementTree
,
Element
,
SubElement
,
Comment
from
xml.dom
import
minidom
from
xml.dom
import
minidom
from
xml.etree
import
ElementTree
as
etree
from
xml.etree
import
ElementTree
as
etree
...
...
dream/KnowledgeExtraction/KEtool_examples/ProductionLine/JSON_Output.py
View file @
94a5a4ec
'''
Created on 19 Feb 2014
@author: Panos
'''
# ===========================================================================
# Copyright 2013 University of Limerick
#
# This file is part of DREAM.
#
# DREAM is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DREAM is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with DREAM. If not, see <http://www.gnu.org/licenses/>.
# ===========================================================================
import
json
import
json
...
...
dream/KnowledgeExtraction/KEtool_examples/ProductionLine/ProdLine_example.py
View file @
94a5a4ec
'''
Created on 19 Feb 2014
@author: Panos
'''
# ===========================================================================
# Copyright 2013 University of Limerick
#
# This file is part of DREAM.
#
# DREAM is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DREAM is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with DREAM. If not, see <http://www.gnu.org/licenses/>.
# ===========================================================================
from
StatisticalMeasures
import
BasicStatisticalMeasures
from
StatisticalMeasures
import
BasicStatisticalMeasures
from
DataManipulation
import
DataManagement
from
DataManipulation
import
DataManagement
from
DistributionFitting
import
DistFittest
from
DistributionFitting
import
DistFittest
from
Example_CMSD
import
CMSD_example
from
CMSD_Output
import
CMSD_example
from
Example_JSON
import
JSON_example
from
JSON_Output
import
JSON_example
from
ExcelOutput
import
Output
from
ExcelOutput
import
Output
from
ReplaceMissingValues
import
HandleMissingValues
from
ReplaceMissingValues
import
HandleMissingValues
from
ImportExceldata
import
Import_Excel
from
ImportExceldata
import
Import_Excel
...
@@ -91,4 +114,4 @@ D.PrintDistributionFit(P2_Proc,"DistributionFittingResults_P2Proc.xls")
...
@@ -91,4 +114,4 @@ D.PrintDistributionFit(P2_Proc,"DistributionFittingResults_P2Proc.xls")
D
.
PrintStatisticalMeasures
(
P2_Proc
,
"StatisticalMeasuresResults_P2Proc.xls"
)
D
.
PrintStatisticalMeasures
(
P2_Proc
,
"StatisticalMeasuresResults_P2Proc.xls"
)
CMSD_example
(
dictProc
,
dictScrap
)
#Print the CMSD document, calling the CMSD_example method with arguments the dictProc and dictScrap dictionaries
CMSD_example
(
dictProc
,
dictScrap
)
#Print the CMSD document, calling the CMSD_example method with arguments the dictProc and dictScrap dictionaries
JSON_example
(
dictProc
,
dictScrap
)
JSON_example
(
dictProc
,
dictScrap
)
#Print the JSON file, calling the JSON_example method
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