├── .gitignore ├── README.md ├── cfg ├── cifar10 │ ├── PN │ ├── nnPU │ └── uPU └── mnist │ ├── PN │ ├── nnPU │ └── uPU ├── cifar10.png ├── helper ├── __init__.py ├── cfg_helper.py ├── cifar10_dataset.py ├── file_helper.py ├── math_helper.py ├── mnist_dataset.py ├── ploting_helper.py ├── pu_learning_dataset.py └── training_helper.py ├── mnist.png ├── network ├── __init__.py ├── convolutional_neural_network.py ├── multilayer_perceptron.py ├── network_base.py └── pu_network.py ├── show_result.py ├── train.py └── trainer ├── __init__.py └── trainer_base.py /.gitignore: -------------------------------------------------------------------------------- 1 | data/* 2 | .idea 3 | *.pyc 4 | exp_set 5 | result 6 | *~ 7 | __pycache__ 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/README.md -------------------------------------------------------------------------------- /cfg/cifar10/PN: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/cfg/cifar10/PN -------------------------------------------------------------------------------- /cfg/cifar10/nnPU: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/cfg/cifar10/nnPU -------------------------------------------------------------------------------- /cfg/cifar10/uPU: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/cfg/cifar10/uPU -------------------------------------------------------------------------------- /cfg/mnist/PN: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/cfg/mnist/PN -------------------------------------------------------------------------------- /cfg/mnist/nnPU: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/cfg/mnist/nnPU -------------------------------------------------------------------------------- /cfg/mnist/uPU: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/cfg/mnist/uPU -------------------------------------------------------------------------------- /cifar10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/cifar10.png -------------------------------------------------------------------------------- /helper/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/helper/__init__.py -------------------------------------------------------------------------------- /helper/cfg_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/helper/cfg_helper.py -------------------------------------------------------------------------------- /helper/cifar10_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/helper/cifar10_dataset.py -------------------------------------------------------------------------------- /helper/file_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/helper/file_helper.py -------------------------------------------------------------------------------- /helper/math_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/helper/math_helper.py -------------------------------------------------------------------------------- /helper/mnist_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/helper/mnist_dataset.py -------------------------------------------------------------------------------- /helper/ploting_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/helper/ploting_helper.py -------------------------------------------------------------------------------- /helper/pu_learning_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/helper/pu_learning_dataset.py -------------------------------------------------------------------------------- /helper/training_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/helper/training_helper.py -------------------------------------------------------------------------------- /mnist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/mnist.png -------------------------------------------------------------------------------- /network/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/network/__init__.py -------------------------------------------------------------------------------- /network/convolutional_neural_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/network/convolutional_neural_network.py -------------------------------------------------------------------------------- /network/multilayer_perceptron.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/network/multilayer_perceptron.py -------------------------------------------------------------------------------- /network/network_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/network/network_base.py -------------------------------------------------------------------------------- /network/pu_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/network/pu_network.py -------------------------------------------------------------------------------- /show_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/show_result.py -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/train.py -------------------------------------------------------------------------------- /trainer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/trainer/__init__.py -------------------------------------------------------------------------------- /trainer/trainer_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GarrettLee/nnpu_tf/HEAD/trainer/trainer_base.py --------------------------------------------------------------------------------