Skip to main content

A DS utility library

Project description

crbutils

A DS utility function library

ref folder with reference data and models for Testing and dev for three model examples

  • Continuous
  • Binary classifier
  • Multilevel classifier

Folders

  • Raw data
  • Processed data
  • Models

NB to minimise load to GDrive, then venv is stored locally at C:\Users\Christopher\venvs\crbutils

TODO

Testing

Incorporate test functionality

Core functionality

Have a read through my Deliveroo job project and see what I can use from there

Sample module

  • Get a sample function that takes train_test_split and returns train test AND validation
  • Get jumble function - test that var stats still match

IO module

  • Read in a return a json config file

EDA module

  • missings
  • distributions
  • pandas report

preprop module

  • clipping
  • replace missing

modeval module

  • feat_imp
  • lorenz_curve
  • gains_curve
  • conf_matrix
  • Scatter plot
  • perf_metrics returns perf metrics based on model
    • ~mae rms r2 etc. for continuous
    • F1 prec recall etc. for binary
    • Accuracy for binary

Sort out the CD component

How do I copy a file from the github actions vm to my local machine??
https://andrewpwheeler.com/2022/05/10/building-wheel-files-in-github-actions/
https://www.dynamsoft.com/codepool/cpython-barcode-qr-wheel-build-publish.html
https://pythonprogramming.org/automatically-building-python-package-using-github-actions/
https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
https://www.seanh.cc/2022/05/21/publishing-python-packages-from-github-actions/

SSH connection between github and local machine https://docs.github.com/en/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection?platform=windows

https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions#runners "A runner is a server that runs your workflows when they're triggered. Each runner can run a single job at a time. GitHub provides Ubuntu Linux, Microsoft Windows, and macOS runners to run your workflows; each workflow run executes in a fresh, newly-provisioned virtual machine. GitHub also offers larger runners, which are available in larger configurations."

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crbutils-1.0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file crbutils-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: crbutils-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.9.13 Windows/10

File hashes

Hashes for crbutils-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 be16f38eec38b4b27007ad7f45e2c262978f395ab9092d2f10376e748e037fdf
MD5 1a1329085b55a3e5389ef0709284e698
BLAKE2b-256 8e9e3f54978193cd6aaa4a1084e234efabfed743af6d1b4ae7d41df99958941b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page