Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MLPRegressor & MLPClassifier RSTs & SC example Code #109

Merged
merged 12 commits into from
May 26, 2022
Merged

MLPRegressor & MLPClassifier RSTs & SC example Code #109

merged 12 commits into from
May 26, 2022

Conversation

tedmoore
Copy link
Member

@tedmoore tedmoore commented May 6, 2022

@weefuzzy, this also contains a fix for the docs repo. The species 'data' wasn't at all checking if enums existed, so now it does do that so they will render. I abstracted the enum code into a new file since it needs to exist in two files.

@tedmoore tedmoore added this to the beta7 milestone May 10, 2022
Copy link
Member

@tremblap tremblap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fantastic review!

maybe the learning rate entry is too verbose - I would remove after the 2nd sentence (i.e. Without context ->end) as you point at the online reference that says exactly that.
hidden is now hiddenLayers

Copy link
Member

@jamesb93 jamesb93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few small things including what I think are mix ups of discussion/discussion. These will render poorly in Max and be confusing to read in the reference.

Overall, I feel like it's quite a long help file. In Max this will span 5-7 tabs as we don't have the benefit of infinitely long documents to work through. I may break this apart and break "parity" in that sense to keep it legible.

doc/MLPClassifier.rst Show resolved Hide resolved
doc/MLPClassifier.rst Outdated Show resolved Hide resolved
doc/MLPRegressor.rst Show resolved Hide resolved
@tedmoore
Copy link
Member Author

Overall, I feel like it's quite a long help file.

By this do you mean the example code or the prose in the RST?

@jamesb93
Copy link
Member

Apologies, the code.

@tedmoore
Copy link
Member Author

It is quite long however I'm disinclined to delete things. Some of these could be examples, but even then I know that in this location they'll get much more attention and I think they're all relevant to using the object. I don't think there's redundancy.

@jamesb93
Copy link
Member

It is quite long however I'm disinclined to delete things. Some of these could be examples, but even then I know that in this location they'll get much more attention and I think they're all relevant to using the object. I don't think there's redundancy.

Not redundancy as such. Towards the start of our tenure on the project I made an MLPClassifier and MLPRegressor help file that was essentially this file in Max format. It was criticised for being too long and not the right place for that kind of content. I suppose I am just raising the point that we have come full circle.

@tedmoore
Copy link
Member Author

I see. Was it I that said it was too long? Is there a specific part that you think should not be included? I'm happy to leave it all in unless someone has a compelling reason for something to be taken out. It seems to me having many examples in the example code is a good thing as long as each example is demonstrating a different aspect of use.

@weefuzzy
Copy link
Member

It was probably me. I don't think my thoughts have changed greatly. That code is great for a completely worked through tutorial on doing some meaty and cool. What goes into a help file should IMO be about making clear the usage of a particular object with as little distraction as possible. In the case of the MLPs I think that involves toy problems on already extant datasets / labelsets so that the interface for training and inference are very clear (because there's very little else).

That sort of terseness is useful for people who already know how to work with an object of this species, but want to see quickly what the interface is in this particular library (or people who have learnt our object but want to remind themselves quickly). The complete work-through is useful for people still getting to grips with the concepts and steps involved, or who might need inspiration. In both Max and SC I think 'tutorials' are a better place for examples of that depth.

I think I've probably often gone too far the other way in first drafts of help for a lot of these objects, to the point where it wouldn't be clear to someone browsing what possible use some given object might have. I think, besides finding an elusive middle ground in how suggestive the help file examples can be, some of that can be addressed by explicitly linking through to tutorials that present concrete applications in details.

@jamesb93
Copy link
Member

I see. Was it I that said it was too long? Is there a specific part that you think should not be included? I'm happy to leave it all in unless someone has a compelling reason for something to be taken out. It seems to me having many examples in the example code is a good thing as long as each example is demonstrating a different aspect of use.

Taking the classifier as an example, my feeling is that the immediate SC/Max code would show how to add some points, train and then classify a whole dataset with predict and a point with predictPoint. It wouldn't have anything to do with synthesis or audio features at this point.

There would then be a link to an example/guide (not sure of the nomenclature in SC land) which deals with audio matching and also links to the learn article.

@tedmoore
Copy link
Member Author

Moving some of this to guides in SC is find by me. However, I do think that a lot of SCers don't look at the guides. I know I don't and I've had conversations with others that say the same thing. We can put them them there, I just don't think they'll get as much attention. Long helpfiles in SC are not uncommon. As an SC user, I prefer to have it all there.

It wouldn't have anything to do with synthesis or audio features at this point.

Regarding this, we've talked a lot about having the materials be sound-creativity forward, so I've tried to generally avoid using dummy data sets (unless it really needs to be clear like KMeans perhaps is a good example of this), and I've always tried to have the example code make some sound. When we started the revamp of the help files this was one of the critiques that we offered on the previous iteration.

@tedmoore tedmoore merged commit e409a4d into dev May 26, 2022
@tedmoore tedmoore deleted the MLPs branch May 26, 2022 18:49
jamesb93 added a commit that referenced this pull request Jun 14, 2022
* mfcc rst and sc help file

* mfcc sc examples

* mfcc output

* mfcc helpfile readability

* BufMFCC udpates

* update bufonsetslice docs slightly (#87)

* fix audio transport segmentation of discussion and desc

* fix audio transport segmentation of discussion and desc (#88)

* add missing see alsos

* optional args: add to C++ wrapper

* ParamDump and python: add choices param type

* Json driver (#35)

* Make jinja rendering conditional on driver having a template

* minimal driver for raw JSON output

* cmake target for raw JSON

* fix cmake output directory

* add command line option for raw

* remove spurious item from raw driver

* add back changes that dealt with conditional template rendering

* add a github action for creating a basic API on actions

Co-authored-by: James Bradbury <[email protected]>

* Update json_api.yml

* Update json_api.yml

* Update json_api.yml

* change name of raw output to api.json

* Update json_api.yml

* remove indentation on api

* typo in UMAP

* [Docs] OnsetSlice and BufOnsetSlice (#91)

* update bufonsetslice text

* onsetslice update

* ted's changes

* copy changes to bufonsetslice also

* revamp MelBands and BufMelBands RST, update SC example code

* *melbands description

* added a hyphen

* pitch and buf pitch RST

* added link to the learn page

* edited normalize description

* pitch sc help files

* BufFlatten RST and SC examples

* buf thresh

* sc help file

* typo in fluid pitch sc example code

* bufthresh rst

* typo

* james' feedback

* add .ds_store to gitignore

* pa feedback

* pa feedback

* pa feedback

* PA feedback

* [Docs] Update Normalize Docs (#76)

* update normalize entry

* update description

* pa's requests

Co-authored-by: James Bradbury <[email protected]>

* [Docs] Slicer Feature Objects (#101)

* add skeleton of bufnoveltyfeature

* caveat novelty feature

* add onset feature

* remove space

* add bufampfeature

* realtime amp feature

* update output of AmpFeature

* clean up the language

* caveats for bufonset feature

* add onset feature

* Add JSON generators for Slicers' feature counterparts

* rt noveltyfeature

* fix various errors

* robots in disguise

* change feature -> algorithm

* cleanup noveltyfeature

* make noveltyfeature more consistent

* remove superfluous spaces

* fix description

* fix reference to buffer version in rt object

* add padding

* sc example code for slicer-features

Co-authored-by: weefuzzy <[email protected]>
Co-authored-by: Ted Moore <[email protected]>

* changing preset and interface for noveltyslice examples

* Add argument handlers for const DataSet / LabelSet

* Max/PD: Generate docs for control-in objects (input size and autosize)

* Enhance/max params (#104)

* CMake: Centralise C++ version and set to 17

* Wrapper: Handle new LongRuntimeMax parameter type

* Doc generators: Handle new LongRuntimeMax type + rules for args in Max/PD

* Add a `striprst` jinja filter for removing rst markup in templates (#107)

Such as Max object level description tags

* UMAP cmake reference to python sorted

* typo

* Wrapper and doc-gen update for new `maxFFTSize`

* Buf stats (#103)

* BufStats RST

* BufStats ⚠️

* bufstats supercollider examples

* re-organized descriptions

* added table back in

* typo

* added url

* bufcompose update (#95)

* PCA inverseTransformPoint (#97)

* PCA inverseTransformPoint

* added inverseTransform to PCA RST

* off by one white space 😠

* normalize the desc/disc of mfcc entries (#113)

* HPSS Help file (RST) and SC examples (#81)

* HPSS rst edited and SC examples created

* pa feedback

* Enhance/generate stubs (#119)

* CMake: Generate cpp stubs, smooth out API for dependent projects

* Remove old stubs and scripts

* CMake: Ensure correct MSVC runtime by default

* Correct variable setting logic in macro

* CI: Debug CMAKE_MODULE_PATH

* CMake: Try setting module path using explicit source dir for core

* CI Debug: Print core/scripts

* CMake: Correct typo

* CMake: MSVC with bigobj, tidy up messages

* set explicit UTF8 encoding when opening text

* explicitly use utf8 for writing as well as reading

* MDS RST & SC example code (#121)

* MLPClassifier SC example code

* MLPClassifier SC example code ⚠️

* MLPs SC example code and RSTs ⚠️

* ⚠️

* ⚠️

* wip

* MLP RSTs

* [FIX] this commit adds code to the SC templates to allow enums in the RST to appear in the species data

* feedback

* hidden -> hiddenLayers

* ⚠️

* sc example ⚠️

* sc example code

* bump

* typo

* removed cosine

* weefuzzy and james feedback

* fixed plot size

* MLPRegressor & MLPClassifier RSTs & SC example Code (#109)

* MLPClassifier SC example code

* MLPClassifier SC example code ⚠️

* MLPs SC example code and RSTs ⚠️

* ⚠️

* ⚠️

* wip

* MLP RSTs

* [FIX] this commit adds code to the SC templates to allow enums in the RST to appear in the species data

* feedback

* hidden -> hiddenLayers

* Standardize RST & SC examples (#117)

* Standardize RST & SC example code

* removed the 'invert' argument

* added discussion

* RobustScale (#118)

* ⚠️

* RobustScale RST

* RobustScale SC example code

* bump

* added discussion

* KNNClassifier RST and SC example code (#127)

* KNN ⚠️

* reset knnregressor.rst

* Stats RST & SC examples (#124)

* Stats RST and SC code

* stats rst and sc code

* feedback

* PCA RST and SC Examples (#116)

* PCA RST

* PCA SC example code

* sc example code with whitening example

* added discussion

* james' feedback

Co-authored-by: James Bradbury <[email protected]>

* Update Standardize.rst

Fix indentation error that caused mis-parsing

* maxFFTSize in SC driver is conditional on buffer-proc species (#129)

* BufSTFT RST and SC example code (#112)

* BufSTFT RST and SC example code

* added discussion

* typo

* [Enhance] Learn platform link generation (#120)

* update default transformer to handle learn links

* update maxref template to acount for learn link

* add link to templates discussion

* compartmentalise the learn link derivation

* update the supercollider driver which doesnt use default transform

* use a regex instead of object map

* update derivation of learn links

* add test for link derivation

* typo

* bufnmf: adding resynthmode

* resynthMode : camel case

* Change size to history (#133)

* BufNMFCross RST & SC example (#137)

* NNDSVD (#138)

* ⚠️

* BufNNDSVD RST & SC examples

* NNDSVD RST with descriptions of method

* add token for |buffer|

* feedback

Co-authored-by: James Bradbury <[email protected]>

* NMFMorph (& species transformer[0]) (#135)

* NMFMorph RST and SC examples

* NMFMorph

* NMFMorph (and species transformer[0])

* separate discussion and description

* added comment about why autoassign is set twice

Co-authored-by: James Bradbury <[email protected]>

* put bar chart back in (#123)

* KNNRegressor (#136)

* KNNRegressor RST & SC examples

* fixed sc code formatting

* separate discussion and description!

* (Buf)Transients(Slice) Family (#140)

* transients RST

* ⚠️

* ⚠️

* more sc examples for transients family

* feedback from owen and alex

* feedback round 1

* feedback

* typos in rst

* typos in knnclassifier~ (#142)

* sc example code for BufNMF now includes resynthMode

* deleted SC Guid YAML file

* put spaces around hyperlinks

* BufTransients SC example (Waveform only 2 sec.)

* BufNNDSVD -> BufNMFSeed (#141)

* change the doc

* forgot to change the code sample file name

* fix Loudness select in MLPRegressor example code

* fix bad link in nmf morph (BufNMFCross was missing the buf part)

* added inverse transform and inverse transform point to Normalize

* better code for testing all flucoma objects help files

* added argument k to KDTree RST

* fixed a bad link in KNNClassifier RST

* removed action arguments from RobustScale RST

* fixed mistakes in RobustScale RST that was causing it to not render properly

* added select argument to BufLoudness and Loudness RST (the rest coming soon...)

* added pca whitening to PCA RST

* adding select argument to appropriate RST files

it would be nicer to have them in list form... TODO

* added radius argument to KDTree RST

* added channels argument to BufSelect RST

* checked example code files that use 'select' for possible errors

* found a bit more code needing resynthMode

* [Enhance] Interp to Interplation in NMFMorph (#143)

* typos in knnclassifier~

* change interp to interpolation for nmfmorph

* SKMeans (#132)

* skmeans doc commit

* skmeans: attempt at better doc

* example code a little more explicit

* typos found in kmeans

* update from @weefuzzy feedback - less untrue in most cases :)

* <fit>transform<point> -> <fit>encode<point>

* (Buf)AmpGate RST & SC examples (#122)

* (Buf)AmpGate RST & SC examples

* BufAmpGate help file ⚠️

* drum hit example ⚠️

* ⚠️

* gitignore to ignore vs code

* pa feedback

* added BufAmpGate maxSize parameter
jamesb93 added a commit that referenced this pull request Jun 15, 2022
* mfcc rst and sc help file

* mfcc sc examples

* mfcc output

* mfcc helpfile readability

* BufMFCC udpates

* update bufonsetslice docs slightly (#87)

* fix audio transport segmentation of discussion and desc

* fix audio transport segmentation of discussion and desc (#88)

* add missing see alsos

* optional args: add to C++ wrapper

* ParamDump and python: add choices param type

* Json driver (#35)

* Make jinja rendering conditional on driver having a template

* minimal driver for raw JSON output

* cmake target for raw JSON

* fix cmake output directory

* add command line option for raw

* remove spurious item from raw driver

* add back changes that dealt with conditional template rendering

* add a github action for creating a basic API on actions

Co-authored-by: James Bradbury <[email protected]>

* Update json_api.yml

* Update json_api.yml

* Update json_api.yml

* change name of raw output to api.json

* Update json_api.yml

* remove indentation on api

* typo in UMAP

* [Docs] OnsetSlice and BufOnsetSlice (#91)

* update bufonsetslice text

* onsetslice update

* ted's changes

* copy changes to bufonsetslice also

* revamp MelBands and BufMelBands RST, update SC example code

* *melbands description

* added a hyphen

* pitch and buf pitch RST

* added link to the learn page

* edited normalize description

* pitch sc help files

* BufFlatten RST and SC examples

* buf thresh

* sc help file

* typo in fluid pitch sc example code

* bufthresh rst

* typo

* james' feedback

* add .ds_store to gitignore

* pa feedback

* pa feedback

* pa feedback

* PA feedback

* [Docs] Update Normalize Docs (#76)

* update normalize entry

* update description

* pa's requests

Co-authored-by: James Bradbury <[email protected]>

* [Docs] Slicer Feature Objects (#101)

* add skeleton of bufnoveltyfeature

* caveat novelty feature

* add onset feature

* remove space

* add bufampfeature

* realtime amp feature

* update output of AmpFeature

* clean up the language

* caveats for bufonset feature

* add onset feature

* Add JSON generators for Slicers' feature counterparts

* rt noveltyfeature

* fix various errors

* robots in disguise

* change feature -> algorithm

* cleanup noveltyfeature

* make noveltyfeature more consistent

* remove superfluous spaces

* fix description

* fix reference to buffer version in rt object

* add padding

* sc example code for slicer-features

Co-authored-by: weefuzzy <[email protected]>
Co-authored-by: Ted Moore <[email protected]>

* changing preset and interface for noveltyslice examples

* Add argument handlers for const DataSet / LabelSet

* Max/PD: Generate docs for control-in objects (input size and autosize)

* Enhance/max params (#104)

* CMake: Centralise C++ version and set to 17

* Wrapper: Handle new LongRuntimeMax parameter type

* Doc generators: Handle new LongRuntimeMax type + rules for args in Max/PD

* Add a `striprst` jinja filter for removing rst markup in templates (#107)

Such as Max object level description tags

* UMAP cmake reference to python sorted

* typo

* Wrapper and doc-gen update for new `maxFFTSize`

* Buf stats (#103)

* BufStats RST

* BufStats ⚠️

* bufstats supercollider examples

* re-organized descriptions

* added table back in

* typo

* added url

* bufcompose update (#95)

* PCA inverseTransformPoint (#97)

* PCA inverseTransformPoint

* added inverseTransform to PCA RST

* off by one white space 😠

* normalize the desc/disc of mfcc entries (#113)

* HPSS Help file (RST) and SC examples (#81)

* HPSS rst edited and SC examples created

* pa feedback

* Enhance/generate stubs (#119)

* CMake: Generate cpp stubs, smooth out API for dependent projects

* Remove old stubs and scripts

* CMake: Ensure correct MSVC runtime by default

* Correct variable setting logic in macro

* CI: Debug CMAKE_MODULE_PATH

* CMake: Try setting module path using explicit source dir for core

* CI Debug: Print core/scripts

* CMake: Correct typo

* CMake: MSVC with bigobj, tidy up messages

* set explicit UTF8 encoding when opening text

* explicitly use utf8 for writing as well as reading

* MDS RST & SC example code (#121)

* MLPClassifier SC example code

* MLPClassifier SC example code ⚠️

* MLPs SC example code and RSTs ⚠️

* ⚠️

* ⚠️

* wip

* MLP RSTs

* [FIX] this commit adds code to the SC templates to allow enums in the RST to appear in the species data

* feedback

* hidden -> hiddenLayers

* ⚠️

* sc example ⚠️

* sc example code

* bump

* typo

* removed cosine

* weefuzzy and james feedback

* fixed plot size

* MLPRegressor & MLPClassifier RSTs & SC example Code (#109)

* MLPClassifier SC example code

* MLPClassifier SC example code ⚠️

* MLPs SC example code and RSTs ⚠️

* ⚠️

* ⚠️

* wip

* MLP RSTs

* [FIX] this commit adds code to the SC templates to allow enums in the RST to appear in the species data

* feedback

* hidden -> hiddenLayers

* Standardize RST & SC examples (#117)

* Standardize RST & SC example code

* removed the 'invert' argument

* added discussion

* RobustScale (#118)

* ⚠️

* RobustScale RST

* RobustScale SC example code

* bump

* added discussion

* KNNClassifier RST and SC example code (#127)

* KNN ⚠️

* reset knnregressor.rst

* Stats RST & SC examples (#124)

* Stats RST and SC code

* stats rst and sc code

* feedback

* PCA RST and SC Examples (#116)

* PCA RST

* PCA SC example code

* sc example code with whitening example

* added discussion

* james' feedback

Co-authored-by: James Bradbury <[email protected]>

* Update Standardize.rst

Fix indentation error that caused mis-parsing

* maxFFTSize in SC driver is conditional on buffer-proc species (#129)

* BufSTFT RST and SC example code (#112)

* BufSTFT RST and SC example code

* added discussion

* typo

* [Enhance] Learn platform link generation (#120)

* update default transformer to handle learn links

* update maxref template to acount for learn link

* add link to templates discussion

* compartmentalise the learn link derivation

* update the supercollider driver which doesnt use default transform

* use a regex instead of object map

* update derivation of learn links

* add test for link derivation

* typo

* bufnmf: adding resynthmode

* resynthMode : camel case

* Change size to history (#133)

* BufNMFCross RST & SC example (#137)

* NNDSVD (#138)

* ⚠️

* BufNNDSVD RST & SC examples

* NNDSVD RST with descriptions of method

* add token for |buffer|

* feedback

Co-authored-by: James Bradbury <[email protected]>

* NMFMorph (& species transformer[0]) (#135)

* NMFMorph RST and SC examples

* NMFMorph

* NMFMorph (and species transformer[0])

* separate discussion and description

* added comment about why autoassign is set twice

Co-authored-by: James Bradbury <[email protected]>

* put bar chart back in (#123)

* KNNRegressor (#136)

* KNNRegressor RST & SC examples

* fixed sc code formatting

* separate discussion and description!

* (Buf)Transients(Slice) Family (#140)

* transients RST

* ⚠️

* ⚠️

* more sc examples for transients family

* feedback from owen and alex

* feedback round 1

* feedback

* typos in rst

* typos in knnclassifier~ (#142)

* sc example code for BufNMF now includes resynthMode

* deleted SC Guid YAML file

* put spaces around hyperlinks

* BufTransients SC example (Waveform only 2 sec.)

* BufNNDSVD -> BufNMFSeed (#141)

* change the doc

* forgot to change the code sample file name

* fix Loudness select in MLPRegressor example code

* fix bad link in nmf morph (BufNMFCross was missing the buf part)

* added inverse transform and inverse transform point to Normalize

* better code for testing all flucoma objects help files

* added argument k to KDTree RST

* fixed a bad link in KNNClassifier RST

* removed action arguments from RobustScale RST

* fixed mistakes in RobustScale RST that was causing it to not render properly

* added select argument to BufLoudness and Loudness RST (the rest coming soon...)

* added pca whitening to PCA RST

* adding select argument to appropriate RST files

it would be nicer to have them in list form... TODO

* added radius argument to KDTree RST

* added channels argument to BufSelect RST

* checked example code files that use 'select' for possible errors

* found a bit more code needing resynthMode

* [Enhance] Interp to Interplation in NMFMorph (#143)

* typos in knnclassifier~

* change interp to interpolation for nmfmorph

* SKMeans (#132)

* skmeans doc commit

* skmeans: attempt at better doc

* example code a little more explicit

* typos found in kmeans

* update from @weefuzzy feedback - less untrue in most cases :)

* <fit>transform<point> -> <fit>encode<point>

* (Buf)AmpGate RST & SC examples (#122)

* (Buf)AmpGate RST & SC examples

* BufAmpGate help file ⚠️

* drum hit example ⚠️

* ⚠️

* gitignore to ignore vs code

* pa feedback

* added BufAmpGate maxSize parameter

* [Fix] Fix Guide Links in RST (#147)

* typos in knnclassifier~

* fix guide link
jamesb93 added a commit that referenced this pull request Jun 15, 2022
* mfcc rst and sc help file

* mfcc sc examples

* mfcc output

* mfcc helpfile readability

* BufMFCC udpates

* update bufonsetslice docs slightly (#87)

* fix audio transport segmentation of discussion and desc

* fix audio transport segmentation of discussion and desc (#88)

* add missing see alsos

* optional args: add to C++ wrapper

* ParamDump and python: add choices param type

* Json driver (#35)

* Make jinja rendering conditional on driver having a template

* minimal driver for raw JSON output

* cmake target for raw JSON

* fix cmake output directory

* add command line option for raw

* remove spurious item from raw driver

* add back changes that dealt with conditional template rendering

* add a github action for creating a basic API on actions

Co-authored-by: James Bradbury <[email protected]>

* Update json_api.yml

* Update json_api.yml

* Update json_api.yml

* change name of raw output to api.json

* Update json_api.yml

* remove indentation on api

* typo in UMAP

* [Docs] OnsetSlice and BufOnsetSlice (#91)

* update bufonsetslice text

* onsetslice update

* ted's changes

* copy changes to bufonsetslice also

* revamp MelBands and BufMelBands RST, update SC example code

* *melbands description

* added a hyphen

* pitch and buf pitch RST

* added link to the learn page

* edited normalize description

* pitch sc help files

* BufFlatten RST and SC examples

* buf thresh

* sc help file

* typo in fluid pitch sc example code

* bufthresh rst

* typo

* james' feedback

* add .ds_store to gitignore

* pa feedback

* pa feedback

* pa feedback

* PA feedback

* [Docs] Update Normalize Docs (#76)

* update normalize entry

* update description

* pa's requests

Co-authored-by: James Bradbury <[email protected]>

* [Docs] Slicer Feature Objects (#101)

* add skeleton of bufnoveltyfeature

* caveat novelty feature

* add onset feature

* remove space

* add bufampfeature

* realtime amp feature

* update output of AmpFeature

* clean up the language

* caveats for bufonset feature

* add onset feature

* Add JSON generators for Slicers' feature counterparts

* rt noveltyfeature

* fix various errors

* robots in disguise

* change feature -> algorithm

* cleanup noveltyfeature

* make noveltyfeature more consistent

* remove superfluous spaces

* fix description

* fix reference to buffer version in rt object

* add padding

* sc example code for slicer-features

Co-authored-by: weefuzzy <[email protected]>
Co-authored-by: Ted Moore <[email protected]>

* changing preset and interface for noveltyslice examples

* Add argument handlers for const DataSet / LabelSet

* Max/PD: Generate docs for control-in objects (input size and autosize)

* Enhance/max params (#104)

* CMake: Centralise C++ version and set to 17

* Wrapper: Handle new LongRuntimeMax parameter type

* Doc generators: Handle new LongRuntimeMax type + rules for args in Max/PD

* Add a `striprst` jinja filter for removing rst markup in templates (#107)

Such as Max object level description tags

* UMAP cmake reference to python sorted

* typo

* Wrapper and doc-gen update for new `maxFFTSize`

* Buf stats (#103)

* BufStats RST

* BufStats ⚠️

* bufstats supercollider examples

* re-organized descriptions

* added table back in

* typo

* added url

* bufcompose update (#95)

* PCA inverseTransformPoint (#97)

* PCA inverseTransformPoint

* added inverseTransform to PCA RST

* off by one white space 😠

* normalize the desc/disc of mfcc entries (#113)

* HPSS Help file (RST) and SC examples (#81)

* HPSS rst edited and SC examples created

* pa feedback

* Enhance/generate stubs (#119)

* CMake: Generate cpp stubs, smooth out API for dependent projects

* Remove old stubs and scripts

* CMake: Ensure correct MSVC runtime by default

* Correct variable setting logic in macro

* CI: Debug CMAKE_MODULE_PATH

* CMake: Try setting module path using explicit source dir for core

* CI Debug: Print core/scripts

* CMake: Correct typo

* CMake: MSVC with bigobj, tidy up messages

* set explicit UTF8 encoding when opening text

* explicitly use utf8 for writing as well as reading

* MDS RST & SC example code (#121)

* MLPClassifier SC example code

* MLPClassifier SC example code ⚠️

* MLPs SC example code and RSTs ⚠️

* ⚠️

* ⚠️

* wip

* MLP RSTs

* [FIX] this commit adds code to the SC templates to allow enums in the RST to appear in the species data

* feedback

* hidden -> hiddenLayers

* ⚠️

* sc example ⚠️

* sc example code

* bump

* typo

* removed cosine

* weefuzzy and james feedback

* fixed plot size

* MLPRegressor & MLPClassifier RSTs & SC example Code (#109)

* MLPClassifier SC example code

* MLPClassifier SC example code ⚠️

* MLPs SC example code and RSTs ⚠️

* ⚠️

* ⚠️

* wip

* MLP RSTs

* [FIX] this commit adds code to the SC templates to allow enums in the RST to appear in the species data

* feedback

* hidden -> hiddenLayers

* Standardize RST & SC examples (#117)

* Standardize RST & SC example code

* removed the 'invert' argument

* added discussion

* RobustScale (#118)

* ⚠️

* RobustScale RST

* RobustScale SC example code

* bump

* added discussion

* KNNClassifier RST and SC example code (#127)

* KNN ⚠️

* reset knnregressor.rst

* Stats RST & SC examples (#124)

* Stats RST and SC code

* stats rst and sc code

* feedback

* PCA RST and SC Examples (#116)

* PCA RST

* PCA SC example code

* sc example code with whitening example

* added discussion

* james' feedback

Co-authored-by: James Bradbury <[email protected]>

* Update Standardize.rst

Fix indentation error that caused mis-parsing

* maxFFTSize in SC driver is conditional on buffer-proc species (#129)

* BufSTFT RST and SC example code (#112)

* BufSTFT RST and SC example code

* added discussion

* typo

* [Enhance] Learn platform link generation (#120)

* update default transformer to handle learn links

* update maxref template to acount for learn link

* add link to templates discussion

* compartmentalise the learn link derivation

* update the supercollider driver which doesnt use default transform

* use a regex instead of object map

* update derivation of learn links

* add test for link derivation

* typo

* bufnmf: adding resynthmode

* resynthMode : camel case

* Change size to history (#133)

* BufNMFCross RST & SC example (#137)

* NNDSVD (#138)

* ⚠️

* BufNNDSVD RST & SC examples

* NNDSVD RST with descriptions of method

* add token for |buffer|

* feedback

Co-authored-by: James Bradbury <[email protected]>

* NMFMorph (& species transformer[0]) (#135)

* NMFMorph RST and SC examples

* NMFMorph

* NMFMorph (and species transformer[0])

* separate discussion and description

* added comment about why autoassign is set twice

Co-authored-by: James Bradbury <[email protected]>

* put bar chart back in (#123)

* KNNRegressor (#136)

* KNNRegressor RST & SC examples

* fixed sc code formatting

* separate discussion and description!

* (Buf)Transients(Slice) Family (#140)

* transients RST

* ⚠️

* ⚠️

* more sc examples for transients family

* feedback from owen and alex

* feedback round 1

* feedback

* typos in rst

* typos in knnclassifier~ (#142)

* sc example code for BufNMF now includes resynthMode

* deleted SC Guid YAML file

* put spaces around hyperlinks

* BufTransients SC example (Waveform only 2 sec.)

* BufNNDSVD -> BufNMFSeed (#141)

* change the doc

* forgot to change the code sample file name

* fix Loudness select in MLPRegressor example code

* fix bad link in nmf morph (BufNMFCross was missing the buf part)

* added inverse transform and inverse transform point to Normalize

* better code for testing all flucoma objects help files

* added argument k to KDTree RST

* fixed a bad link in KNNClassifier RST

* removed action arguments from RobustScale RST

* fixed mistakes in RobustScale RST that was causing it to not render properly

* added select argument to BufLoudness and Loudness RST (the rest coming soon...)

* added pca whitening to PCA RST

* adding select argument to appropriate RST files

it would be nicer to have them in list form... TODO

* added radius argument to KDTree RST

* added channels argument to BufSelect RST

* checked example code files that use 'select' for possible errors

* found a bit more code needing resynthMode

* [Enhance] Interp to Interplation in NMFMorph (#143)

* typos in knnclassifier~

* change interp to interpolation for nmfmorph

* SKMeans (#132)

* skmeans doc commit

* skmeans: attempt at better doc

* example code a little more explicit

* typos found in kmeans

* update from @weefuzzy feedback - less untrue in most cases :)

* <fit>transform<point> -> <fit>encode<point>

* (Buf)AmpGate RST & SC examples (#122)

* (Buf)AmpGate RST & SC examples

* BufAmpGate help file ⚠️

* drum hit example ⚠️

* ⚠️

* gitignore to ignore vs code

* pa feedback

* added BufAmpGate maxSize parameter

* [Fix] Fix Guide Links in RST (#147)

* typos in knnclassifier~

* fix guide link

* [Fix] LF line ending enforcement (#149)

* typos in knnclassifier~

* enforce newline='\n' on template writing
jamesb93 added a commit that referenced this pull request Jun 24, 2022
* mfcc rst and sc help file

* mfcc sc examples

* mfcc output

* mfcc helpfile readability

* BufMFCC udpates

* update bufonsetslice docs slightly (#87)

* fix audio transport segmentation of discussion and desc

* fix audio transport segmentation of discussion and desc (#88)

* add missing see alsos

* optional args: add to C++ wrapper

* ParamDump and python: add choices param type

* Json driver (#35)

* Make jinja rendering conditional on driver having a template

* minimal driver for raw JSON output

* cmake target for raw JSON

* fix cmake output directory

* add command line option for raw

* remove spurious item from raw driver

* add back changes that dealt with conditional template rendering

* add a github action for creating a basic API on actions

Co-authored-by: James Bradbury <[email protected]>

* Update json_api.yml

* Update json_api.yml

* Update json_api.yml

* change name of raw output to api.json

* Update json_api.yml

* remove indentation on api

* typo in UMAP

* [Docs] OnsetSlice and BufOnsetSlice (#91)

* update bufonsetslice text

* onsetslice update

* ted's changes

* copy changes to bufonsetslice also

* revamp MelBands and BufMelBands RST, update SC example code

* *melbands description

* added a hyphen

* pitch and buf pitch RST

* added link to the learn page

* edited normalize description

* pitch sc help files

* BufFlatten RST and SC examples

* buf thresh

* sc help file

* typo in fluid pitch sc example code

* bufthresh rst

* typo

* james' feedback

* add .ds_store to gitignore

* pa feedback

* pa feedback

* pa feedback

* PA feedback

* [Docs] Update Normalize Docs (#76)

* update normalize entry

* update description

* pa's requests

Co-authored-by: James Bradbury <[email protected]>

* [Docs] Slicer Feature Objects (#101)

* add skeleton of bufnoveltyfeature

* caveat novelty feature

* add onset feature

* remove space

* add bufampfeature

* realtime amp feature

* update output of AmpFeature

* clean up the language

* caveats for bufonset feature

* add onset feature

* Add JSON generators for Slicers' feature counterparts

* rt noveltyfeature

* fix various errors

* robots in disguise

* change feature -> algorithm

* cleanup noveltyfeature

* make noveltyfeature more consistent

* remove superfluous spaces

* fix description

* fix reference to buffer version in rt object

* add padding

* sc example code for slicer-features

Co-authored-by: weefuzzy <[email protected]>
Co-authored-by: Ted Moore <[email protected]>

* changing preset and interface for noveltyslice examples

* Add argument handlers for const DataSet / LabelSet

* Max/PD: Generate docs for control-in objects (input size and autosize)

* Enhance/max params (#104)

* CMake: Centralise C++ version and set to 17

* Wrapper: Handle new LongRuntimeMax parameter type

* Doc generators: Handle new LongRuntimeMax type + rules for args in Max/PD

* Add a `striprst` jinja filter for removing rst markup in templates (#107)

Such as Max object level description tags

* UMAP cmake reference to python sorted

* typo

* Wrapper and doc-gen update for new `maxFFTSize`

* Buf stats (#103)

* BufStats RST

* BufStats ⚠️

* bufstats supercollider examples

* re-organized descriptions

* added table back in

* typo

* added url

* bufcompose update (#95)

* PCA inverseTransformPoint (#97)

* PCA inverseTransformPoint

* added inverseTransform to PCA RST

* off by one white space 😠

* normalize the desc/disc of mfcc entries (#113)

* HPSS Help file (RST) and SC examples (#81)

* HPSS rst edited and SC examples created

* pa feedback

* Enhance/generate stubs (#119)

* CMake: Generate cpp stubs, smooth out API for dependent projects

* Remove old stubs and scripts

* CMake: Ensure correct MSVC runtime by default

* Correct variable setting logic in macro

* CI: Debug CMAKE_MODULE_PATH

* CMake: Try setting module path using explicit source dir for core

* CI Debug: Print core/scripts

* CMake: Correct typo

* CMake: MSVC with bigobj, tidy up messages

* set explicit UTF8 encoding when opening text

* explicitly use utf8 for writing as well as reading

* MDS RST & SC example code (#121)

* MLPClassifier SC example code

* MLPClassifier SC example code ⚠️

* MLPs SC example code and RSTs ⚠️

* ⚠️

* ⚠️

* wip

* MLP RSTs

* [FIX] this commit adds code to the SC templates to allow enums in the RST to appear in the species data

* feedback

* hidden -> hiddenLayers

* ⚠️

* sc example ⚠️

* sc example code

* bump

* typo

* removed cosine

* weefuzzy and james feedback

* fixed plot size

* MLPRegressor & MLPClassifier RSTs & SC example Code (#109)

* MLPClassifier SC example code

* MLPClassifier SC example code ⚠️

* MLPs SC example code and RSTs ⚠️

* ⚠️

* ⚠️

* wip

* MLP RSTs

* [FIX] this commit adds code to the SC templates to allow enums in the RST to appear in the species data

* feedback

* hidden -> hiddenLayers

* Standardize RST & SC examples (#117)

* Standardize RST & SC example code

* removed the 'invert' argument

* added discussion

* RobustScale (#118)

* ⚠️

* RobustScale RST

* RobustScale SC example code

* bump

* added discussion

* KNNClassifier RST and SC example code (#127)

* KNN ⚠️

* reset knnregressor.rst

* Stats RST & SC examples (#124)

* Stats RST and SC code

* stats rst and sc code

* feedback

* PCA RST and SC Examples (#116)

* PCA RST

* PCA SC example code

* sc example code with whitening example

* added discussion

* james' feedback

Co-authored-by: James Bradbury <[email protected]>

* Update Standardize.rst

Fix indentation error that caused mis-parsing

* maxFFTSize in SC driver is conditional on buffer-proc species (#129)

* BufSTFT RST and SC example code (#112)

* BufSTFT RST and SC example code

* added discussion

* typo

* [Enhance] Learn platform link generation (#120)

* update default transformer to handle learn links

* update maxref template to acount for learn link

* add link to templates discussion

* compartmentalise the learn link derivation

* update the supercollider driver which doesnt use default transform

* use a regex instead of object map

* update derivation of learn links

* add test for link derivation

* typo

* bufnmf: adding resynthmode

* resynthMode : camel case

* Change size to history (#133)

* BufNMFCross RST & SC example (#137)

* NNDSVD (#138)

* ⚠️

* BufNNDSVD RST & SC examples

* NNDSVD RST with descriptions of method

* add token for |buffer|

* feedback

Co-authored-by: James Bradbury <[email protected]>

* NMFMorph (& species transformer[0]) (#135)

* NMFMorph RST and SC examples

* NMFMorph

* NMFMorph (and species transformer[0])

* separate discussion and description

* added comment about why autoassign is set twice

Co-authored-by: James Bradbury <[email protected]>

* put bar chart back in (#123)

* KNNRegressor (#136)

* KNNRegressor RST & SC examples

* fixed sc code formatting

* separate discussion and description!

* (Buf)Transients(Slice) Family (#140)

* transients RST

* ⚠️

* ⚠️

* more sc examples for transients family

* feedback from owen and alex

* feedback round 1

* feedback

* typos in rst

* typos in knnclassifier~ (#142)

* sc example code for BufNMF now includes resynthMode

* deleted SC Guid YAML file

* put spaces around hyperlinks

* BufTransients SC example (Waveform only 2 sec.)

* BufNNDSVD -> BufNMFSeed (#141)

* change the doc

* forgot to change the code sample file name

* fix Loudness select in MLPRegressor example code

* fix bad link in nmf morph (BufNMFCross was missing the buf part)

* added inverse transform and inverse transform point to Normalize

* better code for testing all flucoma objects help files

* added argument k to KDTree RST

* fixed a bad link in KNNClassifier RST

* removed action arguments from RobustScale RST

* fixed mistakes in RobustScale RST that was causing it to not render properly

* added select argument to BufLoudness and Loudness RST (the rest coming soon...)

* added pca whitening to PCA RST

* adding select argument to appropriate RST files

it would be nicer to have them in list form... TODO

* added radius argument to KDTree RST

* added channels argument to BufSelect RST

* checked example code files that use 'select' for possible errors

* found a bit more code needing resynthMode

* [Enhance] Interp to Interplation in NMFMorph (#143)

* typos in knnclassifier~

* change interp to interpolation for nmfmorph

* SKMeans (#132)

* skmeans doc commit

* skmeans: attempt at better doc

* example code a little more explicit

* typos found in kmeans

* update from @weefuzzy feedback - less untrue in most cases :)

* <fit>transform<point> -> <fit>encode<point>

* (Buf)AmpGate RST & SC examples (#122)

* (Buf)AmpGate RST & SC examples

* BufAmpGate help file ⚠️

* drum hit example ⚠️

* ⚠️

* gitignore to ignore vs code

* pa feedback

* added BufAmpGate maxSize parameter

* [Fix] Fix Guide Links in RST (#147)

* typos in knnclassifier~

* fix guide link

* [Fix] LF line ending enforcement (#149)

* typos in knnclassifier~

* enforce newline='\n' on template writing

* interface changes

* capitalise beatRemember

* Fix `<o>` links to `buffer~` for max doc

* Mop up vestigial scdoc syntax

* correct reference to "class" in description

* [fix] typos and errors (#153)

* various typos

* remove hyphen

* more typos

* various typos/non-grammatical errors

* typos in example code

* remove bufNum

* fix low/mid/ min/median confusion

* [docs] Update see-also content (#155)

* update seealso

* realign table

* [docs] Buffer clients link to buffer management tutorial (#157)

* if client starts with buf link to buffer management tutorial

* use full name of guide

* use name of .maxvig rather than name attribute of <vignette>

* also dataset objects

* proposed layout improvement (#154)

* add outward links to RST and templat
jamesb93 added a commit that referenced this pull request Jun 30, 2022
* [Release] 1.0.0 (#158)

* mfcc rst and sc help file

* mfcc sc examples

* mfcc output

* mfcc helpfile readability

* BufMFCC udpates

* update bufonsetslice docs slightly (#87)

* fix audio transport segmentation of discussion and desc

* fix audio transport segmentation of discussion and desc (#88)

* add missing see alsos

* optional args: add to C++ wrapper

* ParamDump and python: add choices param type

* Json driver (#35)

* Make jinja rendering conditional on driver having a template

* minimal driver for raw JSON output

* cmake target for raw JSON

* fix cmake output directory

* add command line option for raw

* remove spurious item from raw driver

* add back changes that dealt with conditional template rendering

* add a github action for creating a basic API on actions

Co-authored-by: James Bradbury <[email protected]>

* Update json_api.yml

* Update json_api.yml

* Update json_api.yml

* change name of raw output to api.json

* Update json_api.yml

* remove indentation on api

* typo in UMAP

* [Docs] OnsetSlice and BufOnsetSlice (#91)

* update bufonsetslice text

* onsetslice update

* ted's changes

* copy changes to bufonsetslice also

* revamp MelBands and BufMelBands RST, update SC example code

* *melbands description

* added a hyphen

* pitch and buf pitch RST

* added link to the learn page

* edited normalize description

* pitch sc help files

* BufFlatten RST and SC examples

* buf thresh

* sc help file

* typo in fluid pitch sc example code

* bufthresh rst

* typo

* james' feedback

* add .ds_store to gitignore

* pa feedback

* pa feedback

* pa feedback

* PA feedback

* [Docs] Update Normalize Docs (#76)

* update normalize entry

* update description

* pa's requests

Co-authored-by: James Bradbury <[email protected]>

* [Docs] Slicer Feature Objects (#101)

* add skeleton of bufnoveltyfeature

* caveat novelty feature

* add onset feature

* remove space

* add bufampfeature

* realtime amp feature

* update output of AmpFeature

* clean up the language

* caveats for bufonset feature

* add onset feature

* Add JSON generators for Slicers' feature counterparts

* rt noveltyfeature

* fix various errors

* robots in disguise

* change feature -> algorithm

* cleanup noveltyfeature

* make noveltyfeature more consistent

* remove superfluous spaces

* fix description

* fix reference to buffer version in rt object

* add padding

* sc example code for slicer-features

Co-authored-by: weefuzzy <[email protected]>
Co-authored-by: Ted Moore <[email protected]>

* changing preset and interface for noveltyslice examples

* Add argument handlers for const DataSet / LabelSet

* Max/PD: Generate docs for control-in objects (input size and autosize)

* Enhance/max params (#104)

* CMake: Centralise C++ version and set to 17

* Wrapper: Handle new LongRuntimeMax parameter type

* Doc generators: Handle new LongRuntimeMax type + rules for args in Max/PD

* Add a `striprst` jinja filter for removing rst markup in templates (#107)

Such as Max object level description tags

* UMAP cmake reference to python sorted

* typo

* Wrapper and doc-gen update for new `maxFFTSize`

* Buf stats (#103)

* BufStats RST

* BufStats ⚠️

* bufstats supercollider examples

* re-organized descriptions

* added table back in

* typo

* added url

* bufcompose update (#95)

* PCA inverseTransformPoint (#97)

* PCA inverseTransformPoint

* added inverseTransform to PCA RST

* off by one white space 😠

* normalize the desc/disc of mfcc entries (#113)

* HPSS Help file (RST) and SC examples (#81)

* HPSS rst edited and SC examples created

* pa feedback

* Enhance/generate stubs (#119)

* CMake: Generate cpp stubs, smooth out API for dependent projects

* Remove old stubs and scripts

* CMake: Ensure correct MSVC runtime by default

* Correct variable setting logic in macro

* CI: Debug CMAKE_MODULE_PATH

* CMake: Try setting module path using explicit source dir for core

* CI Debug: Print core/scripts

* CMake: Correct typo

* CMake: MSVC with bigobj, tidy up messages

* set explicit UTF8 encoding when opening text

* explicitly use utf8 for writing as well as reading

* MDS RST & SC example code (#121)

* MLPClassifier SC example code

* MLPClassifier SC example code ⚠️

* MLPs SC example code and RSTs ⚠️

* ⚠️

* ⚠️

* wip

* MLP RSTs

* [FIX] this commit adds code to the SC templates to allow enums in the RST to appear in the species data

* feedback

* hidden -> hiddenLayers

* ⚠️

* sc example ⚠️

* sc example code

* bump

* typo

* removed cosine

* weefuzzy and james feedback

* fixed plot size

* MLPRegressor & MLPClassifier RSTs & SC example Code (#109)

* MLPClassifier SC example code

* MLPClassifier SC example code ⚠️

* MLPs SC example code and RSTs ⚠️

* ⚠️

* ⚠️

* wip

* MLP RSTs

* [FIX] this commit adds code to the SC templates to allow enums in the RST to appear in the species data

* feedback

* hidden -> hiddenLayers

* Standardize RST & SC examples (#117)

* Standardize RST & SC example code

* removed the 'invert' argument

* added discussion

* RobustScale (#118)

* ⚠️

* RobustScale RST

* RobustScale SC example code

* bump

* added discussion

* KNNClassifier RST and SC example code (#127)

* KNN ⚠️

* reset knnregressor.rst

* Stats RST & SC examples (#124)

* Stats RST and SC code

* stats rst and sc code

* feedback

* PCA RST and SC Examples (#116)

* PCA RST

* PCA SC example code

* sc example code with whitening example

* added discussion

* james' feedback

Co-authored-by: James Bradbury <[email protected]>

* Update Standardize.rst

Fix indentation error that caused mis-parsing

* maxFFTSize in SC driver is conditional on buffer-proc species (#129)

* BufSTFT RST and SC example code (#112)

* BufSTFT RST and SC example code

* added discussion

* typo

* [Enhance] Learn platform link generation (#120)

* update default transformer to handle learn links

* update maxref template to acount for learn link

* add link to templates discussion

* compartmentalise the learn link derivation

* update the supercollider driver which doesnt use default transform

* use a regex instead of object map

* update derivation of learn links

* add test for link derivation

* typo

* bufnmf: adding resynthmode

* resynthMode : camel case

* Change size to history (#133)

* BufNMFCross RST & SC example (#137)

* NNDSVD (#138)

* ⚠️

* BufNNDSVD RST & SC examples

* NNDSVD RST with descriptions of method

* add token for |buffer|

* feedback

Co-authored-by: James Bradbury <[email protected]>

* NMFMorph (& species transformer[0]) (#135)

* NMFMorph RST and SC examples

* NMFMorph

* NMFMorph (and species transformer[0])

* separate discussion and description

* added comment about why autoassign is set twice

Co-authored-by: James Bradbury <[email protected]>

* put bar chart back in (#123)

* KNNRegressor (#136)

* KNNRegressor RST & SC examples

* fixed sc code formatting

* separate discussion and description!

* (Buf)Transients(Slice) Family (#140)

* transients RST

* ⚠️

* ⚠️

* more sc examples for transients family

* feedback from owen and alex

* feedback round 1

* feedback

* typos in rst

* typos in knnclassifier~ (#142)

* sc example code for BufNMF now includes resynthMode

* deleted SC Guid YAML file

* put spaces around hyperlinks

* BufTransients SC example (Waveform only 2 sec.)

* BufNNDSVD -> BufNMFSeed (#141)

* change the doc

* forgot to change the code sample file name

* fix Loudness select in MLPRegressor example code

* fix bad link in nmf morph (BufNMFCross was missing the buf part)

* added inverse transform and inverse transform point to Normalize

* better code for testing all flucoma objects help files

* added argument k to KDTree RST

* fixed a bad link in KNNClassifier RST

* removed action arguments from RobustScale RST

* fixed mistakes in RobustScale RST that was causing it to not render properly

* added select argument to BufLoudness and Loudness RST (the rest coming soon...)

* added pca whitening to PCA RST

* adding select argument to appropriate RST files

it would be nicer to have them in list form... TODO

* added radius argument to KDTree RST

* added channels argument to BufSelect RST

* checked example code files that use 'select' for possible errors

* found a bit more code needing resynthMode

* [Enhance] Interp to Interplation in NMFMorph (#143)

* typos in knnclassifier~

* change interp to interpolation for nmfmorph

* SKMeans (#132)

* skmeans doc commit

* skmeans: attempt at better doc

* example code a little more explicit

* typos found in kmeans

* update from @weefuzzy feedback - less untrue in most cases :)

* <fit>transform<point> -> <fit>encode<point>

* (Buf)AmpGate RST & SC examples (#122)

* (Buf)AmpGate RST & SC examples

* BufAmpGate help file ⚠️

* drum hit example ⚠️

* ⚠️

* gitignore to ignore vs code

* pa feedback

* added BufAmpGate maxSize parameter

* [Fix] Fix Guide Links in RST (#147)

* typos in knnclassifier~

* fix guide link

* [Fix] LF line ending enforcement (#149)

* typos in knnclassifier~

* enforce newline='\n' on template writing

* interface changes

* capitalise beatRemember

* Fix `<o>` links to `buffer~` for max doc

* Mop up vestigial scdoc syntax

* correct reference to "class" in description

* [fix] typos and errors (#153)

* various typos

* remove hyphen

* more typos

* various typos/non-grammatical errors

* typos in example code

* remove bufNum

* fix low/mid/ min/median confusion

* [docs] Update see-also content (#155)

* update seealso

* realign table

* [docs] Buffer clients link to buffer management tutorial (#157)

* if client starts with buf link to buffer management tutorial

* use full name of guide

* use name of .maxvig rather than name attribute of <vignette>

* also dataset objects

* proposed layout improvement (#154)

* add outward links to RST and templat

* sample -> samples

* The index of the buffer -> The buffer

* process -> processed

* various other typos
@jamesb93 jamesb93 mentioned this pull request Jun 30, 2022
jamesb93 added a commit that referenced this pull request Jun 30, 2022
* mfcc rst and sc help file

* mfcc sc examples

* mfcc output

* mfcc helpfile readability

* BufMFCC udpates

* update bufonsetslice docs slightly (#87)

* fix audio transport segmentation of discussion and desc

* fix audio transport segmentation of discussion and desc (#88)

* add missing see alsos

* optional args: add to C++ wrapper

* ParamDump and python: add choices param type

* Json driver (#35)

* Make jinja rendering conditional on driver having a template

* minimal driver for raw JSON output

* cmake target for raw JSON

* fix cmake output directory

* add command line option for raw

* remove spurious item from raw driver

* add back changes that dealt with conditional template rendering

* add a github action for creating a basic API on actions

Co-authored-by: James Bradbury <[email protected]>

* Update json_api.yml

* Update json_api.yml

* Update json_api.yml

* change name of raw output to api.json

* Update json_api.yml

* remove indentation on api

* typo in UMAP

* [Docs] OnsetSlice and BufOnsetSlice (#91)

* update bufonsetslice text

* onsetslice update

* ted's changes

* copy changes to bufonsetslice also

* revamp MelBands and BufMelBands RST, update SC example code

* *melbands description

* added a hyphen

* pitch and buf pitch RST

* added link to the learn page

* edited normalize description

* pitch sc help files

* BufFlatten RST and SC examples

* buf thresh

* sc help file

* typo in fluid pitch sc example code

* bufthresh rst

* typo

* james' feedback

* add .ds_store to gitignore

* pa feedback

* pa feedback

* pa feedback

* PA feedback

* [Docs] Update Normalize Docs (#76)

* update normalize entry

* update description

* pa's requests

Co-authored-by: James Bradbury <[email protected]>

* [Docs] Slicer Feature Objects (#101)

* add skeleton of bufnoveltyfeature

* caveat novelty feature

* add onset feature

* remove space

* add bufampfeature

* realtime amp feature

* update output of AmpFeature

* clean up the language

* caveats for bufonset feature

* add onset feature

* Add JSON generators for Slicers' feature counterparts

* rt noveltyfeature

* fix various errors

* robots in disguise

* change feature -> algorithm

* cleanup noveltyfeature

* make noveltyfeature more consistent

* remove superfluous spaces

* fix description

* fix reference to buffer version in rt object

* add padding

* sc example code for slicer-features

Co-authored-by: weefuzzy <[email protected]>
Co-authored-by: Ted Moore <[email protected]>

* changing preset and interface for noveltyslice examples

* Add argument handlers for const DataSet / LabelSet

* Max/PD: Generate docs for control-in objects (input size and autosize)

* Enhance/max params (#104)

* CMake: Centralise C++ version and set to 17

* Wrapper: Handle new LongRuntimeMax parameter type

* Doc generators: Handle new LongRuntimeMax type + rules for args in Max/PD

* Add a `striprst` jinja filter for removing rst markup in templates (#107)

Such as Max object level description tags

* UMAP cmake reference to python sorted

* typo

* Wrapper and doc-gen update for new `maxFFTSize`

* Buf stats (#103)

* BufStats RST

* BufStats ⚠️

* bufstats supercollider examples

* re-organized descriptions

* added table back in

* typo

* added url

* bufcompose update (#95)

* PCA inverseTransformPoint (#97)

* PCA inverseTransformPoint

* added inverseTransform to PCA RST

* off by one white space 😠

* normalize the desc/disc of mfcc entries (#113)

* HPSS Help file (RST) and SC examples (#81)

* HPSS rst edited and SC examples created

* pa feedback

* Enhance/generate stubs (#119)

* CMake: Generate cpp stubs, smooth out API for dependent projects

* Remove old stubs and scripts

* CMake: Ensure correct MSVC runtime by default

* Correct variable setting logic in macro

* CI: Debug CMAKE_MODULE_PATH

* CMake: Try setting module path using explicit source dir for core

* CI Debug: Print core/scripts

* CMake: Correct typo

* CMake: MSVC with bigobj, tidy up messages

* set explicit UTF8 encoding when opening text

* explicitly use utf8 for writing as well as reading

* MDS RST & SC example code (#121)

* MLPClassifier SC example code

* MLPClassifier SC example code ⚠️

* MLPs SC example code and RSTs ⚠️

* ⚠️

* ⚠️

* wip

* MLP RSTs

* [FIX] this commit adds code to the SC templates to allow enums in the RST to appear in the species data

* feedback

* hidden -> hiddenLayers

* ⚠️

* sc example ⚠️

* sc example code

* bump

* typo

* removed cosine

* weefuzzy and james feedback

* fixed plot size

* MLPRegressor & MLPClassifier RSTs & SC example Code (#109)

* MLPClassifier SC example code

* MLPClassifier SC example code ⚠️

* MLPs SC example code and RSTs ⚠️

* ⚠️

* ⚠️

* wip

* MLP RSTs

* [FIX] this commit adds code to the SC templates to allow enums in the RST to appear in the species data

* feedback

* hidden -> hiddenLayers

* Standardize RST & SC examples (#117)

* Standardize RST & SC example code

* removed the 'invert' argument

* added discussion

* RobustScale (#118)

* ⚠️

* RobustScale RST

* RobustScale SC example code

* bump

* added discussion

* KNNClassifier RST and SC example code (#127)

* KNN ⚠️

* reset knnregressor.rst

* Stats RST & SC examples (#124)

* Stats RST and SC code

* stats rst and sc code

* feedback

* PCA RST and SC Examples (#116)

* PCA RST

* PCA SC example code

* sc example code with whitening example

* added discussion

* james' feedback

Co-authored-by: James Bradbury <[email protected]>

* Update Standardize.rst

Fix indentation error that caused mis-parsing

* maxFFTSize in SC driver is conditional on buffer-proc species (#129)

* BufSTFT RST and SC example code (#112)

* BufSTFT RST and SC example code

* added discussion

* typo

* [Enhance] Learn platform link generation (#120)

* update default transformer to handle learn links

* update maxref template to acount for learn link

* add link to templates discussion

* compartmentalise the learn link derivation

* update the supercollider driver which doesnt use default transform

* use a regex instead of object map

* update derivation of learn links

* add test for link derivation

* typo

* bufnmf: adding resynthmode

* resynthMode : camel case

* Change size to history (#133)

* BufNMFCross RST & SC example (#137)

* NNDSVD (#138)

* ⚠️

* BufNNDSVD RST & SC examples

* NNDSVD RST with descriptions of method

* add token for |buffer|

* feedback

Co-authored-by: James Bradbury <[email protected]>

* NMFMorph (& species transformer[0]) (#135)

* NMFMorph RST and SC examples

* NMFMorph

* NMFMorph (and species transformer[0])

* separate discussion and description

* added comment about why autoassign is set twice

Co-authored-by: James Bradbury <[email protected]>

* put bar chart back in (#123)

* KNNRegressor (#136)

* KNNRegressor RST & SC examples

* fixed sc code formatting

* separate discussion and description!

* (Buf)Transients(Slice) Family (#140)

* transients RST

* ⚠️

* ⚠️

* more sc examples for transients family

* feedback from owen and alex

* feedback round 1

* feedback

* typos in rst

* typos in knnclassifier~ (#142)

* sc example code for BufNMF now includes resynthMode

* deleted SC Guid YAML file

* put spaces around hyperlinks

* BufTransients SC example (Waveform only 2 sec.)

* BufNNDSVD -> BufNMFSeed (#141)

* change the doc

* forgot to change the code sample file name

* fix Loudness select in MLPRegressor example code

* fix bad link in nmf morph (BufNMFCross was missing the buf part)

* added inverse transform and inverse transform point to Normalize

* better code for testing all flucoma objects help files

* added argument k to KDTree RST

* fixed a bad link in KNNClassifier RST

* removed action arguments from RobustScale RST

* fixed mistakes in RobustScale RST that was causing it to not render properly

* added select argument to BufLoudness and Loudness RST (the rest coming soon...)

* added pca whitening to PCA RST

* adding select argument to appropriate RST files

it would be nicer to have them in list form... TODO

* added radius argument to KDTree RST

* added channels argument to BufSelect RST

* checked example code files that use 'select' for possible errors

* found a bit more code needing resynthMode

* [Enhance] Interp to Interplation in NMFMorph (#143)

* typos in knnclassifier~

* change interp to interpolation for nmfmorph

* SKMeans (#132)

* skmeans doc commit

* skmeans: attempt at better doc

* example code a little more explicit

* typos found in kmeans

* update from @weefuzzy feedback - less untrue in most cases :)

* <fit>transform<point> -> <fit>encode<point>

* (Buf)AmpGate RST & SC examples (#122)

* (Buf)AmpGate RST & SC examples

* BufAmpGate help file ⚠️

* drum hit example ⚠️

* ⚠️

* gitignore to ignore vs code

* pa feedback

* added BufAmpGate maxSize parameter

* [Fix] Fix Guide Links in RST (#147)

* typos in knnclassifier~

* fix guide link

* [Fix] LF line ending enforcement (#149)

* typos in knnclassifier~

* enforce newline='\n' on template writing

* interface changes

* capitalise beatRemember

* Fix `<o>` links to `buffer~` for max doc

* Mop up vestigial scdoc syntax

* correct reference to "class" in description

* [fix] typos and errors (#153)

* various typos

* remove hyphen

* more typos

* various typos/non-grammatical errors

* typos in example code

* remove bufNum

* fix low/mid/ min/median confusion

* [docs] Update see-also content (#155)

* update seealso

* realign table

* [docs] Buffer clients link to buffer management tutorial (#157)

* if client starts with buf link to buffer management tutorial

* use full name of guide

* use name of .maxvig rather than name attribute of <vignette>

* also dataset objects

* proposed layout improvement (#154)

* add outward links to RST and templat

* small typo in the *transient* family

* info on passing symbols for algorithm and metric to slicers (#160)

* Max to SC translation of example code (#151)

* max to sc translation batch 1

(buf)audiotransport, (buf)chroma, bufcompose, (buf)loudness, (buf)noveltyslice, bufscale, bufselect

* max to sc translation of example code round 2

* LabelSet

* Normalize

* SKMeans & UMAP example code translated from Max

* also check on the flucoma guide file

* removed extraneous postln in sc example

* [fix] typos (#161)

* [Release] 1.0.0 (#158)

* mfcc rst and sc help file

* mfcc sc examples

* mfcc output

* mfcc helpfile readability

* BufMFCC udpates

* update bufonsetslice docs slightly (#87)

* fix audio transport segmentation of discussion and desc

* fix audio transport segmentation of discussion and desc (#88)

* add missing see alsos

* optional args: add to C++ wrapper

* ParamDump and python: add choices param type

* Json driver (#35)

* Make jinja rendering conditional on driver having a template

* minimal driver for raw JSON output

* cmake target for raw JSON

* fix cmake output directory

* add command line option for raw

* remove spurious item from raw driver

* add back changes that dealt with conditional template rendering

* add a github action for creating a basic API on actions

Co-authored-by: James Bradbury <[email protected]>

* Update json_api.yml

* Update json_api.yml

* Update json_api.yml

* change name of raw output to api.json

* Update json_api.yml

* remove indentation on api

* typo in UMAP

* [Docs] OnsetSlice and BufOnsetSlice (#91)

* update bufonsetslice text

* onsetslice update

* ted's changes

* copy changes to bufonsetslice also

* revamp MelBands and BufMelBands RST, update SC example code

* *melbands description

* added a hyphen

* pitch and buf pitch RST

* added link to the learn page

* edited normalize description

* pitch sc help files

* BufFlatten RST and SC examples

* buf thresh

* sc help file

* typo in fluid pitch sc example code

* bufthresh rst

* typo

* james' feedback

* add .ds_store to gitignore

* pa feedback

* pa feedback

* pa feedback

* PA feedback

* [Docs] Update Normalize Docs (#76)

* update normalize entry

* update description

* pa's requests

Co-authored-by: James Bradbury <[email protected]>

* [Docs] Slicer Feature Objects (#101)

* add skeleton of bufnoveltyfeature

* caveat novelty feature

* add onset feature

* remove space

* add bufampfeature

* realtime amp feature

* update output of AmpFeature

* clean up the language

* caveats for bufonset feature

* add onset feature

* Add JSON generators for Slicers' feature counterparts

* rt noveltyfeature

* fix various errors

* robots in disguise

* change feature -> algorithm

* cleanup noveltyfeature

* make noveltyfeature more consistent

* remove superfluous spaces

* fix description

* fix reference to buffer version in rt object

* add padding

* sc example code for slicer-features

Co-authored-by: weefuzzy <[email protected]>
Co-authored-by: Ted Moore <[email protected]>

* changing preset and interface for noveltyslice examples

* Add argument handlers for const DataSet / LabelSet

* Max/PD: Generate docs for control-in objects (input size and autosize)

* Enhance/max params (#104)

* CMake: Centralise C++ version and set to 17

* Wrapper: Handle new LongRuntimeMax parameter type

* Doc generators: Handle new LongRuntimeMax type + rules for args in Max/PD

* Add a `striprst` jinja filter for removing rst markup in templates (#107)

Such as Max object level description tags

* UMAP cmake reference to python sorted

* typo

* Wrapper and doc-gen update for new `maxFFTSize`

* Buf stats (#103)

* BufStats RST

* BufStats ⚠️

* bufstats supercollider examples

* re-organized descriptions

* added table back in

* typo

* added url

* bufcompose update (#95)

* PCA inverseTransformPoint (#97)

* PCA inverseTransformPoint

* added inverseTransform to PCA RST

* off by one white space 😠

* normalize the desc/disc of mfcc entries (#113)

* HPSS Help file (RST) and SC examples (#81)

* HPSS rst edited and SC examples created

* pa feedback

* Enhance/generate stubs (#119)

* CMake: Generate cpp stubs, smooth out API for dependent projects

* Remove old stubs and scripts

* CMake: Ensure correct MSVC runtime by default

* Correct variable setting logic in macro

* CI: Debug CMAKE_MODULE_PATH

* CMake: Try setting module path using explicit source dir for core

* CI Debug: Print core/scripts

* CMake: Correct typo

* CMake: MSVC with bigobj, tidy up messages

* set explicit UTF8 encoding when opening text

* explicitly use utf8 for writing as well as reading

* MDS RST & SC example code (#121)

* MLPClassifier SC example code

* MLPClassifier SC example code ⚠️

* MLPs SC example code and RSTs ⚠️

* ⚠️

* ⚠️

* wip

* MLP RSTs

* [FIX] this commit adds code to the SC templates to allow enums in the RST to appear in the species data

* feedback

* hidden -> hiddenLayers

* ⚠️

* sc example ⚠️

* sc example code

* bump

* typo

* removed cosine

* weefuzzy and james feedback

* fixed plot size

* MLPRegressor & MLPClassifier RSTs & SC example Code (#109)

* MLPClassifier SC example code

* MLPClassifier SC example code ⚠️

* MLPs SC example code and RSTs ⚠️

* ⚠️

* ⚠️

* wip

* MLP RSTs

* [FIX] this commit adds code to the SC templates to allow enums in the RST to appear in the species data

* feedback

* hidden -> hiddenLayers

* Standardize RST & SC examples (#117)

* Standardize RST & SC example code

* removed the 'invert' argument

* added discussion

* RobustScale (#118)

* ⚠️

* RobustScale RST

* RobustScale SC example code

* bump

* added discussion

* KNNClassifier RST and SC example code (#127)

* KNN ⚠️

* reset knnregressor.rst

* Stats RST & SC examples (#124)

* Stats RST and SC code

* stats rst and sc code

* feedback

* PCA RST and SC Examples (#116)

* PCA RST

* PCA SC example code

* sc example code with whitening example

* added discussion

* james' feedback

Co-authored-by: James Bradbury <[email protected]>

* Update Standardize.rst

Fix indentation error that caused mis-parsing

* maxFFTSize in SC driver is conditional on buffer-proc species (#129)

* BufSTFT RST and SC example code (#112)

* BufSTFT RST and SC example code

* added discussion

* typo

* [Enhance] Learn platform link generation (#120)

* update default transformer to handle learn links

* update maxref template to acount for learn link

* add link to templates discussion

* compartmentalise the learn link derivation

* update the supercollider driver which doesnt use default transform

* use a regex instead of object map

* update derivation of learn links

* add test for link derivation

* typo

* bufnmf: adding resynthmode

* resynthMode : camel case

* Change size to history (#133)

* BufNMFCross RST & SC example (#137)

* NNDSVD (#138)

* ⚠️

* BufNNDSVD RST & SC examples

* NNDSVD RST with descriptions of method

* add token for |buffer|

* feedback

Co-authored-by: James Bradbury <[email protected]>

* NMFMorph (& species transformer[0]) (#135)

* NMFMorph RST and SC examples

* NMFMorph

* NMFMorph (and species transformer[0])

* separate discussion and description

* added comment about why autoassign is set twice

Co-authored-by: James Bradbury <[email protected]>

* put bar chart back in (#123)

* KNNRegressor (#136)

* KNNRegressor RST & SC examples

* fixed sc code formatting

* separate discussion and description!

* (Buf)Transients(Slice) Family (#140)

* transients RST

* ⚠️

* ⚠️

* more sc examples for transients family

* feedback from owen and alex

* feedback round 1

* feedback

* typos in rst

* typos in knnclassifier~ (#142)

* sc example code for BufNMF now includes resynthMode

* deleted SC Guid YAML file

* put spaces around hyperlinks

* BufTransients SC example (Waveform only 2 sec.)

* BufNNDSVD -> BufNMFSeed (#141)

* change the doc

* forgot to change the code sample file name

* fix Loudness select in MLPRegressor example code

* fix bad link in nmf morph (BufNMFCross was missing the buf part)

* added inverse transform and inverse transform point to Normalize

* better code for testing all flucoma objects help files

* added argument k to KDTree RST

* fixed a bad link in KNNClassifier RST

* removed action arguments from RobustScale RST

* fixed mistakes in RobustScale RST that was causing it to not render properly

* added select argument to BufLoudness and Loudness RST (the rest coming soon...)

* added pca whitening to PCA RST

* adding select argument to appropriate RST files

it would be nicer to have them in list form... TODO

* added radius argument to KDTree RST

* added channels argument to BufSelect RST

* checked example code files that use 'select' for possible errors

* found a bit more code needing resynthMode

* [Enhance] Interp to Interplation in NMFMorph (#143)

* typos in knnclassifier~

* change interp to interpolation for nmfmorph

* SKMeans (#132)

* skmeans doc commit

* skmeans: attempt at better doc

* example code a little more explicit

* typos found in kmeans

* update from @weefuzzy feedback - less untrue in most cases :)

* <fit>transform<point> -> <fit>encode<point>

* (Buf)AmpGate RST & SC examples (#122)

* (Buf)AmpGate RST & SC examples

* BufAmpGate help file ⚠️

* drum hit example ⚠️

* ⚠️

* gitignore to ignore vs code

* pa feedback

* added BufAmpGate maxSize parameter

* [Fix] Fix Guide Links in RST (#147)

* typos in knnclassifier~

* fix guide link

* [Fix] LF line ending enforcement (#149)

* typos in knnclassifier~

* enforce newline='\n' on template writing

* interface changes

* capitalise beatRemember

* Fix `<o>` links to `buffer~` for max doc

* Mop up vestigial scdoc syntax

* correct reference to "class" in description

* [fix] typos and errors (#153)

* various typos

* remove hyphen

* more typos

* various typos/non-grammatical errors

* typos in example code

* remove bufNum

* fix low/mid/ min/median confusion

* [docs] Update see-also content (#155)

* update seealso

* realign table

* [docs] Buffer clients link to buffer management tutorial (#157)

* if client starts with buf link to buffer management tutorial

* use full name of guide

* use name of .maxvig rather than name attribute of <vignette>

* also dataset objects

* proposed layout improvement (#154)

* add outward links to RST and templat

* sample -> samples

* The index of the buffer -> The buffer

* process -> processed

* various other typos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants