Skip to content

Update Calibration Curve Function, Fix Deprecation Warning, and Modify Version #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 113 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
d819f0d
Added ignore files for github codespace contributing.
celik-muhammed Aug 16, 2024
5440ef9
Change version '0.3.7' to '0.3.7.1'
celik-muhammed Aug 16, 2024
933ca9d
Change version '0.3.7' to '0.3.7.1'
celik-muhammed Aug 16, 2024
558f4c6
Change version '0.3.7' to '0.3.7.1'
celik-muhammed Aug 16, 2024
78bfac2
DeprecationWarning: scipy.interp is deprecated and will be removed in…
celik-muhammed Aug 16, 2024
ccb9969
updated plot_calibration_curve function with pos_label added
celik-muhammed Aug 16, 2024
9111ce5
expose strategy param for calibration curve #118
celik-muhammed Aug 16, 2024
75621df
add show_labels option to plot_roc #116
celik-muhammed Aug 16, 2024
21cd5c6
make colorbar optional in plot_confusion_matrix() #114
celik-muhammed Aug 16, 2024
c5faedb
Feature/label dots #111
celik-muhammed Aug 16, 2024
4cbedf9
Added class_names optional arg to plot_cumulative_gain. #109
celik-muhammed Aug 16, 2024
9bf40b5
Updated
celik-muhammed Aug 16, 2024
bdf1116
Change cumulative curve like roc_curve #98
celik-muhammed Aug 16, 2024
d68d824
Preserve order of samples/classes/labels for plot_pca_2d_projection #108
celik-muhammed Aug 16, 2024
bfc4e70
Change version '0.3.7' to '0.3.8'
celik-muhammed Aug 16, 2024
205efc7
Create python-publish.yml
celik-muhammed Aug 16, 2024
b5e67de
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in positio…
celik-muhammed Aug 16, 2024
7760a73
Configuring setuptools using setup.cfg files
celik-muhammed Aug 16, 2024
5defdfa
SetuptoolsDeprecationWarning
celik-muhammed Aug 16, 2024
d931a3e
Update setup.cfg
celik-muhammed Aug 16, 2024
3b8e8d0
Merge branch 'muhammed-dev' of https://github.com/celik-muhammed/scik…
celik-muhammed Aug 16, 2024
f8495dd
SetuptoolsDeprecationWarning
celik-muhammed Aug 16, 2024
c2348bc
Updated
celik-muhammed Aug 16, 2024
cb9cba0
updated
celik-muhammed Aug 16, 2024
6dc43b3
Updated
celik-muhammed Aug 16, 2024
602716a
Updated
celik-muhammed Aug 16, 2024
21606b7
Updated
celik-muhammed Aug 16, 2024
bccd719
Updated
celik-muhammed Aug 16, 2024
7259d76
Updated
celik-muhammed Aug 16, 2024
6a936fd
Updated
celik-muhammed Aug 16, 2024
85efeab
Updated
celik-muhammed Aug 16, 2024
1bd715c
Updated
celik-muhammed Aug 16, 2024
4e17e31
Migrating: https://github.com/tensorbored/kds
celik-muhammed Aug 16, 2024
88bbf6e
Updated
celik-muhammed Aug 17, 2024
425c545
Updated
celik-muhammed Aug 17, 2024
fd4e689
Updated
celik-muhammed Aug 17, 2024
daff03e
Migrating: https://github.com/tensorbored/kds as deciiles module
celik-muhammed Aug 17, 2024
afe38ec
Migrating as `skplt.deciles` module: https://github.com/tensorbored/kds
celik-muhammed Aug 17, 2024
8efcbcf
pre-release
celik-muhammed Aug 17, 2024
81c9d94
pre-release
celik-muhammed Aug 17, 2024
36ce19c
pre-release
celik-muhammed Aug 17, 2024
8215651
pre-release
celik-muhammed Aug 17, 2024
66b6771
pre-release
celik-muhammed Aug 17, 2024
4ff2c37
Updared
celik-muhammed Aug 17, 2024
85f85ef
Updated
celik-muhammed Aug 17, 2024
eed29c4
Updated
celik-muhammed Aug 17, 2024
2e5bb3f
Updated
celik-muhammed Aug 17, 2024
0ee7545
Updated pr_auc and roc_auc
celik-muhammed Aug 19, 2024
4a146fe
Updated helpers
celik-muhammed Aug 19, 2024
6d6407b
Updated
celik-muhammed Aug 19, 2024
da34226
Tested
celik-muhammed Aug 19, 2024
c60c073
Tested
celik-muhammed Aug 19, 2024
2d3dd08
Tested
celik-muhammed Aug 19, 2024
061885b
Tested
celik-muhammed Aug 19, 2024
d65bf30
Tested
celik-muhammed Aug 19, 2024
08d066b
Tested
celik-muhammed Aug 19, 2024
c7dd953
Tested
celik-muhammed Aug 19, 2024
47ba283
Updated
celik-muhammed Aug 19, 2024
c7a0f87
Tested
celik-muhammed Aug 19, 2024
16d0cfb
Tested
celik-muhammed Aug 19, 2024
ad9141b
Tested
celik-muhammed Aug 19, 2024
15391ae
Tested
celik-muhammed Aug 19, 2024
b1cc65c
Tested
celik-muhammed Aug 19, 2024
e437b7f
Tested
celik-muhammed Aug 19, 2024
1421f6d
Tested
celik-muhammed Aug 19, 2024
87e5679
Tested
celik-muhammed Aug 19, 2024
c676655
Tested
celik-muhammed Aug 19, 2024
0885a6d
Tested
celik-muhammed Aug 19, 2024
5277a7d
Testes
celik-muhammed Aug 19, 2024
203b2d1
Tested
celik-muhammed Aug 19, 2024
384639a
Testedd
celik-muhammed Aug 19, 2024
8fb589a
Updated
celik-muhammed Aug 19, 2024
00b5afb
Tested
celik-muhammed Aug 19, 2024
39078d7
Updated
celik-muhammed Aug 19, 2024
05a282f
Updated
celik-muhammed Aug 19, 2024
1ce64d6
Tested
celik-muhammed Aug 19, 2024
aedd913
Tested
celik-muhammed Aug 19, 2024
604d678
Updated
celik-muhammed Aug 20, 2024
7cd2696
Updated
celik-muhammed Aug 21, 2024
c7069b4
Updated
celik-muhammed Aug 21, 2024
bd67297
Updated
celik-muhammed Aug 21, 2024
3de2235
Updated
celik-muhammed Aug 21, 2024
0bc8479
Updated
celik-muhammed Aug 21, 2024
0af3164
Updated
celik-muhammed Aug 22, 2024
5e946fd
Updated
celik-muhammed Aug 22, 2024
dddcee1
Updated
celik-muhammed Aug 22, 2024
ced31d3
Updated
celik-muhammed Aug 23, 2024
7304e14
Updated
celik-muhammed Aug 24, 2024
79a111e
Updated
celik-muhammed Aug 24, 2024
ea4abc9
Updated
celik-muhammed Aug 24, 2024
ccb3ab2
Updated
celik-muhammed Aug 27, 2024
b2cbb85
Updated
celik-muhammed Aug 27, 2024
29ddade
Updated
celik-muhammed Aug 27, 2024
a03260d
Updated
celik-muhammed Aug 27, 2024
4522bff
Updated
celik-muhammed Aug 27, 2024
4c488bc
Updated
celik-muhammed Aug 27, 2024
0f70bc0
Updated
celik-muhammed Aug 27, 2024
46f8576
Updated
celik-muhammed Aug 27, 2024
c6dfa07
Updated
celik-muhammed Aug 27, 2024
aa0c9b1
Updated
celik-muhammed Aug 27, 2024
b8b83e1
Updated
celik-muhammed Aug 27, 2024
38acf80
Updated
celik-muhammed Aug 27, 2024
824f0ba
0.3.9rc0
celik-muhammed Sep 1, 2024
b3de3f6
0.3.9rc1
celik-muhammed Sep 3, 2024
cbff71b
0.3.9rc1
celik-muhammed Sep 3, 2024
1d62f89
0.3.9rc2
celik-muhammed Sep 4, 2024
d0dc93c
0.3.9rc3
celik-muhammed Sep 6, 2024
312dae5
'U'
celik-muhammed Nov 14, 2024
2d09075
Your commit message
celik-muhammed Nov 14, 2024
8de3907
Update boost submodule to latest commit
celik-muhammed Nov 14, 2024
f8732b9
Commit message for changes
celik-muhammed Nov 14, 2024
b142542
Update math submodule
celik-muhammed Nov 14, 2024
82a9fac
Update xla submodule
celik-muhammed Nov 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 40 additions & 0 deletions .binder/postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#!/bin/bash

