{ "info": { "author": "Yash Lamba", "author_email": "yashlamba2000@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "# DFFML Scratch Models\n\n## About\n\nModels created without a machine learning framework.\n\n## Install\n\n```console\n$ python3 -m pip install --user dffml-model-scratch\n```\n\n## Usage\n\nIf we have a dataset of years of experience in a job and the Salary (in\nthousands) at that job we can use the Simple Linear Regression model to predict\na salary given the years of experience (or the other way around).\n\nFirst we create the file containing the dataset. Then we train the model, get\nits accuracy. And using `echo` pipe a new csv file of data to predict into the\nmodel, and it will give us it prediction of the Salary.\n\n```console\n$ cat > dataset.csv << EOF\nYears,Salary\n1,40\n2,50\n3,60\n4,70\n5,80\nEOF\n$ dffml train -model scratchslr -model-features Years:int:1 -model-predict Salary -model-directory tempdir -sources f=csv -source-filename dataset.csv -source-readonly -log debug\n$ dffml accuracy -model scratchslr -model-features Years:int:1 -model-predict Salary -model-directory tempdir -sources f=csv -source-filename dataset.csv -source-readonly -log debug\n1.0\n$ echo -e 'Years,Salary\\n6,0\\n' | dffml predict all -model scratchslr -model-features Years:int:1 -model-predict Salary -model-directory tempdir -sources f=csv -source-filename /dev/stdin -source-readonly -log debug\n[\n {\n \"extra\": {},\n \"features\": {\n \"Salary\": 0,\n \"Years\": 6\n },\n \"last_updated\": \"2019-07-19T09:46:45Z\",\n \"prediction\": {\n \"confidence\": 1.0,\n \"value\": 90.0\n },\n \"key\": \"0\"\n }\n]\n```\n\n## License\n\nScratch Models are distributed under the terms of the [MIT License](LICENSE).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/intel/dffml/blob/master/model/scratch/README.md", "keywords": "dffml", "license": "MIT", "maintainer": "John Andersen", "maintainer_email": "john.s.andersen@intel.com", "name": "dffml-model-scratch", "package_url": "https://pypi.org/project/dffml-model-scratch/", "platform": "", "project_url": "https://pypi.org/project/dffml-model-scratch/", "project_urls": { "Homepage": "https://github.com/intel/dffml/blob/master/model/scratch/README.md" }, "release_url": "https://pypi.org/project/dffml-model-scratch/0.1.0.post0/", "requires_dist": [ "dffml (>=0.4.0)", "numpy (>=1.19.2)" ], "requires_python": "", "summary": "", "version": "0.1.0.post0", "yanked": false, "yanked_reason": null }, "last_serial": 10602755, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "812ebb20605d77712a08c7a3695a5108", "sha256": "1d90d7bf771082c5d16e70052714d6000a4dc536509b1b39ba26755b2e6c088a" }, "downloads": -1, "filename": "dffml-model-scratch-0.0.1.tar.gz", "has_sig": false, "md5_digest": "812ebb20605d77712a08c7a3695a5108", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5945, "upload_time": "2019-07-30T19:28:01", "upload_time_iso_8601": "2019-07-30T19:28:01.205016Z", "url": "https://files.pythonhosted.org/packages/53/3d/daaabf7a665c653f4c0b2d1a96bdade1b663ff903ead114b336400b164c5/dffml-model-scratch-0.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "b8fc09baebfa5e8b28faf62b14e393a3", "sha256": "36b9a10a9c6a08dcb4ef7415884ba978f548178c971b6f8cf0779866196c8316" }, "downloads": -1, "filename": "dffml-model-scratch-0.0.2.tar.gz", "has_sig": false, "md5_digest": "b8fc09baebfa5e8b28faf62b14e393a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6071, "upload_time": "2019-10-26T21:02:21", "upload_time_iso_8601": "2019-10-26T21:02:21.941284Z", "url": "https://files.pythonhosted.org/packages/18/33/5ef04c3085c0cc0ca1b1309078273a15d4ee5324f00b7c7583852cf4d063/dffml-model-scratch-0.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "7d8b4172643c934886094db05170ab42", "sha256": "bad6dbe6c402a4b3cdbff94dc99427e840e1dbb0422ca60f7ab78503ce475a44" }, "downloads": -1, "filename": "dffml-model-scratch-0.0.3.tar.gz", "has_sig": false, "md5_digest": "7d8b4172643c934886094db05170ab42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6039, "upload_time": "2019-12-12T08:49:54", "upload_time_iso_8601": "2019-12-12T08:49:54.252636Z", "url": "https://files.pythonhosted.org/packages/4b/64/702c09f567d444a2eb745a334a654913641e3fa3add5eecd1bbfafdcb0d8/dffml-model-scratch-0.0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "79181308e0afc2f06105db6f257c1bdd", "sha256": "2153cc125ffc8cd66297392ff506e720b52f7c6ba23cedb064f710620ee07f3d" }, "downloads": -1, "filename": "dffml-model-scratch-0.0.4.tar.gz", "has_sig": false, "md5_digest": "79181308e0afc2f06105db6f257c1bdd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6066, "upload_time": "2020-02-13T22:38:24", "upload_time_iso_8601": "2020-02-13T22:38:24.174880Z", "url": "https://files.pythonhosted.org/packages/c4/7d/e00cd64c425b05b438ebbf0d863b934e650b3e514724d754ad474d10df5e/dffml-model-scratch-0.0.4.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "967e539a8b62b6a0b7df458f5760b546", "sha256": "f4a653f5238574eff1a275be1f4181e5962d5edd01cf1a85e74c55ac1cd0d306" }, "downloads": -1, "filename": "dffml-model-scratch-0.0.5.tar.gz", "has_sig": false, "md5_digest": "967e539a8b62b6a0b7df458f5760b546", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5996, "upload_time": "2020-03-02T21:23:15", "upload_time_iso_8601": "2020-03-02T21:23:15.591522Z", "url": "https://files.pythonhosted.org/packages/17/a7/56e400b8453ffaba42c2d0c0eb5568b7112d4970dc56b52fa38ecca07f3c/dffml-model-scratch-0.0.5.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "9e03997a8f488c7bea68fea5967042bd", "sha256": "8c5a2803416e5f1e318426e0f7ff723837ec67b51afb0f9e8694b2b2f6dca00c" }, "downloads": -1, "filename": "dffml-model-scratch-0.0.6.tar.gz", "has_sig": false, "md5_digest": "9e03997a8f488c7bea68fea5967042bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6144, "upload_time": "2020-03-10T23:00:18", "upload_time_iso_8601": "2020-03-10T23:00:18.091403Z", "url": "https://files.pythonhosted.org/packages/12/76/dc5d65d0ba39f578d9d672f37e4d407f4fe45fa810f67d234cdcdd6ae609/dffml-model-scratch-0.0.6.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "8d268440f25710030bb3063bb7bdf091", "sha256": "bfd317212598b97e2b9648c01601451b9cb70677dea0929688de3ee9fc1477df" }, "downloads": -1, "filename": "dffml-model-scratch-0.0.7.tar.gz", "has_sig": false, "md5_digest": "8d268440f25710030bb3063bb7bdf091", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6836, "upload_time": "2020-04-04T21:41:28", "upload_time_iso_8601": "2020-04-04T21:41:28.110790Z", "url": "https://files.pythonhosted.org/packages/7c/9b/94a5a4202f230923d8fb432f1950c4b5d46a98a17288e8099a4d7ad3a45d/dffml-model-scratch-0.0.7.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "73ba7a3e3ae2fefc5d07e3418867f573", "sha256": "204aecb5842a368a77e99dcf4a1a19a366fb42a908c29807934ab5bb05c36eb0" }, "downloads": -1, "filename": "dffml-model-scratch-0.0.8.tar.gz", "has_sig": false, "md5_digest": "73ba7a3e3ae2fefc5d07e3418867f573", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6832, "upload_time": "2020-04-14T23:02:56", "upload_time_iso_8601": "2020-04-14T23:02:56.335319Z", "url": "https://files.pythonhosted.org/packages/3a/b1/d73513b92741a7d563bd26995e3009abe0176c3a3ac50d7ec3d372ebace6/dffml-model-scratch-0.0.8.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "6fb2dc6212b235e3b318a33ba4dfab42", "sha256": "1851749b3f94521d99599513f9109261555fb02864b6e4cfc4fcbb4520f183e4" }, "downloads": -1, "filename": "dffml_model_scratch-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6fb2dc6212b235e3b318a33ba4dfab42", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13877, "upload_time": "2021-02-18T09:15:13", "upload_time_iso_8601": "2021-02-18T09:15:13.378784Z", "url": "https://files.pythonhosted.org/packages/b0/eb/ecccc6e7f9383c0aeb9bcd429bdc2c2a5c1d105aa7cd722e615c4a57a6a2/dffml_model_scratch-0.1.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "e0b30d95c3da266f7338b4870abd779e", "sha256": "cffad1b139bb8b88b71c92210abda5ebbf40233af78a24f47b1794e7d1a6f1ec" }, "downloads": -1, "filename": "dffml-model-scratch-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e0b30d95c3da266f7338b4870abd779e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10798, "upload_time": "2021-02-18T09:15:14", "upload_time_iso_8601": "2021-02-18T09:15:14.478777Z", "url": "https://files.pythonhosted.org/packages/b0/8b/6f587ebfa32fcc57373f6badee04d39ae4eb9eca7ebfa205458fdd08c09f/dffml-model-scratch-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.0.post0": [ { "comment_text": "", "digests": { "md5": "7c185e94254e0a0fe637583c95b7c6b8", "sha256": "30e09202f3cad6da079c7e55867601a6a1d72e3345837b07345e3632882200b2" }, "downloads": -1, "filename": "dffml_model_scratch-0.1.0.post0-py3-none-any.whl", "has_sig": false, "md5_digest": "7c185e94254e0a0fe637583c95b7c6b8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13885, "upload_time": "2021-06-09T15:48:29", "upload_time_iso_8601": "2021-06-09T15:48:29.574875Z", "url": "https://files.pythonhosted.org/packages/bb/d8/7d8bf7ae1f1d78df62dbad1dde8046c1b86f04c4b1439cb27d18da5f1c16/dffml_model_scratch-0.1.0.post0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "ee0b656563946ac684652059790a341c", "sha256": "d46acdcd8fb6d3700a0c068653e2700ea06c8ad2f8db971d9d78e25b974a80f8" }, "downloads": -1, "filename": "dffml-model-scratch-0.1.0.post0.tar.gz", "has_sig": false, "md5_digest": "ee0b656563946ac684652059790a341c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9547, "upload_time": "2021-06-09T15:48:30", "upload_time_iso_8601": "2021-06-09T15:48:30.737142Z", "url": "https://files.pythonhosted.org/packages/55/a6/6b7063b9da1cb742a30f74a6d3adc0fd09c6e2ad58e49fc942e9ec30f945/dffml-model-scratch-0.1.0.post0.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7c185e94254e0a0fe637583c95b7c6b8", "sha256": "30e09202f3cad6da079c7e55867601a6a1d72e3345837b07345e3632882200b2" }, "downloads": -1, "filename": "dffml_model_scratch-0.1.0.post0-py3-none-any.whl", "has_sig": false, "md5_digest": "7c185e94254e0a0fe637583c95b7c6b8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13885, "upload_time": "2021-06-09T15:48:29", "upload_time_iso_8601": "2021-06-09T15:48:29.574875Z", "url": "https://files.pythonhosted.org/packages/bb/d8/7d8bf7ae1f1d78df62dbad1dde8046c1b86f04c4b1439cb27d18da5f1c16/dffml_model_scratch-0.1.0.post0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "ee0b656563946ac684652059790a341c", "sha256": "d46acdcd8fb6d3700a0c068653e2700ea06c8ad2f8db971d9d78e25b974a80f8" }, "downloads": -1, "filename": "dffml-model-scratch-0.1.0.post0.tar.gz", "has_sig": false, "md5_digest": "ee0b656563946ac684652059790a341c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9547, "upload_time": "2021-06-09T15:48:30", "upload_time_iso_8601": "2021-06-09T15:48:30.737142Z", "url": "https://files.pythonhosted.org/packages/55/a6/6b7063b9da1cb742a30f74a6d3adc0fd09c6e2ad58e49fc942e9ec30f945/dffml-model-scratch-0.1.0.post0.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }