salesforce / TransmogrifAI

TransmogrifAI (pronounced trăns-mŏgˈrə-fī) is an AutoML library for building modular, reusable, strongly typed machine learning workflows on Apache Spark with minimal hand-tuning
https://transmogrif.ai
BSD 3-Clause "New" or "Revised" License
2.24k stars 393 forks source link

There may be some description errors! #425

Closed shenzgang closed 4 years ago

shenzgang commented 5 years ago

There may be some description errors, may bring confusion to the user! It should be a logarithmic transformer. Part of the code :at line 222 of class com.salesforce.op.dsl

    /**
     * Square root transformer
     * @return transformed feature
     */
    def log(base: Double): FeatureLike[Real] =
      f.transformWith(new LogTransformer[I](base = base))

and

/**
     * Square root transformer
     * @return transformed feature
     */
    def power(power: Double): FeatureLike[Real] =
      f.transformWith(new PowerTransformer[I](power = power))

I think I forgot to change the description when copying the template code. It would have looked better if I had the correct description!

tovbinm commented 5 years ago

Thank for reporting this. Feel free to make a PR with corrected description ;)