nas: a package of Network Architecture Search
This package implements the most commonly used Network Architecture Search (NAS) algorithms.
Usage Example
from sklearn.datasets import make_classification
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler
import torch
# Generate synthetic dataset
x, y = make_classification(n_samples=1000, n_features=10, n_classes=2)
train_features, validate_features, train_targets, validate_targets = train_test_split(x, y, test_size=0.2)
scaler = StandardScaler()
train_features = scaler.fit_transform(train_features)
validate_features = scaler.transform(validate_features)
# Search
evolutionary_searcher = EvolutionarySearcher(input_dim=10, output_dim=2, population_size=10, mutation_rate=0.1, crossover_rate=0.7, generations=10)
best_architecture = evolutionary_searcher.search(train_features, train_targets, validate_features, validate_targets, verbose=True)
Metadata
Release files for nas 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nas-0.1.0.tar.gz | 3.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nas-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 kB
Release files / nas-0.1.0.tar.gz
| Download URL | nas-0.1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6885d2ac98c277dc4ee43fe0a67fce972e4fef0c07bdf1625d028e3218c5ab7d
|
|
BLAKE2b-256 checksum How to use checksums |
574cc46ba5194d139ef8d06879e2c2c3063b75dcb325bf587b51fc1832b3608b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / nas-0.1.0-py3-none-any.whl
| Download URL | nas-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb43b353f9ff2846a44bee346f888e2815ae0144a0d62220b2340eb38363aece
|
|
BLAKE2b-256 checksum How to use checksums |
25b67b657800f1bf95400892165a86b38ec4745bfd6be0459fad224e7e470ab2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for nas 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.