Recently Updated Pages
Math and object manipulation
Syntax: Node += val Math operations If you used pyndb, you probably had to do something like...
Installing
pyntree is available via pip: pip install pyntree That's it!
How to fix pyntree installing as UNKNOWN-0.0.0
pip install --upgrade pip wheel setuptools
Moving beyond a single flat file
For more complex projects, a flat-file database may not be the way to go. Here is one example of ...
FileNameUnset
This error means that you tried to save a Node, but initialized it with raw data and never set a ...
NameNotFound
This error means that there is no Node with the name that you provided. Here's an example: x = ...
Known limitations
Attempting to retrieve a name which is also a Node property will not work as intended (ex: _val...
Terminology
Node A pythonic representation of data - each key in a dictionary is represented by a Node objec...
Getting the names of the children
Syntax: Node._values To get a list of all of a Node's children, simply use the values propert...
Graphing
Function Signature def graph(self, metric: str = "cost") -> None: Parameters metric (str, op...
Viewing network information
Function Signature def specs(self) -> str: Return Value output (str): A string representatio...
Running data through a network
Function Signature def run( self, inputs: np.ndarray ) -> np.ndarray: Parameters ...
Configuring Loss/Optimizers
Function Signature def config( optimizer: str = 'gradient descent', loss: str = 'mean ...
Training a network
Function Signature def train_model( train_inputs: np.ndarray, train_targets: np.ndarra...
Creating a layer
Function Signature def add_dense( neurons: int, activation: str = 'sigmoid', drop...
Set up your first Network
With Deepr it is quite easy to start making your own neural network model. This chapter will show...
Getting the name of a Node
Syntax: Node._name Let's say you have a miscellaneous Node that got passed to a function some...
Encrypting a file
Encryption is a new feature as of 1.0.0! To use encryption, first type pip install pyntree[encry...
Saving
Syntax: Node.save(filename=None) Simply call the save method to save your data: root_node.sa...
Getting a value
Syntax: Node() pyntree takes a somewhat unique yet simple approach to getting the values stor...