Skip to content

Commit

Permalink
Merge branch 'main' into 0.17.x
Browse files Browse the repository at this point in the history
# Conflicts:
#	VERSION
  • Loading branch information
noamzbr committed Jun 8, 2023
2 parents 1e24c21 + a26f5cb commit 7bc2be0
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 20 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.17.0
0.17.1
8 changes: 8 additions & 0 deletions deepchecks/utils/dataframes.py
Expand Up @@ -104,6 +104,14 @@ def un_numpy(val):
-------
returns the numpy value in a native type.
"""
if isinstance(val, np.str_):
# NOTE:
# 'np.str_' is instance of the 'np.generic' but
# 'np.isnan(np.str_())' raises an error with a next message:
# >> TypeError: ufunc 'isnan' not supported for the input types...)
#
# therefore this 'if' statement is needed
return val.item()
if isinstance(val, np.generic):
if np.isnan(val):
return None
Expand Down
5 changes: 3 additions & 2 deletions docs/source/general/concepts/when_should_you_use.rst
Expand Up @@ -22,8 +22,9 @@ Built-In Suites - API Reference
================================

Check the :mod:`deepchecks.tabular.suites` in the API reference for a list of all of the built-in suites for tabular data,
:mod:`deepchecks.vision.suites` for vision data (in beta release) or
:mod:`deepchecks.nlp.suites` for nlp data (in alpha release).
:mod:`deepchecks.nlp.suites` for nlp data or
:mod:`deepchecks.vision.suites` for vision data (in beta release).
.


Typical Validation Scenarios
Expand Down
16 changes: 8 additions & 8 deletions docs/source/getting-started/welcome.rst
Expand Up @@ -65,21 +65,21 @@ Get Started with Deepchecks Testing
Quickstarts, main concepts, checks gallery and end-to-end guides demonstrating
how to start working Deepchecks with tabular data and models.

.. grid-item-card:: 🔤️ NLP 🔤️
:link-type: ref
:link: nlp__index

Quickstarts, main concepts, checks gallery and end-to-end guides demonstrating
how to start working Deepchecks with textual data.
Future releases to come!

.. grid-item-card:: 🎦‍ Computer Vision (Note: in Beta Release) 🎦‍
:link-type: ref
:link: vision__index

Quickstarts, main concepts, checks gallery and end-to-end guides demonstrating
how to start working Deepchecks with CV data and models.
Built-in support for PyTorch, TensorFlow, and custom frameworks.

.. grid-item-card:: 🔤️ NLP (Note: in Alpha Release) 🔤️
:link-type: ref
:link: nlp__index

Quickstarts, main concepts, checks gallery and end-to-end guides demonstrating
how to start working Deepchecks with textual data.
Future releases to come!

.. grid-item-card:: 🚀 Interactive Checks Demo 🚀
:link-type: url
Expand Down
6 changes: 3 additions & 3 deletions docs/source/nlp/index.rst
Expand Up @@ -4,12 +4,12 @@
NLP
===

Deepchecks for NLP is currently in alpha.
Jump over to the :ref:`nlp__quickstarts` in the Tutorials section to get started,
Deepchecks NLP sub package contain a large variety of checks and suites for different use cases.
Jump over to the :ref:`nlp__quickstarts` in the Tutorials section to get started,
or visit the :ref:`getting-started__installation` for a full
guide about how to set up your environment.

This is an alpha release and you can help us develop it further! You can provide feedback and suggestions as issues on
Help us develop it further! You can provide feedback and suggestions as issues on
`GitHub <https://github.com/deepchecks/deepchecks/issues>`__, or by joining our
`Community Slack <https://www.deepchecks.com/slack>`__.

Expand Down
Expand Up @@ -27,15 +27,15 @@
.. code:: python
import sys
!{sys.executable} -m pip install deepchecks[nlp] -U --quiet #--user
!{sys.executable} -m pip install 'deepchecks[nlp]' -U --quiet #--user
Some properties calculated by ``deepchecks.nlp`` require additional packages to be installed. You can
install them by running:
.. code:: python
import sys
!{sys.executable} -m pip install deepchecks[nlp-properties] -U --quiet #--user
!{sys.executable} -m pip install 'deepchecks[nlp-properties]' -U --quiet #--user
Setting Up
==========
Expand Down
Expand Up @@ -31,15 +31,15 @@
.. code:: python
import sys
!{sys.executable} -m pip install deepchecks[nlp] -U --quiet #--user
!{sys.executable} -m pip install 'deepchecks[nlp]' -U --quiet #--user
Some properties calculated by ``deepchecks.nlp`` require additional packages to be installed. You can
install them by running:
.. code:: python
import sys
!{sys.executable} -m pip install deepchecks[nlp-properties] -U --quiet #--user
!{sys.executable} -m pip install 'deepchecks[nlp-properties]' -U --quiet #--user
Setting Up
==========
Expand Down
Expand Up @@ -31,15 +31,15 @@
.. code:: python
import sys
!{sys.executable} -m pip install deepchecks[nlp] -U --quiet #--user
!{sys.executable} -m pip install 'deepchecks[nlp]' -U --quiet #--user
Some properties calculated by ``deepchecks.nlp`` require additional packages to be installed. You can
also install them by running:
.. code:: python
import sys
!{sys.executable} -m pip install deepchecks[nlp-properties] -U --quiet #--user
!{sys.executable} -m pip install 'deepchecks[nlp-properties]' -U --quiet #--user
Setting Up
==========
Expand Down
3 changes: 3 additions & 0 deletions spelling-allowlist.txt
Expand Up @@ -159,3 +159,6 @@ huggingface
tiktoken
ai
idx
isnan
'isnan'
ufunc

0 comments on commit 7bc2be0

Please sign in to comment.