{ "info": { "author": "Charles Wang", "author_email": "c_w@berkeley.edu", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "# Spatial Uncertainty Research Framework\n\n\"SURF\"\n\n## What is SURF?\n\nSURF is a Python package for performing spatial uncertainty analysis uisng random fields and machine leaning.\n\n## Install\n\n```sh\npip install pySURF\n```\n\n## Examples\n\nThe example below shows how to train a neural network on a data set, and use it to predict.\n\n```python\n from surf.NN import SpatialNeuralNet\n\n #---------------------------------------\n # 1. Prepare your data\n #---------------------------------------\n\n # ... see SURF.ET-AI.py \n\n #---------------------------------------\n # 2. Train the neural network\n #---------------------------------------\n \n nn = SpatialNeuralNet(rawData = data, numNei = 20)\n nn.build_model()\n nn.train()\n\n #---------------------------------------\n # 3. Predict\n #---------------------------------------\n\n unkown_point = [x, y] # define a point \n predicted = nn.predict(unkown_point) # predict\n\n```\n\nThe example below shows how to define a spatial model for a data set, and insert it into random field to predict.\n\n```python\n from surf.rf import SK\n import surf.spatialModel as m\n\n #---------------------------------------\n # 1. Prepare your data\n #---------------------------------------\n\n # ... see SURF.ET.py \n\n #---------------------------------------\n # 2. Define spatial model \n #---------------------------------------\n\n colLength = 0.1\n sill = np.var( data[:,2] )\n cov = m.cov( m.exponential, ( colLength, sill ) )\n\n #---------------------------------------\n # 3. Predict\n #---------------------------------------\n \n unkown_point = [x, y] # define a point \n predicted_mu, predicted_std = SK( data, cov, unkown_point, N=100 )\n```\n## Documentation\n\n[Online documentation](https://nheri-simcenter.github.io/SURF)\n\n## Application examples\n\n[BRAILS](https://github.com/NHERI-SimCenter/BRAILS)\n\n[Soft-Story Detection](https://github.com/charlesxwang/Soft-Story-Detection)\n\n## License\n\nSURF is distributed under the BSD 3-Clause license.\n\n## Acknowledgement\n\nThis material is based upon work supported by the National Science Foundation under Grant No. 1612843. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.\n\n## Contact\n\nCharles Wang, NHERI SimCenter, University of California, Berkeley, c_w@berkeley.edu", "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/NHERI-SimCenter/SURF", "keywords": "random field,spatial uncertainty,surf,surf library,surf framework", "license": "BSD 3-Clause", "maintainer": "", "maintainer_email": "", "name": "pySURF", "package_url": "https://pypi.org/project/pySURF/", "platform": "", "project_url": "https://pypi.org/project/pySURF/", "project_urls": { "Homepage": "https://github.com/NHERI-SimCenter/SURF" }, "release_url": "https://pypi.org/project/pySURF/0.2.4.1/", "requires_dist": null, "requires_python": ">=3.0", "summary": "Spatial Uncertainty Research Framework", "version": "0.2.4.1" }, "last_serial": 5966412, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "2c39dcac50defd8cc1248dedcf779eb8", "sha256": "72e170a19117094763fd1e310188600cc7984c0041e5c9180b2c4f3afc86aedf" }, "downloads": -1, "filename": "pySURF-0.2.1.tar.gz", "has_sig": false, "md5_digest": "2c39dcac50defd8cc1248dedcf779eb8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.0", "size": 8734, "upload_time": "2019-10-07T05:38:15", "url": "https://files.pythonhosted.org/packages/77/a6/67eba754caa465a0d754914eed81ce5985ce1b431c5cf9dd7c2e1e6d734d/pySURF-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "240b610d6f99a031e92562284a04111e", "sha256": "7d3332541bbb8bb447622314c3f642ab35dc7a3f1e133ecba74b20416b02ed75" }, "downloads": -1, "filename": "pySURF-0.2.2.tar.gz", "has_sig": false, "md5_digest": "240b610d6f99a031e92562284a04111e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.0", "size": 1915988, "upload_time": "2019-10-07T05:49:02", "url": "https://files.pythonhosted.org/packages/54/62/718807804901689b2cdb4eff90792513b9146b7457dbfca47846a0c0d99f/pySURF-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "cb60ce8cc23d00885129a126e38f86f6", "sha256": "8b1ad64432feaccfc8a54df0da8e5be82f8734adb11768658e9f6f58613374e0" }, "downloads": -1, "filename": "pySURF-0.2.3.tar.gz", "has_sig": false, "md5_digest": "cb60ce8cc23d00885129a126e38f86f6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.0", "size": 1916063, "upload_time": "2019-10-07T06:05:32", "url": "https://files.pythonhosted.org/packages/0e/57/722d210db4a802c33a84815f0eab5d89c78568754b122b9cfacfb15becc1/pySURF-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "bae42dcd08d73f92b86b5778c9cf0f7f", "sha256": "3d5cee2eaba33c0e8b99c3f820f22cc35a97bd9565b0fe087124e07f2fc1dcb1" }, "downloads": -1, "filename": "pySURF-0.2.4.tar.gz", "has_sig": false, "md5_digest": "bae42dcd08d73f92b86b5778c9cf0f7f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.0", "size": 1916060, "upload_time": "2019-10-07T06:20:08", "url": "https://files.pythonhosted.org/packages/c6/a3/86e5c5e36501acf87250782f61186ca4913570c5f4fd78de77eda31a92c2/pySURF-0.2.4.tar.gz" } ], "0.2.4.1": [ { "comment_text": "", "digests": { "md5": "6b5220e2f260b47299bad229d6c25ca3", "sha256": "975ded798abc1f571611f29faa121ff3c88276e46f382ecdb0bc938dba196d22" }, "downloads": -1, "filename": "pySURF-0.2.4.1.tar.gz", "has_sig": false, "md5_digest": "6b5220e2f260b47299bad229d6c25ca3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.0", "size": 9125, "upload_time": "2019-10-13T05:17:07", "url": "https://files.pythonhosted.org/packages/f5/15/ab7ded458a66e1fc4534f572e3dd3eab95d24d874bc125aa532de97879b1/pySURF-0.2.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6b5220e2f260b47299bad229d6c25ca3", "sha256": "975ded798abc1f571611f29faa121ff3c88276e46f382ecdb0bc938dba196d22" }, "downloads": -1, "filename": "pySURF-0.2.4.1.tar.gz", "has_sig": false, "md5_digest": "6b5220e2f260b47299bad229d6c25ca3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.0", "size": 9125, "upload_time": "2019-10-13T05:17:07", "url": "https://files.pythonhosted.org/packages/f5/15/ab7ded458a66e1fc4534f572e3dd3eab95d24d874bc125aa532de97879b1/pySURF-0.2.4.1.tar.gz" } ] }