Menu

#296 Prune operation to remove empty hyperplanes

Backlog
open
nobody
feature (44)
6normal
2025-06-25
2024-03-06
Steve Keen
No

We may debate this one, but I think that if you divide one series (with say 100 dimension values) by another (with say 10 values that contain data) then the outputted series should have just ten dimension values rather than 100).

I saw that this wasn't the case at present by dividing a House Price Index series with 62 entries (where 2010=100) by the index values for 1970, where only a handful of the countries had data (say 5). I got a variable with 62 entries on the country dimension, the vast majority of which were blank.

I've attached the source data file here, from the BIS. I'll pop the movie in via Google again.

1 Attachments

Discussion

  • Steve Keen

    Steve Keen - 2024-03-06

    Ravel file.

     
  • High Performance Coder

    You're right - we may debate this one :). I would not consider the current behaviour a bug, however, I can see the use of another operation that removes non-existent data (non-existent hyperplanes of a hypercube, actually). Its actually a rather data intensive operation to do so, so it should only be introduced deliberately by the user.

    So lets discuss this - I'm thinking it may be a feature request for a future version.

     
  • High Performance Coder

    • status: open --> awaiting-user
     
    • Steve Keen

      Steve Keen - 2024-03-11

      Yes, that makes sense. Sometimes a user will want to do an initial
      operation that generates an array with null values for later analysis.

      How about a "Reduce" operator for Ravels?

       
      • High Performance Coder

        Reduce, or reduction is already used for the operations of sum,
        product, max, min etc. So we'd need another name for it.

        As they say - there are only two really hard problems in computer science:

        0) Naming things
        1) Cache invalidation
        2) Off by one errors.

        Cheers

        On Mon, Mar 11, 2024 at 06:59:13AM -0000, Steve Keen wrote:

        Yes, that makes sense. Sometimes a user will want to do an initial
        operation that generates an array with null values for later analysis.

        How about a "Reduce" operator for Ravels?

        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

        [ravel:#490] Operations should reduce dimension count for null values

        Status: awaiting-user
        Milestone: Pascal
        Created: Wed Mar 06, 2024 03:30 PM UTC by Steve Keen
        Last Updated: Mon Mar 11, 2024 06:17 AM UTC
        Owner: nobody
        Attachments:

        • WS_SPP_csv_col.csv (336.4 kB; text/csv)

        We may debate this one, but I think that if you divide one series (with say 100
        dimension values) by another (with say 10 values that contain data) then the
        outputted series should have just ten dimension values rather than 100).

        I saw that this wasn't the case at present by dividing a House Price Index
        series with 62 entries (where 2010=100) by the index values for 1970, where
        only a handful of the countries had data (say 5). I got a variable with 62
        entries on the country dimension, the vast majority of which were blank.

        I've attached the source data file here, from the BIS. I'll pop the movie in
        via Google again.

        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

        Sent from sourceforge.net because you indicated interest in https://
        sourceforge.net/p/minsky/ravel/490/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth
        /subscriptions/

        --


        Dr Russell Standish Phone 0425 253119 (mobile)
        Principal, High Performance Coders hpcoder@hpcoders.com.au
        http://www.hpcoders.com.au


         
        • Steve Keen

          Steve Keen - 2024-03-12

          How about "Trim" or "Prune" then? I think Prune is better.

           
  • High Performance Coder

    Prune sound good. But let's backlog this for a later release.

     
  • High Performance Coder

    • labels: --> feature
    • summary: Operations should reduce dimension count for null values --> Prune operation to remove empty hyperplanes
    • status: awaiting-user --> open
    • Priority: 2Critical --> 6normal
    • Milestone: Pascal --> Backlog
     
    • Steve Keen

      Steve Keen - 2024-03-12

      Hmmm. I'd prefer this to turn up earlier than that. Maybe raise it's level
      from 6 to say 4.

       
  • High Performance Coder

    Ticket moved from /p/minsky/ravel/490/

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.