Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
```py_predpurchase```is a package for predicting online shopper purchasing intentions, containing functions to aid with data analysis processes including conducting data preprocessing as well as calculating classification metrics, cross validation scores and feature importances.The package features functions that focus mainly on analyzing the data and evaluating model performance.
py_predpurchase
is a package for predicting online shopper purchasing intentions, whether an online shopper will make a purchase from their current browsing session or not. This package contains functions to aid with the data analysis processes including conducting data preprocessing as well as calculating classification metrics, cross validation scores and feature importances.
Full Documentation hosted on Read the Docs: https://py-predpurchase.readthedocs.io/en/latest/index.html
$ pip install py_predpurchase
py_predpurchase
can be used to:
Please refer to the 'Example usage' page on the Read the Docs package documentation for a step by step, demonstration of each function in this package.
Below is an example usage for one of our functions, calculate_classification_metrics
import numpy as np
from py_predpurchase.function_classification_metrics import calculate_classification_metrics
# dummy data
y_true = [1,0,1,1,1,0,0,1,0,1]
y_pred = [1,1,1,0,1,0,0,1,0,0]
# using the function
calculate_classification_metrics(y_true, y_pred)
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
py_predpurchase
was created by Nour Abdelfattah, Sana Shams, Calvin Choi, Sai Pusuluri. It is licensed under the terms of the MIT license.
pandas
: While Pandas is an extensive tool for data manipulation, py_predpurchase specializes in e-commerce analytics, offering tailored functionalities that go beyond general data handling. It includes advanced features for importing e-commerce datasets, detecting unique shopping-related variables etc.py_predpurchase is for refined insights that are specifically geared towards optimizing online shopping platforms and driving sales.
scikit-learn
: Scikit-learn excels in model building, but py_predpurchase extends its offerings by providing advanced tools for interpreting model outcomes. Unlike scikit-learn's broader approach, our package includes specific methods for detailing the impact of each predictor on the purchasing decision, allowing for a deeper understanding of model dynamics and more accurate validation scores. py_predpurchase benefits from these specialized insights and improve your model's predictive performance in the context of online shopping.
py_predpurchase
was created with cookiecutter
and the py-pkgs-cookiecutter
template.
FAQs
```py_predpurchase```is a package for predicting online shopper purchasing intentions, containing functions to aid with data analysis processes including conducting data preprocessing as well as calculating classification metrics, cross validation scores and feature importances.The package features functions that focus mainly on analyzing the data and evaluating model performance.
We found that py-predpurchase demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.