A package containing the necessary functions to smoothly run the analysis in DSCI-310-Group-1
Project description
grouponefunctions
A package containing the necessary functions to smoothly run the analysis in DSCI-310-Group-1.
Installation
Note: The installation is not likely to proceed for Python version lower than 3.9.10. Please check your Python version the code below.
python --version
Then you can install the package by the command below.
pip install grouponefunctions
Usage
grouponefunctions is primarily used for analysis of Predicting students’ grades using multi-variable regression, but contains three general use functions. To implement the functions, import our package grouponefunctions as a module. The package has three functions: splitxy, listfun, and plotsquaredata.
split_xy
split_xy can be used to split data into predictor feature and target variables as follows:
from grouponefunctions.grouponefunctions import split_xy
X_train, y_train = split_xy(train_df, ["feature1", "feature2", "feature3"], target)
X_test, y_test = split_xy(test_df, ["feature1", "feature2", "feature3"], target)
plot_square_data
This function is capable at creating plots to display in a grid configuration.
from grouponefunctions.grouponefunction import plot_square_data
plot_square_data(X_train, y_train, ["feature1", "feature2", "feature3"], ["title1", "title2", "title3], "This is Plot 1")
plot_square_data(dependent, independednts, ["income"], ["retirement_age"], "Income and Retirement Age Relation")
list_abs
This function is the abstract function for list, used in Results part in the analysis.
from grouponefunctions.grouponefunction import list_abs
list_abs(preprocessor, "pipeline-2", "onehotencoder", categorical_features)
Contributing
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.
License
grouponefunctions was created by Andres Zepeda Perez, Daniel Hou, Zizhen Guo, Timothy Zhou. It is licensed under the terms of the MIT license.
Credits
grouponefunctions was created with cookiecutter and the py-pkgs-cookiecutter template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grouponefunctions-0.1.8.tar.gz.
File metadata
- Download URL: grouponefunctions-0.1.8.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5388dfbe5bbbf54697219489ef9324c340938443c9d4477a0fa2aa311fe08b1
|
|
| MD5 |
1a0a8a70d11ff4b54713ff33ff20765b
|
|
| BLAKE2b-256 |
20f005c6335906bc5af365b22b7313accca523b61d88e87b83f994760dab87bf
|
File details
Details for the file grouponefunctions-0.1.8-py3-none-any.whl.
File metadata
- Download URL: grouponefunctions-0.1.8-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a45f0d8c70ec9cf91853468871dd6f336320fb2be500d23868eecaf21bbf4a3
|
|
| MD5 |
1d8100d623a61d5d6d61184083368593
|
|
| BLAKE2b-256 |
491d014554ec8c30b84ecdb1d0d8e0b9e29b98550fbc5b77e198946866b89929
|