zedstat


Namezedstat JSON
Version 0.0.137 PyPI version JSON
download
home_pagehttps://github.com/zeroknowledgediscovery/zedstat
SummaryStatistics tools for ML models and deployment
upload_time2023-12-05 06:39:39
maintainer
docs_urlNone
authorzed.uchicago.edu
requires_python>=3.6
licenseLICENSE
keywords machine learning statistics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===============
zedstat
===============

.. image:: https://zed.uchicago.edu/logo/logo_zedstat.png
   :height: 150px
   :align: center 

.. image:: https://zenodo.org/badge/529991779.svg
   :target: https://zenodo.org/badge/latestdoi/529991779

.. class:: no-web no-pdf

:Author: ZeD@UChicago <zed.uchicago.edu>
:Description: Tools for ML statistics 
:Documentation: https://zeroknowledgediscovery.github.io/zedstat/
:Example: https://github.com/zeroknowledgediscovery/zedstat/blob/master/examples/example1.ipynb
		
**Usage:**

.. code-block::

   from zedstat import zedstat
   zt=zedstat.processRoc(df=pd.read_csv('roc.csv'),
           order=3, 
           total_samples=100000,
           positive_samples=100,
           alpha=0.01,
           prevalence=.002)

   zt.smooth(STEP=0.001)
   zt.allmeasures(interpolate=True)
   zt.usample(precision=3)
   zt.getBounds()

   print(zt.auc())

   # find the high precision and high sensitivity operating points
   zt.operating_zone(LRminus=.65)
   rf0,txt0=zt.interpret(fpr=zt._operating_zone.fpr.values[0],number_of_positives=10)
   rf1,txt1=zt.interpret(fpr=zt._operating_zone.fpr.values[1],number_of_positives=10)
   display(zt._operating_zone)
   print('high precision operation:\n','\n '.join(txt0))
   print('high recall operation:\n','\n '.join(txt1))

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zeroknowledgediscovery/zedstat",
    "name": "zedstat",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "machine learning,statistics",
    "author": "zed.uchicago.edu",
    "author_email": "ishanu@uchicago.edu",
    "download_url": "https://files.pythonhosted.org/packages/01/e4/a881698798804536f3d04c1313e12c8077f5d9124779bceda0f36827f945/zedstat-0.0.137.tar.gz",
    "platform": null,
    "description": "===============\nzedstat\n===============\n\n.. image:: https://zed.uchicago.edu/logo/logo_zedstat.png\n   :height: 150px\n   :align: center \n\n.. image:: https://zenodo.org/badge/529991779.svg\n   :target: https://zenodo.org/badge/latestdoi/529991779\n\n.. class:: no-web no-pdf\n\n:Author: ZeD@UChicago <zed.uchicago.edu>\n:Description: Tools for ML statistics \n:Documentation: https://zeroknowledgediscovery.github.io/zedstat/\n:Example: https://github.com/zeroknowledgediscovery/zedstat/blob/master/examples/example1.ipynb\n\t\t\n**Usage:**\n\n.. code-block::\n\n   from zedstat import zedstat\n   zt=zedstat.processRoc(df=pd.read_csv('roc.csv'),\n           order=3, \n           total_samples=100000,\n           positive_samples=100,\n           alpha=0.01,\n           prevalence=.002)\n\n   zt.smooth(STEP=0.001)\n   zt.allmeasures(interpolate=True)\n   zt.usample(precision=3)\n   zt.getBounds()\n\n   print(zt.auc())\n\n   # find the high precision and high sensitivity operating points\n   zt.operating_zone(LRminus=.65)\n   rf0,txt0=zt.interpret(fpr=zt._operating_zone.fpr.values[0],number_of_positives=10)\n   rf1,txt1=zt.interpret(fpr=zt._operating_zone.fpr.values[1],number_of_positives=10)\n   display(zt._operating_zone)\n   print('high precision operation:\\n','\\n '.join(txt0))\n   print('high recall operation:\\n','\\n '.join(txt1))\n",
    "bugtrack_url": null,
    "license": "LICENSE",
    "summary": "Statistics tools for ML models and deployment",
    "version": "0.0.137",
    "project_urls": {
        "Download": "https://github.com/zeroknowledgediscovery/zedstat/archive/0.0.137.tar.gz",
        "Homepage": "https://github.com/zeroknowledgediscovery/zedstat"
    },
    "split_keywords": [
        "machine learning",
        "statistics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b3f7fad0c271bea7951bf9d41e5fdd05dfda621a486e2aa04925eb000c088a6a",
                "md5": "f836eeb67a1817a9c8e2d7eb87caad3b",
                "sha256": "6206bb8eb550a8257b7fe15921ab0a646e9d1df4013f0a7830dd5223686b359f"
            },
            "downloads": -1,
            "filename": "zedstat-0.0.137-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f836eeb67a1817a9c8e2d7eb87caad3b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 169131,
            "upload_time": "2023-12-05T06:39:36",
            "upload_time_iso_8601": "2023-12-05T06:39:36.744040Z",
            "url": "https://files.pythonhosted.org/packages/b3/f7/fad0c271bea7951bf9d41e5fdd05dfda621a486e2aa04925eb000c088a6a/zedstat-0.0.137-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "01e4a881698798804536f3d04c1313e12c8077f5d9124779bceda0f36827f945",
                "md5": "9ec04cd95d9759949ec68ff1caeae064",
                "sha256": "5257db097e3ecd2ed312d968abd77b69339b28ce2d2dfed5ab27ab94b73f9a13"
            },
            "downloads": -1,
            "filename": "zedstat-0.0.137.tar.gz",
            "has_sig": false,
            "md5_digest": "9ec04cd95d9759949ec68ff1caeae064",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 80615,
            "upload_time": "2023-12-05T06:39:39",
            "upload_time_iso_8601": "2023-12-05T06:39:39.520199Z",
            "url": "https://files.pythonhosted.org/packages/01/e4/a881698798804536f3d04c1313e12c8077f5d9124779bceda0f36827f945/zedstat-0.0.137.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-05 06:39:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zeroknowledgediscovery",
    "github_project": "zedstat",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "zedstat"
}
        
Elapsed time: 0.17268s