Skip to main content

Pipeline Logo

machine-learning-comparison-pipeline

Analysis of classification through machine learning is often accomplished with what the researcher is most comfortable using in the analysis. But that does not mean that the most optimal learner was selected for the research question. It is also often that feature selection is performed, but only with minimal processing with variation in the selection process.

During the analysis of a series of acoustic measurement from candidate propellers designed by the United States Air Force Academy it was determined that the 711th Human Performance Wing did not want to fall into these limitations. The wing developed a importance getter function using sensitivity analysis to determine the feature importance. This method was applied to random decision forests, support vector machines, neural networks, logistic regressions, and nearest neighbor machine learners.

This package was developed from that research in effort to canonize the process for future work.

Usage

Define the inputs to the class, including the feature DataFrame, targets Series, the learners and cross-validation

clf1 = nn.KNeighborsClassifier(n_neighbors=5)
clf2 = nn.KNeighborsClassifier(n_neighbors=5, weights='distance')
learners = list([clf1, clf2])
cv = ms.KFold(n_splits=10)
dataset = pd.read_csv(str(pathlib.Path(__file__).parents[1]) + '/data/features.csv')
features = dataset.iloc[:, 1:74]
targets = dataset['PROPELLER']
pipe = pipeline.ProcessingPipeline(learners, cv, features, targets)

pipe.process(72, verbose=True)

Cleared for public release on 14 November 2024 with case number AFRL-2024-6348.

Metadata

Release files for MachineLearningComparisonPipeline 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MachineLearningComparisonPipeline 0.2.4
File Size Uploaded Provenance Actions
machinelearningcomparisonpipeline-0.2.4.tar.gz 11.1 kB Without provenance Details for machinelearningcomparisonpipeline-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for MachineLearningComparisonPipeline 0.2.4
File Interpreter ABI Platform Actions
MachineLearningComparisonPipeline-0.2.4-py3-none-any.whl Python 3 none any Details for MachineLearningComparisonPipeline-0.2.4-py3-none-any.whl

Total release size: 22.6 kB

Release files / machinelearningcomparisonpipeline-0.2.4.tar.gz

Download URL machinelearningcomparisonpipeline-0.2.4.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f8fa53aa39fc4d57be7b65b89675d5c30d48990f83f1cb300e4c4c5264da95c2
BLAKE2b-256 checksum
How to use checksums
df5e88cdf568a3fc200b3aa451dba4f6b4de7a11595674e41db3cec09adb99ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Release files / MachineLearningComparisonPipeline-0.2.4-py3-none-any.whl

Download URL MachineLearningComparisonPipeline-0.2.4-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22244a85c6d9190ca7e83fad1150be82d6fc5abd139fb870309fa1591e6f55fa
BLAKE2b-256 checksum
How to use checksums
99f7f26438eb64d7117de6cef0ddb5a8f20fe75c29e12176a3865ff67dd6189b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Security for MachineLearningComparisonPipeline 0.2.4

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.

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page