strawlab / pyopy

Python bindings to interesting matlab libraries for data analysis
Other
86 stars 16 forks source link

Conciliate pyopy naming with hctsa #2

Closed sdvillal closed 9 years ago

sdvillal commented 9 years ago

Properly defining semantics for the main abstractions of the library is important and, of course, it would make things easier to agree as much as possible with the way @benfulcher has given to hctsa.

Ben calls:

He writes:

I like that every feature has its own operation. Whether we add additional terms for methods that produce multiple outputs is up to the implementation. I guess we need a word for each .m file — I’ve called them code files or methods in the past.

My stand at the moment is:

To summarise, I would just use "feature", "operator" and "function". Once decided, will need to change the name of the HCTSAFunctionCategory accordingly.

benfulcher commented 9 years ago

Making "operation" mean a function call with specific parameters that outputs 1 or more features would be fine, although inconsistent with the J. Roy. Soc. Interface terminology, in which each operation is a column in the data matrix, and maps R^N -> R. This terminology does not depend on the implementation (i.e., the way in which the feature is generated, either as one output of many from a function, or as the only output of a function). Anything is preferable to "curry"... ;)

sdvillal commented 9 years ago

So we stick with features as scalar values generated by an operation that is a call to a function or operator with concrete parameters. All the needed renaming is done.