Menu

#773 Binning table method

v1.1.x
closed
v1.1.5
New Functionality
2023-02-18
2022-12-20
Erik Hänel
No

Create a binning table method, i.e. TAB().bin(nCol,nBins) -> {VAL}. If nCol is categorical (or logical), then nBins is automatically the same number as the number of categories (user values are ignored).

Analysis:

Can be implemented quite straightforward. Needs a defined handler member function in Memory as well as the parser function for the method itself.

Implementation:

  • Implementation: Implemented as proposed by the analysis.
  • Revision: [r1295]
  • Implementation test: Bins were calculated from columns and the result was compared with the results obtained from hist.

Documentation:

  • [x] ChangesLog updated
  • [x] Code changes commented
  • Documentation articles:
    • [x] corresponding documentation articles updated
    • [ ] new documentation articles created
    • [ ] not needed
  • Language files:
    • [x] corresponding language files updated
    • [ ] not needed

Tests:

New functionality was added to the automatic SW tests. No deviation detected.

Related

Commit: [r1295]

Discussion

  • Erik Hänel

    Erik Hänel - 2022-12-20
    • labels: --> internal, tables, method
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2022-12-20
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,23 @@
     Create a binning table method, i.e. `TAB().bin(nCol,nBins) -> {VAL}`. If `nCol` is categorical (or logical), then `nBins` is automatically the same number as the number of categories (user values are ignored).
    +
    +###Analysis:
    +(*Describe, what's the issue and which changes have to be made*)
    +
    +###Implementation:
    +* Implementation: (*Describe, what you've changed*) 
    +* Revision: [rXXX]
    +* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +
    +###Documentation:
    +* [ ] ChangesLog updated
    +* [ ] Code changes commented
    +* **Documentation articles:**
    
    +    * [ ] corresponding documentation articles updated
    +    * [ ] new documentation articles created
    +    * [ ] not needed
    +* **Language files:**
    +    * [ ] corresponding language files updated
    +    * [ ] not needed
    +
    +###Tests:
    +(*Describe, which tests you performed and their outcome*)
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2023-01-01
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,7 @@
     Create a binning table method, i.e. `TAB().bin(nCol,nBins) -> {VAL}`. If `nCol` is categorical (or logical), then `nBins` is automatically the same number as the number of categories (user values are ignored).
    
     ###Analysis:
    -(*Describe, what's the issue and which changes have to be made*)
    +Can be implemented quite straightforward. Needs a defined handler member function in `Memory` as well as the parser function for the method itself.
    
     ###Implementation:
    
     * Implementation: (*Describe, what you've changed*) 
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2023-01-03
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,19 +4,19 @@
     Can be implemented quite straightforward. Needs a defined handler member function in `Memory` as well as the parser function for the method itself.
    
     ###Implementation:
    -* Implementation: (*Describe, what you've changed*) 
    -* Revision: [rXXX]
    -* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +* Implementation: Implemented as proposed by the analysis.
    +* Revision: [r1295]
    +* Implementation test: Bins were calculated from columns and the result was compared with the results obtained from `hist`.
    
     ###Documentation:
    -* [ ] ChangesLog updated
    -* [ ] Code changes commented
    +* [x] ChangesLog updated
    +* [x] Code changes commented
    
     * **Documentation articles:**
    -    * [ ] corresponding documentation articles updated
    +    * [x] corresponding documentation articles updated
         * [ ] new documentation articles created
         * [ ] not needed
     * **Language files:**
    -    * [ ] corresponding language files updated
    +    * [x] corresponding language files updated
         * [ ] not needed
    
     ###Tests:
    
    • status: implementing --> testing
     

    Related

    Commit: [r1295]

  • Erik Hänel

    Erik Hänel - 2023-02-18
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -20,4 +20,4 @@
    
         * [ ] not needed
    
     ###Tests:
    -(*Describe, which tests you performed and their outcome*)
    +New  functionality was added to the automatic SW tests. No deviation detected.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB