Using MLPClassifier in Ableton Maxforlive

Yes, in that sub- patcher, the “paramchange” and “prediction” buffers are also set @samps 1

And your multislider has one slider? If not, maybe it’s more of the same problem. Try adding @autosize 0 to the fluid.list2buf that’s fed by the multislider?

Yes! That and make sure that Enable resizing is unchecked from the inspector. This is working beyond my wildest dreams!

3 Likes

Another question (if you want me to post another thread, just say). Is there an easy way to save datasets? I have read a little, and it looks like I would have to deal with JSON files, dictionaries and strings vs. floats. Might be a bit over my head, at least at the moment.

The messages read and write sent to a dataset should work. Without arguments, they will cause dialogue boxes to pop up to open / save, or you can specify a path and filename (<something>.json).

You shouldn’t need to look at the JSON or get involved with [dict] (although I think [dict] is great :smile: )

Example:


----------begin_max5_patcher----------
844.3ocuWsjbiCBDcs8ofRq83H.8wJqlKvbBlJUJjENCIVfJIjiyjJ4rOPij
syD+QRVIajKvMP+d8qaZdc5DuT0VdkG5VzuQSl75zISforSLoY7Dub11kqYU
fYdKU44bo1al6+z7sZX9R9OTEbIRnQZEhgxDqVwKMVhToOxWtaAEk7JyrLsP
IuesPxWppkvVD0XgrNWHWy0v4gaWFSu7OB4C2WZ2KveoKBl6OCEQmGNCgifA
D+49n61uQpZc6N42LqHC7WiW8CxBO6buMcp8yrqjApXa3F3eqWOwAg5ac8Xh
8aP7.fQ7PfQNuph8.+SvnnTrGbe.CjSigPJ32IQ.FbghnShgVxvMk9kBtaW7
71sfCgWXq2rRI0Uh+BViMa+HF79E6ItQ0tgW9Bx.YAJioYU7cF9AkJomQ3vv
lfpUnRgATZuhvAiYDtjyxP2nyKtoRUWtjO+wJk7r.8zIszdJTZRZcBEb.sUu
LNJE+QTobJ164Rgl2O5qqjCgD90QN3juAxYPEOvIj84GibwCb72.p8Q9ywDZ
PXeQdBT0DiwvEYI.xIiExCGRMizZsduZtqE3vQ6CftaBre6KLRYxGNNTv65d
fUxx4Zd48bIKcMrxwLRZp3WnLRXT9KteqT4b6UA8VS6xgigDZbHYTCsICIxJ
4OaV6myX47md+7vjdFA7BWoJ.eXe+gByUqUL8QwZ7HhUMJEkNLs8Bb2PH4rh
6YmQjGLh.Ms11789vJ5mUr7hJDFgGF7o3DmdlNT76hvmi.niHArZcsHadSOb
uix3UZgDZewaXuxfzjPuH5BWOQOYl7rCHgi29xHdUU23EWCLCrZOwkzGF+0w
H3NvHv5f9t9u2wBdtc9ORSMX14Bsuu.s24OTqbfQevlbQFb8PyIFFD4dCJTM
jlP2MBc2Qicc00r8rcQWCeNWyzUh0YH9fGZ5urcvU5Y1VsuNRqklhiOjzhiu
dRK9pIMerimbuaKb2fqzy5Qz75XftnniGgCJvrG3KAnvQ5ftDfRFClC2gCJ3
SGjqFDqnXCurpwX3LLEkeTUZGtXFLTHcCg6IMuDein0d3Y+drRS0VsoTacI3
WdaiB7bKUkwKk0BnD3TK5LGITvWZZItpf4.Bbuvz2l9OWLEo5.
-----------end_max5_patcher-----------
1 Like

Thanks, that does the trick! Will def be doing a look into [dict] over the next few weeks :slight_smile:

1 Like