Skip to main content

Solution for DS Team

Project description

utilsds

Utilsds is a library that includes classes and functions used in data science projects such as:

  • ds_statistics:

    • test_kruskal_wallis: Perform the Kruskal-Wallis statistical test.
  • transform_data:

    • DataTransformer: Transform data using various methods.
  • data_processing:

    • encode_one_hot: Encode categorical features using one-hot encoding.
    • convert_numerical_to_categorized: Convert numerical features to categorized intervals.
    • scale_train_test: Scale training and testing datasets.
    • resample_X_y: Resample training data and target columns.
  • data_split:

    • train_test_validation_split: Split data into training, testing, and validation sets.
  • visualization:

    • MetricsPlot: Compare metrics for different parameter values.
    • Radar: Create radar plots for visualizing data.
    • cluster_characteristics: Analyze cluster characteristics.
    • comparison_density: Compare density distributions.
    • feature_distribution_box: Visualize feature distributions per cluster.
    • elbow_visualisation: Visualize the elbow method for clustering.
    • describe_clusters_metrics: Describe metrics for clusters.
    • category_null_variables: Visualize null variables in categorical data.
    • normal_distr_plots: Visualize normal distribution plots.
    • distplot_limitations: Visualize limitations of distplot.
    • boxplot_limitations: Visualize limitations of boxplot.
    • violinplot_limitations: Visualize limitations of violinplot.
    • countplot_limitations: Visualize limitations of countplot.
    • categorical_variable_perc: Visualize percentage of categorical variables.
    • spearman_correlation: Visualize spearman correlation.
    • CalculateCrammersV: Calculate Crammer's V.
  • data_ops:

    • BigQuery operations:
      • load_bq_data: Load data from tables, views, and SQL files
      • save_bq_view, save_bq_table: Save views and tables
      • load_bq_procedure: Execute stored procedures
      • load_bq_details: Get table/view details and schema
      • load_bq_describe_data: Get data description using ML.DESCRIBE_DATA
      • delete_bq_data: Delete data with safety confirmations
      • dry_run: Perform dry runs to estimate query costs
    • Cloud Storage operations:
      • save_gcs_bucket: Create buckets
      • save_gcs_file, load_gcs_file: Save and load files (.pkl, .json, .csv, .html, .sql)
    • Local file operations:
      • save_local_file, load_local_file: Save and load files (.pkl, .json, .csv, .html, .sql)
  • confusion_matrix:

    • ConfusionMatrix: Generate and plot confusion matrices.
  • modeling:

    • Modeling: Manage modeling, metrics, and logging with Vertex AI.
  • hyperopt:

    • Hyperopt: Optimize hyperparameters using Hyperopt.
  • classifier:

    • Classifier: Fit, train, and manage classification models.
  • experiments:

    • VertexExperiments: Manage experiments with Vertex AI.

Project details


Download files

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

Source Distribution

utilsds-1.0.12.tar.gz (36.9 kB view details)

Uploaded Source

Built Distribution

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

utilsds-1.0.12-py3-none-any.whl (36.9 kB view details)

Uploaded Python 3

File details

Details for the file utilsds-1.0.12.tar.gz.

File metadata

  • Download URL: utilsds-1.0.12.tar.gz
  • Upload date:
  • Size: 36.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for utilsds-1.0.12.tar.gz
Algorithm Hash digest
SHA256 d44d8b0029356fff003d0b5403609582ff2168fe3caca44c945fc280a09166aa
MD5 4303460a165afe2676a7577d11a28e40
BLAKE2b-256 2557f4749c6ca233c62d1545d09badad97494dc4086ab475b384e9ed3d1125d2

See more details on using hashes here.

File details

Details for the file utilsds-1.0.12-py3-none-any.whl.

File metadata

  • Download URL: utilsds-1.0.12-py3-none-any.whl
  • Upload date:
  • Size: 36.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for utilsds-1.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 204c54c8fde6858205ce1bfa9afd86b1f5e8ba59af17e44a9bdcb6d2f689be67
MD5 9c227c6b3dfba450a691c75060186c3b
BLAKE2b-256 edb26c0ce0cd216c1f9f4cb9262d62112af153fe3e781ba5072447d1dd1fbb95

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