On Thu, May 11, 2017 at 5:24 AM, Oleksandr Zaytsev <olk.zaytsev@gmail.com> wrote:C. Help neededA. Work doneB. Next steps
- Downloaded the threaded VM as suggested by Esteban Lorenzano to make Iceberg work. And it does! I have successfully pushed my NeuralNetwork code to GitHub: https://github.com/olekscode/M
LNeuralNetwork - Joined the PolyMath organization on GitHub
- Created a repository for the TabularDataset project https://github.com/PolyMathOrg
/TabularDataset as a part of PolyMath organization on GitHub- Fixed a PolyMath issue #25 and made a PR
- Read an article from Wolfram Mathematica documentation regarding Dataset. It was one of the reading suggestions sent to me by Nick Papoylias
- Fix more issues of PolyMath, using Iceberg. I have to get used to it by the time the coding phase starts
- Read the rest of Nick Papoylias's suggestions
- The Dataset in Wolfram, as well as Pandas in Python, has a very advanced indexing system. Smalltalk has its own special conventions for indexing, so I think that it would be great if I got familiar with them. Could you suggest me some reading on this topic (what are the indexing conventions in Smalltalk?).
For example, in Wolfram, I can write dataset[[-1]] to extract the last row. But in Pharo indexes can not be negative. In Pharo I would say dataset last. But how about dataset[[-5]]?This would be a good exercise for you ;) In Pharo you can easily add negative indexing yourself.��Hint: You know the index of the last element, since this is the size of the collection, so... ;)
Try adding an extention method to Ordrered or SequenceableCollection.If the Pharo by example chapter is not enough or the MOOC, read the sourceitself in the core, to see how basic methods are implemented (it is less scary,than it sounds).You can also try Chapters 9, 10, 11 of the blue book (some API changes may apply):
- Or what is the best way of implementing this index: dataset[["name"]] (extracts a named row), dataset[[1]] (extracts the first row)? Should I create two separate messages: dataset rowNamed: 'name' and dataset rowAt: 1?
--The internal representation of your data-structure can be anything at the moment, as long as you encapsulate it.(ie it can be nested OrderedCollections with meta-data for column-names to indexes, or dictionary of collections etc).��If you don't expose it to the user (ie return it from the public api, or expect knowledge of it in argument passing),��we can easily change it later. So first make it work, and we optimize later ;)For your case it will be a little bit trickier because you also have the notions of a) rows and b) columns, whichare exposed to the user. So you would need to create abstractions for these too.Cheers,Nick--And use SSH (not HTTPS) remote URL.If someone else is having problems with Iceberg on Linux, try downloading the threaded VM:
wget -O- get.pharo.org/vmT60 | bash
You received this message because you are subscribed to the Google Groups "Pharo Google Summer of Code" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pharo-gsoc+unsubscribe@googlegroups.com .
To post to this group, send email to pharo-gsoc@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pharo-gsoc/CAEp0Uzu-8fw3dA .6ezVoj-QptvLcB8cWPHvZ1tfLg1Ce8 qkTqfQ%40mail.gmail.com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Pharo Google Summer of Code" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pharo-gsoc+unsubscribe@googlegroups.com .
To post to this group, send email to pharo-gsoc@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pharo-gsoc/CACEStOgLC6HbYJ .8HBLHWfs5%2BwqN3ib_kdVGuVizx7G h1c0sM%3DA%40mail.gmail.com
For more options, visit https://groups.google.com/d/optout .