Data scaling information, for all input and output neurons.
More...
Data scaling information, for all input and output neurons.
Definition at line 47 of file data.hpp.
SuperNN::Bounds::Bounds |
( |
| ) |
|
SuperNN::Bounds::~Bounds |
( |
| ) |
|
|
virtual |
void SuperNN::Bounds::load_file |
( |
std::ifstream & |
inp | ) |
|
Reads the scaling information from a file stream.
- Parameters
-
Definition at line 83 of file data.cpp.
void SuperNN::Bounds::load_file |
( |
const std::string & |
path, |
|
|
Bounds & |
from, |
|
|
Bounds & |
to |
|
) |
| |
|
static |
Loads from and to bounds from a file.
- Parameters
-
path | Path to the file with both from and to bounds |
from | From bounds to be populated |
to | To bounds to be populated |
- Exceptions
-
Definition at line 94 of file data.cpp.
void SuperNN::Bounds::merge_with |
( |
const Bounds & |
other | ) |
|
Merges the values from another Bounds with the current, retaining the limits.
Only the caller object is modified. For example, if the bounds { {-10, 10 } ,{5 , 10} } and { { -5, 20} ,{0, 5} } were merged, the result would be { {-10, 20}, {0, 10} }.
- Parameters
-
other | Bounds object to merge with |
Definition at line 62 of file data.cpp.
void SuperNN::Bounds::save_file |
( |
std::ofstream & |
out | ) |
const |
Appends the data bounds values into a file stream.
- Parameters
-
Definition at line 74 of file data.cpp.