set -e

# This script is called in a binder context. When this script is called, we are
# inside a git checkout of the scikit-learn/scikit-learn repo. This script is
# generating notebooks from the scikit-learn python examples.

if [[ ! -f /.dockerenv ]]; then
echo "This script was written for repo2docker and is supposed to run inside a docker container."
echo "Exiting because this script can delete data if run outside of a docker container."
exit 1
fi

# Back up content we need from the scikit-learn repo
TMP_CONTENT_DIR=/tmp/scikit-learn
mkdir -p $TMP_CONTENT_DIR
cp -r examples .binder $TMP_CONTENT_DIR
# delete everything in current directory including dot files and dot folders
find . -delete

# Generate notebooks and remove other files from examples folder
GENERATED_NOTEBOOKS_DIR=.generated-notebooks
cp -r $TMP_CONTENT_DIR/examples $GENERATED_NOTEBOOKS_DIR

find $GENERATED_NOTEBOOKS_DIR -name '*.py' -exec sphx_glr_python_to_jupyter.py '{}' +
NON_NOTEBOOKS=$(find $GENERATED_NOTEBOOKS_DIR -type f | grep -v '\.ipynb')
rm -f $NON_NOTEBOOKS

# Put the .binder folder back (may be useful for debugging purposes)
mv $TMP_CONTENT_DIR/.binder .
# Final clean up
rm -rf $TMP_CONTENT_DIR

