caten2 / tripods2021ua Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I implemented generalized composition as a method of Operation
in order to help clean up the code and debug more effectively. Since feeding forward is nothing but evaluating the tuple of operations represented by the neural net on given inputs, I'd like to hear some input on whether or not we should reimplement feeding forward as an application of this generalized composition method.
The class Relation
is defined in src/relations.py
, so one would imagine that the class Operation
would be defined in src/operations.py
, but this is not the case. The current operations defined in src/operations.py
are arithmetic operations use in more basic examples/testing for the discrete neural net setup, and these should be moved somewhere like src/arithmetic_operations.py
. Meanwhile, src/operations.py
should contain the Operation
class.
The dominion polymorphisms need to be implemented using the new Relation
class. There are a few parts of this:
mnist
. This should probably be changed to a more organized data
directory in the project root which can contain the files generated in the course of constructing dominions.polymorphism_neighbor_func
in src/polymorphisms.py
.Operation
s) in src/polymorphisms.py
, even if there is still some auxiliary script like src/dominion.py
which is used in the construction of the requisite data.As the title says, it will be helpful to have the neighbor function polymorphism_neighbor_func
in src/polymorphisms.py
defined for polymorphisms of higher-arity relations. The higher-arity case may have to have the dominion polymorphisms disallowed, unless those have been generalized to the higher-arity case already.
BlankingEndomorphism
, SwappingAutomorphism
, and IndicatorPolymorphism
polymorphisms work for relations of any arity, so it remains address the hyperoctahedral automorphisms.In an early version of this project, Andrey Yao had added visualization for the NeuralNet
objects with Graphviz. It would be nice to be able to generate images of neural nets with the following information:
__str__
method for the various subclasses of Operation
.)As you can see in the current version of src/relations.py
there is a show
method for the Relation
class which has an optional argument of special_binary_display
. This could be improved in a number of ways to help with visualizing binary relations. This issue is pretty open-ended, but here are some suggestions for ways to improve this.
'binary_pixels'
would correspond to sending true to 1
and false to 0
.The script src/polymorphisms.py
now contains the definitions of the Hamming graph polymorphisms, but the hyperoctahedral ones have yet to be added to it. The script src/binary_image_polymorphisms.py
remains so that the work found there isn't lost, but most of it has been moved over and, in some cases, improved. For example, SwappingAutomorphism
and BlankingEndomorphism
now work for relations of arbitrary arity, not just binary ones.
Once the hyperoctahedral automorphisms have been implemented, we still need to decide whether to keep the original RotationAutomorphism and ReflectionAutomorphism or perhaps make these aliases for specific cases of the general hyperoctahedral implementation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.