Skip to main content

SQUAAD ANALYSIS FRAMEWORK

Installation

pip install squaad

Releases

  • V2.0 https://github.com/fostiropoulos/squaad/releases/download/v2.0/squaad-2.0.tar.gz

Install from Binary

pip install squaad-2.0.tar.gz

Usage

Creating new database connection

myConnection=db("config.json","cache")
print("Connection Status: %s"%myConnection.testConnection())

Config.json and Cache

  • Config.json follows the following format:
{"pgsql":{"host":"","user":"","passwd":"","db":""} }
  • Cache folder is used to save results of the queries and uses the cache next time you execute a query.

Games-Howell Statistics Test

stats.gamesHowellBinomial({"GROUP1":{True:100, False:3999}, "GROUP2":{True:2999,False:2939}})

Classification Pipeline with KFold Usage

Parameters

  • X Pandas dataframe with set of data. Each column is a feature
  • Y Labels for the set of data.
  • split_columns (Optional) unimplemented, columns to split by. That is columns that can have bias, we take into consideration during splitting
  • kfolds (Optional) number of folds to run.
  • classifiers (Optional) dictionary containing classifiers to use
  • balancers (Optional) the balancers you want to run

Classifiers

Default Classifiers:

  • Nearest Neighbors
  • Linear SVM
  • RBF SVM
  • Gaussian Process
  • Decision Tree
  • Random Forest
  • Neural Net
  • AdaBoost
  • Naive Bayes
  • QDA

Balancers

Default Classifiers:

  • Unbalanced
  • SMOTE
  • SMOTEEN
  • SMOTETomek
  • RandomUnderSampler

ML Pipeline examples

X=df[['locs_inc', 'cplxs_inc', 'smls_inc', 'vuls_inc', 'fbgs_inc', 'locs_dec', 'cplxs_dec', 'smls_dec', 'vuls_dec', 'fbgs_dec']]
Y=df['affiliation']
mlPipeline.classificationPipeLineKfold(X,Y)

Metadata

Release files for squaad 2.1

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

Source distribution (sdist)

Source distribution for squaad 2.1
File Size Uploaded Provenance Actions
squaad-2.1.tar.gz 24.3 kB Without provenance Details for squaad-2.1.tar.gz

Built distribution (wheel)

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

Total release size: 57.9 kB

Release files / squaad-2.1.tar.gz

Download URL squaad-2.1.tar.gz
Size 24.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c055f69a55a3e7e73697621424e7ea88f6f25a8d32fa81da8f3699f413e28053
BLAKE2b-256 checksum
How to use checksums
58d88bd6832ec19f00b7fdd5aee177859a2bc8182274670e46941831e79b5a44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / squaad-2.1-py3-none-any.whl

Download URL squaad-2.1-py3-none-any.whl
Size 33.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b7f5b288c9286878b9fac78c76be35d6eef04092edd097948d0f93bad0bcd7b
BLAKE2b-256 checksum
How to use checksums
8eb62ceacbfe685da2b19772651e01857730116085c8c3d4246b1ce26374dad8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Security for squaad 2.1

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.

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