This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PLEASE REFER TO https://github.com/BaReinhard/pod-installer-utils |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. | |
| // To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ | |
| // or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. | |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Net.Sockets; | |
| using System.Text; | |
| using System.Threading; | |
| using UnityEngine; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Implementation of a simple MLP network with one hidden layer. Tested on the iris data set. | |
| # Requires: numpy, sklearn>=0.18.1, tensorflow>=1.0 | |
| # NOTE: In order to make the code simple, we rewrite x * W_1 + b_1 = x' * W_1' | |
| # where x' = [x | 1] and W_1' is the matrix W_1 appended with a new row with elements b_1's. | |
| # Similarly, for h * W_2 + b_2 | |
| import tensorflow as tf | |
| import numpy as np | |
| from sklearn import datasets | |
| from sklearn.model_selection import train_test_split |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| client.py - AsyncIO Server using StreamReader and StreamWriter | |
| This will create 200 client connections to a server running server.py | |
| It will handshake and run similar to this: | |
| Server: HELLO | |
| Client: WORLD |