================
Kian is the neural network designed to serve Wikidata.
This library in current shape adds statements to items based on categories in Wikis (Wikipedia, Wikisource, etc.)
In order to add statements or parse articles you need to have pywikibot-core installed.
How to run this code for a run on classifying humans based on Persian Wikipedia:
::
python scripts/initiate_model.py -n faHuman -w fawiki -p P31 -v Q5
python scripts/train_model.py -n faHuman
python scripts/evaluate.py -n faHuman #To see AUC and fitness parameters
python scripts/parser.py -lang:fa -newpages:100 -n faHuman
Bottlenecks of speed in Kian are:
1) Loading category links from Wikipedia. Since it caches them training different models from one wiki tends to work better
2) Training the model. Since it's an ANN and ANNs are resource consuming to train, this may take a while but depends on Wiki you are working with.
Dependency injection
--------------------
Kian is usable for any kind of training, you can simply inject the training set and get the result:
.. code-block:: python
>>> from kian import Kian
>>> bot = Kian(training_set=the_training_set)
>>> bot.train()
>>> bot.theta
>>> bot.finalize(path='path_to_save_results')
Authors
=======
Amir Sarabadani:
* Ladsgroup<AT>gmail.com
Metadata
Release files for kian 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kian-0.2.0.tar.gz | 12.7 kB | Without provenance | Details for kian-0.2.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kian-0.2.0-py3.4.egg | Legacy Egg format | - | - | Details for kian-0.2.0-py3.4.egg |
| kian-0.2.0-py2.7.egg | Legacy Egg format | - | - | Details for kian-0.2.0-py2.7.egg |
Total release size: 127.2 kB
Release files / kian-0.2.0.tar.gz
| Download URL | kian-0.2.0.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c46450cd9546430ff4282ca79cd786403b58f9ce306c18a592f492c8bfbe879
|
|
BLAKE2b-256 checksum How to use checksums |
326c9b5c900a738c72336961b6dfe97290f6a777e384aa23f805cb068b337621
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / kian-0.2.0-py3.4.egg
| Download URL | kian-0.2.0-py3.4.egg |
|---|---|
| Size | 57.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
7b624b3042f9c2aa31143fb784127b8ea0aa9b44a3ff864938f8a20d73c8eb76
|
|
BLAKE2b-256 checksum How to use checksums |
a73010aa2c76b0b55cd08d90b00abfd89ad4f5630a56bd5b813eba3e665ade35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / kian-0.2.0-py2.7.egg
| Download URL | kian-0.2.0-py2.7.egg |
|---|---|
| Size | 56.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
8f7f2b09d01d2583701833b28117c5f4021aac6c300ee5651dcef3667cd8b339
|
|
BLAKE2b-256 checksum How to use checksums |
6367375ab4dd749bfefeb6af80cbce7975f9f14c4a3101005e754160cab7e35f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for kian 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.