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.1.1.tar.gz (37.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.1.1-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for utilsds-1.1.1.tar.gz
Algorithm Hash digest
SHA256 f842e7f89dab357de9243e1c11e8ca1796b36d7703975d00a48845247bec49b3
MD5 4389dad04667a28bf49ea3cc6fe0f4e3
BLAKE2b-256 68908f15bbb973fb5fb4cb3dfaeab0c10a1cb06730e794f2c414ccbfe0c57b52

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for utilsds-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a68235c5c926f8e95c5e2d3536efea766a983ed0a79dd48a948c805ac1f6708a
MD5 5131689426408f2b730bba9b329d6617
BLAKE2b-256 18022255991f66725ca1777a343d8566f1469b0042e148751b43fa5939681710

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