Skip to main content
Kian
================
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)

Source distribution for kian 0.2.0
File Size Uploaded
kian-0.2.0.tar.gz 12.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for kian 0.2.0
File Interpreter ABI Platform
kian-0.2.0-py3.4.egg Legacy Egg format - - Details
kian-0.2.0-py2.7.egg Legacy Egg format - - Details

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

Release history Release notifications | RSS feed

This release

0.2.0 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page