- 15 Dec, 2022 2 commits
-
-
Xiaowu Zhang authored
same as others
-
Xiaowu Zhang authored
data mapping is used to map complex data into a single value the idea is if an object has complet data to process, like (object, value1, value2, value3,value4....), we can mapping (object, value1, value2, value3,value4....) into a single value X, then we process only X to make it faster here is an use case: we have two 2D data arrays with 5 columns, the first column is the name of object, the other fours are the differents value of this object Data ArrayA: | object | value1 | value2 | value3 | value4 | | ------ | ------ | ------ | ------ | ------ | | X | 1 | 2 | 3 | 4 | | Y | 5 | 6 | 7 | 8 | | Z | 9 | 10 | 11 | 12 | Data ArrayB: | object | value1 | value2 | value3 | value4 | | ------ | ------ | ------ | ------ | ------ | | X | 1 | 2 | 3 | 4 | | Y | 5 | 8 | 7 | 8 | | Z | 9 | 10 | 192 | 12 | now we need to compare data array A to data array B to find which object inside A has different value. without data mapping, we need to compare each object's 4 values, the complexity is O(2^n) with data mapping: we map those values: (X, 1, 2, 3, 4) ==> 1 (Y, 5, 6, 7, 8) ==> 2 (Z, 9, 10, 11,12) ==>3 (Y, 5, 8, 7, 8) ==> 4 (Z, 9, 10, 192, 12) ==> 5 Data ArrayA: | object | | ------ | | 1 | | 2 | | 3 | Data ArrayB: | object | | ------ | | 1 | | 4 | | 5 | then compare 1D array is fast, the complexity is O(n)
-
- 14 Dec, 2022 5 commits
-
-
Xiaowu Zhang authored
no idea why it's like this, let's just sort it to make furture commit easily
-
Xiaowu Zhang authored
See merge request !103
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
by moving categories except big_data to a delicated bt5, we can easily install erp5_wendelin without category conflict big_data is used code to create and execute data analysis, maybe more. erp5_wendelin bt5 can't work without this category
-
- 17 Oct, 2022 1 commit
-
-
Ivan Tyagov authored
See merge request !102
-
- 13 Oct, 2022 1 commit
-
-
Ophélie Gagnard authored
Necessary for listbox.
-
- 28 Jul, 2022 1 commit
-
-
Klaus Wölfel authored
-
- 21 Jul, 2022 3 commits
-
-
Klaus Wölfel authored
-
Klaus Wölfel authored
-
Klaus Wölfel authored
-
- 19 Jul, 2022 1 commit
-
-
Levin Zimmermann authored
-
- 14 Jul, 2022 1 commit
-
-
Eteri authored
-
- 30 Jun, 2022 2 commits
- 28 Jun, 2022 2 commits
-
-
Levin Zimmermann authored
-
Klaus Wölfel authored
-
- 23 Jun, 2022 1 commit
-
-
Levin Zimmermann authored
This fixes the following error: >>> data_bucket_stream = context.data_stream_module.newContent( >>> portal_type = "Data Bucket Stream" >>> ) >>> data_bucket_stream.insertBucket(1, 'testBucket') >>> data_bucket_stream.Base_getConsistencyList() # Error Type: AttributeError # Error Value: 'NoneType' object has no attribute 'getPortalType' The returned empty lists are valid return values as it can be seen in the Folder class methods: https://lab.nexedi.com/nexedi/erp5/blob/a17bb910/product/ERP5Type/Core/Folder.py#L1530 https://lab.nexedi.com/nexedi/erp5/blob/a17bb910/product/ERP5Type/Core/Folder.py#L1026
-
- 16 Jun, 2022 3 commits
-
-
Levin Zimmermann authored
(in restricted python)
-
Levin Zimmermann authored
-
Levin Zimmermann authored
-
- 15 Jun, 2022 2 commits
-
-
Levin Zimmermann authored
-
Levin Zimmermann authored
-
- 14 Jun, 2022 3 commits
-
-
Levin Zimmermann authored
-
Levin Zimmermann authored
-
Levin Zimmermann authored
This didn't work anymore in restricted python.
-
- 09 Jun, 2022 3 commits
-
-
Levin Zimmermann authored
(Drop deprecated DCWorkflows)
-
Levin Zimmermann authored
-
Klaus Wölfel authored
-
- 07 Jun, 2022 4 commits
-
-
Levin Zimmermann authored
See merge request !101
-
Levin Zimmermann authored
-
Klaus Wölfel authored
-
Klaus Wölfel authored
This commit is a rebase of the following original commits: Analysis execution methods supporting transient in- and output --- Conflicting files: bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataAnalysis_executeDataOperation.py bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataAnalysis_executeDataOperation.xml bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/ERP5Site_executeDataAnalysisList.py processing of analysis with transient items --- Conflicts: bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataAnalysis_executeDataOperation.py bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/ERP5Site_createDataAnalysisList.py
-
- 20 May, 2022 3 commits
-
-
Klaus Wölfel authored
-
Levin Zimmermann authored
See merge request !100
-
Levin Zimmermann authored
The new tests ensures the correct creation of Data Analysis documents.
-
- 18 May, 2022 1 commit
-
-
Klaus Wölfel authored
-
- 16 May, 2022 1 commit
-
-
Eteri authored
pass causality_relative_url to operation script to support multiple intervals with same sensor at same location
-