# This is for compatibility with binder sphinx-gallery integration: this makes
# sure that the binder links generated by sphinx-gallery are correct even tough
# the repo we use for binder (scikit-learn/scikit-learn) is not the repo of the
# generated doc (scikit-learn/scikit-learn.github.io)
mkdir notebooks
ln -s ../$GENERATED_NOTEBOOKS_DIR notebooks/auto_examples
10 changes: 10 additions & 0 deletions .binder/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--find-links https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/scikit-learn
--pre
matplotlib
scikit-image
pandas
seaborn
Pillow
sphinx-gallery
scikit-learn
polars
1 change: 1 addition & 0 deletions .binder/runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.9
30 changes: 30 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "gpu-internal",
"image": "us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.8_cuda_12.1",
"runArgs": [
"--gpus=all",
"--net=host",
"--shm-size=16G"
],
"containerEnv": {
"BAZEL_REMOTE_CACHE": "1",
"SILO_NAME": "cache-silo-${localEnv:USER}-gpuvm"
},
"initializeCommand": "docker pull us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.8_cuda_12.1",
"customizations": {
"vscode": {
"extensions": [
"llvm-vs-code-extensions.vscode-clangd",
"ms-vscode.cpptools-themes",
"BazelBuild.vscode-bazel",
"DevonDCarew.bazel-code",
"StackBuild.bazel-stack-vscode",
"StackBuild.bazel-stack-vscode-cc",
"xaver.clang-format",
"ryanluker.vscode-coverage-gutters",
"ms-azuretools.vscode-docker",
"ms-python.python"
]
}
}
}
30 changes: 30 additions & 0 deletions .devcontainer/gpu-internal/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "gpu-internal",
"image": "us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.8_cuda_12.1",
"runArgs": [
"--gpus=all",
"--net=host",
"--shm-size=16G"
],
"containerEnv": {
"BAZEL_REMOTE_CACHE": "1",
"SILO_NAME": "cache-silo-${localEnv:USER}-gpuvm"
},
"initializeCommand": "docker pull us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.8_cuda_12.1",
"customizations": {
"vscode": {
"extensions": [
"llvm-vs-code-extensions.vscode-clangd",
"ms-vscode.cpptools-themes",
"BazelBuild.vscode-bazel",
"DevonDCarew.bazel-code",
"StackBuild.bazel-stack-vscode",
"StackBuild.bazel-stack-vscode-cc",
"xaver.clang-format",
"ryanluker.vscode-coverage-gutters",
"ms-azuretools.vscode-docker",
"ms-python.python"
]
}
}
}
72 changes: 72 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
## Specify settings and behaviors for files

## Set the default behavior, in case contributors don't have core.autocrlf set.
## Line ending normalization
## Windows systems uses: "crlf" \r\n (carriage return + line feed)
## Unix-based (like Linux and macOS) uses: "lf" \n (line feed)
## end-of-line (EOL) treated as text or binary based on its content
* text=auto eol=lf
*.md text eol=lf
*.py text eol=lf
*.sh text eol=lf

## Explicitly declare text files
*.py text
*.rst text
*.md text
*.json text
*.ipynb text
*.cfg text

## Baseline images are binary and should not be modified
*.png binary
*.jpg binary
*.pdf binary

## Compressed files are binary and should not be modified
*.gz binary
*.npz binary
*.zip binary


## Git LFS for large files
## specify which files should be stored in Git LFS rather than directly in the Git repository
# *.jpg filter=lfs diff=lfs merge=lfs -text

## Ignoring changes
## excluded from the standard Git diff output
## (e.g., when using git diff): ignore when tracking changes
# *.log -diff

## Git not to include this file when generating an archive of the repository exports
## (e.g., when using git archive) ignored during exports
# secret.txt export-ignore

## Filtering Files
## commands that modify files during the checkout and commit processes.
# *.docx filter=custom-filter

## Custom Merge Drivers
## merge: defining how certain files should be merged during conflicts.
# *.csv merge=csv-merge-driver
# *.docx merge=word
# *.xml merge=union
# *.txt merge=union

