LAAC-LSCP / ChildRecordsR

R package for the evaluation of annotations of daylong recordings
https://laac-lscp.github.io/ChildRecordsR
0 stars 1 forks source link

Testing #20

Closed alsonicr closed 3 years ago

alsonicr commented 3 years ago

Here you can write all the potential changes we should provide before the next version is released.

alecristia commented 3 years ago

outward facing things

it may be easier for users if functions are labeled homogeneously

so assuming find.rating.segment stays the same, then:

intermediate things (that users see as printouts and/or in the help)

internal things (low priority to these changes as they won't affect typical users)

final thoughts

alsonicr commented 3 years ago

aggregate.rating OK reliability --> get.reliability SDT.raterData --> get.classification raterComparaison--> compare.rating

I found that in a R function the "." is use to creat a method for a class.

What do you think of :

alsonicr commented 3 years ago

@alecristia I m pretty sure i change function name long ago it seem that some of the merging change it.

I'm going to check every comment you made to be sure

alsonicr commented 3 years ago

in find_rating_segment.R what does this line mean: " time = seq(range_from-1000, range_to+1000, 1000)" -- does it mean that annotations that do not begin or end within one second of the window will not be discovered? find_rating_segment.R needs more comments, I personally cannot follow all the logic -- for instance, why "tmp$true_onset <- true_onset+1000"?

@alecristia I will add comment on it .

First point : I need a larger time window because I can tell that on its two segments they can be defined as "without annotator". This can be useful for the diff function in line 140. If the annotations start at the first line then the diff will not notice the annotations.

Second point : This is because of the way diff works, the difference will be noted from the previous segment before the annotators are identified. So I have to identify the next segment to be correct.

alsonicr commented 3 years ago

harmonize how the class is referred to, eg ChildRecordings : a ChildRecordings class -- should it be ChildRecordingsData class?

I will say no since the ChildRecordings class do not really contain any data (except for metadata and integrity test). It may confuse childrecordsdata python user too maybe.

alecristia commented 3 years ago

any open items in this issue have been exported elsewhere