![Pipeline Logo](designer.png " ")
# 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.
Raw data
{
"_id": null,
"home_page": null,
"name": "MachineLearningComparisonPipeline",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "machine learning, feature extraction, audio",
"author": null,
"author_email": "\"Dr. Frank Mobley\" <frank.mobley.1@afrl.af.mil>, Gregory Bowers <gregory.bowers.ctr@us.af.mil>",
"download_url": "https://files.pythonhosted.org/packages/df/5e/88cdf568a3fc200b3aa451dba4f6b4de7a11595674e41db3cec09adb99ea/machinelearningcomparisonpipeline-0.2.4.tar.gz",
"platform": null,
"description": "![Pipeline Logo](designer.png \" \") \r\n# machine-learning-comparison-pipeline\r\n\r\nAnalysis of classification through machine learning is often accomplished with what the researcher is most comfortable\r\nusing in the analysis. But that does not mean that the most optimal learner was selected for the research question. It\r\nis also often that feature selection is performed, but only with minimal processing with variation in the selection \r\nprocess.\r\n\r\nDuring the analysis of a series of acoustic measurement from candidate propellers designed by the United States Air\r\nForce Academy it was determined that the 711th Human Performance Wing did not want to fall into these limitations. \r\nThe wing developed a importance getter function using sensitivity analysis to determine the feature importance. This\r\nmethod was applied to random decision forests, support vector machines, neural networks, logistic regressions, and \r\nnearest neighbor machine learners. \r\n\r\nThis package was developed from that research in effort to canonize the process for future work.\r\n\r\n# Usage\r\n## Define the inputs to the class, including the feature DataFrame, targets Series, the learners and cross-validation\r\n\r\n clf1 = nn.KNeighborsClassifier(n_neighbors=5)\r\n clf2 = nn.KNeighborsClassifier(n_neighbors=5, weights='distance')\r\n learners = list([clf1, clf2])\r\n cv = ms.KFold(n_splits=10)\r\n dataset = pd.read_csv(str(pathlib.Path(__file__).parents[1]) + '/data/features.csv')\r\n features = dataset.iloc[:, 1:74]\r\n targets = dataset['PROPELLER']\r\n pipe = pipeline.ProcessingPipeline(learners, cv, features, targets)\r\n\r\n pipe.process(72, verbose=True)\r\n\t\r\nCleared for public release on 14 November 2024 with case number AFRL-2024-6348.\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Pipeline for analysis of the machine learning applications in Sci-Kit Learn",
"version": "0.2.4",
"project_urls": {
"Homepage": "https://gitlab.com/python-audio-feature-extraction/machine-learning-pipeline"
},
"split_keywords": [
"machine learning",
" feature extraction",
" audio"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "99f7f26438eb64d7117de6cef0ddb5a8f20fe75c29e12176a3865ff67dd6189b",
"md5": "1026d956256947932762518d5ed47d42",
"sha256": "22244a85c6d9190ca7e83fad1150be82d6fc5abd139fb870309fa1591e6f55fa"
},
"downloads": -1,
"filename": "MachineLearningComparisonPipeline-0.2.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1026d956256947932762518d5ed47d42",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 11527,
"upload_time": "2024-11-14T20:53:24",
"upload_time_iso_8601": "2024-11-14T20:53:24.431485Z",
"url": "https://files.pythonhosted.org/packages/99/f7/f26438eb64d7117de6cef0ddb5a8f20fe75c29e12176a3865ff67dd6189b/MachineLearningComparisonPipeline-0.2.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "df5e88cdf568a3fc200b3aa451dba4f6b4de7a11595674e41db3cec09adb99ea",
"md5": "640a9c298508407e1efdee547d5c7988",
"sha256": "f8fa53aa39fc4d57be7b65b89675d5c30d48990f83f1cb300e4c4c5264da95c2"
},
"downloads": -1,
"filename": "machinelearningcomparisonpipeline-0.2.4.tar.gz",
"has_sig": false,
"md5_digest": "640a9c298508407e1efdee547d5c7988",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 11088,
"upload_time": "2024-11-14T20:53:26",
"upload_time_iso_8601": "2024-11-14T20:53:26.965326Z",
"url": "https://files.pythonhosted.org/packages/df/5e/88cdf568a3fc200b3aa451dba4f6b4de7a11595674e41db3cec09adb99ea/machinelearningcomparisonpipeline-0.2.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-14 20:53:26",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "python-audio-feature-extraction",
"gitlab_project": "machine-learning-pipeline",
"lcname": "machinelearningcomparisonpipeline"
}