The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Log2 base

DocMusherDocMusher Member Posts: 333 Unicorn
edited November 2018 in Help
How to calculate log2 base using generate attribute?
Sven

Answers

  • David_ADavid_A Administrator, Moderator, Employee-RapidMiner, RMResearcher, Member Posts: 297 RM Research
    Hi Sven,

    the rules for base transformation of logarithms state that logbx = loga x / logab.
    So to transfer from base a =10  to base b=2 in Generate attributes, you just have to use
    log(n) / 0.30103
    Best,
    David
Sign In or Register to comment.