Megatron

Latest version: v0.5.1

Safety actively analyzes 714973 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.4.1

Changes
- Generalized SklearnMetric wrapper to simple Metric wrapper, which can take any function.
- Remove any attempt to create built-in metrics; they exist elsewhere and should be imported from elsewhere.
- Pipeline transform always returns a list of results, even if there's only one output node.
- Renamed parameters of storage.read.

0.4.0

Changes
- Nodes no longer have names, except InputNodes.
- Since nodes don't have names, retrieving columns from cache comes by integer index.
- Input moved from nodes to layers.
- Layertools module added.
- FeatureSet has been removed. Mapping and applying a layer to a set of nodes has been added in layertools module.
- Data readers give dictionaries rather than FeatureSets.
- keep_data flag added to transform to indicate whether to wipe non-output nodes' data or not.
- transform_generator will always keep data.
- Metrics are now their own kind of node, not part of the transformation pipeline; they're run when evaluate() is called.

0.3.6

Changes
- Multiple Keras models no longer possible, but fit_generator is used when fitting to a generator which makes the pipeline load in parallel with GPU training.
- Data index is a string indicating the key name from the passed in data dictionary when using transform.

0.3.5

Changes
- Add wrapper for metrics.
- Add support for multiple epochs for models.
- Fix fitting to a generator so it properly supports models.
- Add pop method to FeatureSet.
- Remove Pandas formatting for output data.
- Import data loaders and generators straight from io module.

0.3.4

Changes
- Allow for mix of Nodes and FeatureSets when calling Layer.
- Re-arrange the layers module slightly (remove common, move to shaping).
- Add internal utility for flattening irregular list of lists.

0.3.4a

Bug Fixes
- Name of single unnamed node was coming up as list; fixed.

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.