## Attributes for Export
## export-subst: (Version: $Version$) dynamically update version information
# version: export-subst

## Git diff attributes
## how files are displayed in git diff output
# *.css diff=css

## Language-Specific Settings
## linguist-language: based on the programming language or linguistic considerations
# *.py linguist-language=Python
# *.py indent=spaces=4
# *.js linguist-language=JavaScript

## Identifying file types
# *.txt text
# *.jpg binary
1 change: 1 addition & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Please refer to the [contributing guide](https://scikit-plots.github.io/devel/index.html).
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
# These are supported funding model platforms
github: [scikit-plots, numfocus]
custom: https://numfocus.org/donate-to-scikit-plots
85 changes: 85 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
---
name: Bug Report
description: Report a bug or issue with scikit-plots.
title: "[Bug]: "
body:
- type: textarea
id: summary
attributes:
label: Bug summary
description: Describe the bug in 1-2 short sentences
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Code for reproduction
description: >-
If possible, please provide a minimum self-contained example.
placeholder: Paste your code here. This field is automatically formatted as Python code.
render: Python
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual outcome
description: >-
Paste the output produced by the code provided above, e.g.
console output, images/videos produced by the code, any relevant screenshots/screencasts, etc.
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected outcome
description: Describe (or provide a visual example of) the expected outcome from the code snippet.
validations:
required: true
- type: textarea
id: details
attributes:
label: Additional information
description: |
- What are the conditions under which this bug happens? input parameters, edge cases, etc?
- Has this worked in earlier versions?
- Do you know why this bug is happening?
- Do you maybe even know a fix?
- type: input
id: operating-system
attributes:
label: Operating system
description: Windows, OS/X, Arch, Debian, Ubuntu, etc.
- type: input
id: scikit-plots-version
attributes:
label: scikit-plots Version
description: "From Python prompt: `import scikitplot; print(scikitplot.__version__)`"
validations:
required: true
# - type: input
# id: scikit-plots-backend
# attributes:
# label: scikit-plots Backend
# description: "From Python prompt: `import scikitplot; print(scikitplot.get_backend())`"
- type: input
id: python-version
attributes:
label: Python version
description: "In console: `python --version`"
- type: input
id: jupyter-version
attributes:
label: Jupyter version
description: "In console: `jupyter notebook --version` or `jupyter lab --version`"
- type: dropdown
id: install
attributes:
label: Installation
description: How did you install scikit-plots?
options:
- pip
- conda
- git checkout
- from source (.tar.gz)
- Linux package manager
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Reference:
# https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
---
blank_issues_enabled: true # default
contact_links:
- name: Question/Support/Other
url: https://scikit-plots.github.io/
about: If you have a usage question
- name: Chat with devs
# url: https://gitter.im/matplotlib/matplotlib
url: https://gitter.im
about: Ask short questions about contributing to scikit-plots
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Documentation
description: Create a report to help us improve the documentation
title: "[Doc]: "
labels: [Documentation]
body:
- type: input
id: link
attributes:
label: Documentation Link
description: >-
Link to any documentation or examples that you are referencing. Suggested improvements should be based
on [the development version of the docs](https://scikit-plots.github.io/devdocs/)
placeholder: https://scikit-plots.github.io/devdocs/...
- type: textarea
id: problem
attributes:
label: Problem
description: What is missing, unclear, or wrong in the documentation?
placeholder: |
* I found [...] to be unclear because [...]
* [...] made me think that [...] when really it should be [...]
* There is no example showing how to do [...]
validations:
required: true
- type: textarea
id: improvement
attributes:
label: Suggested improvement
placeholder: |
* This line should be be changed to say [...]
* Include a paragraph explaining [...]
* Add a figure showing [...]
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Feature Request
description: Suggest something to add to scikit-plots!
title: "[ENH]: "
labels: [New feature]
body:
- type: markdown
attributes:
value: >-
Please search the [issues](https://github.com/scikit-plots/scikit-plots/issues) for relevant feature
requests before creating a new feature request.
- type: textarea
id: problem
attributes:
label: Problem
description: Briefly describe the problem this feature will solve. (2-4 sentences)
placeholder: |
* I'm always frustrated when [...] because [...]
* I would like it if [...] happened when I [...] because [...]
* Here is a sample image of what I am asking for [...]
validations:
required: true
- type: textarea
id: solution
attributes:
label: Proposed solution
description: Describe a way to accomplish the goals of this feature request.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/maintenance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Maintenance
description: Help improve performance, usability and/or consistency.
title: "[MNT]: "
labels: [Maintenance]
body:
- type: textarea
id: summary
attributes:
label: Summary
description: Please provide 1-2 short sentences that succinctly describes what could be improved.
validations:
required: true
- type: textarea
id: fix
attributes:
label: Proposed fix
description: Please describe how you think this could be improved.
Loading