Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

So much hidden information. Is this intended? #627

@arubiomoreno

Description

@arubiomoreno

I am using Accord.Statistics and Accord.Math.Optimization and there are so much private properties that (imho) sould not be.
Examples:

  • On Accord.Statistics.Distributions.Univariate, most of the distributions do not expose the parameters as properties (exposing getter would be OK). Example: WeibullDistribution do not expose scale and shape.
  • On Accord.Math.Optimization, the class NelderMead does not allow you to change the LowerBounds and UpperBounds. The properties only have a getter. I am changing the private fields with reflection without issues, but using reflection for this purposes is annoying.

There are more examples, but this are the last I used and came to my mind.
Is this intended? and if so, why?

Making all the relevant, non-implementation-breaking stuff public, or in the case of the statistical distributions at least exposing a getter would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions