Skip to content

mertyildiran/GateFactory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GateFactory

GateFactory

Installation

pip install gate

or install it on development mode:

git clone https://github.com/mertyildiran/GateFactory.git
cd GateFactory/
pip install -e .

Run the Examples

Easy Classification Example

git clone https://github.com/mertyildiran/GateFactory.git
cd GateFactory/
python3 examples/classification_easy.py

Medium Classification Example

Download CIFAR-10 python version and place CIFAR-10/original/cifar-10-batches-py/ folder inside GateFactory/examples/ directory like:

cd ~/Downloads/
wget https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz
tar -zxvf cifar-10-python.tar.gz
mv cifar-10-batches-py/ ~/Documents/GateFactory/examples/

and then run the example:

cd ~/Documents/GateFactory/
python3 examples/classification_medium.py

Render LaTeX

apt install texlive texlive-pictures
pdflatex factory.tex
sensible-browser factory.pdf

About

the stochastic universal logic gate generator for building up a boolean expression to approximate the function

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages