Papers › ktrain: A Low-Code Library for Augmented Machine Learning

ktrain: A Low-Code Library for Augmented Machine Learning

19 Apr 2020arXiv:2004.10703archive 2025-07-28

Arun S. Maiya

We present ktrain, a low-code Python library that makes machine learning more accessible and easier to apply. As a wrapper to TensorFlow and many other libraries (e.g., transformers, scikit-learn, stellargraph), it is designed to make sophisticated, state-of-the-art machine learning models simple to build, train, inspect, and apply by both beginners and experienced practitioners. Featuring modules that support text data (e.g., text classification, sequence tagging, open-domain question-answering), vision data (e.g., image classification), graph data (e.g., node classification, link prediction), and tabular data, ktrain presents a simple unified interface enabling one to quickly solve a wide range of tasks in as little as three or four "commands" or lines of code.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2004.10703")

Code

Syntology Ran 0 of 16 code samples harvested from 3 repositories linked to this paper; 16 have no recorded run.

By repository: official repository: 10 samples from 1 repository, 0 ran; community (archive-listed): 6 samples from 2 repositories, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

amaiya/ktrain officialmentioned in papermentioned on GitHubtfApache-2.0 report
AnneDirkson/FuzzyBIO mentioned on GitHubBSD-3-Clause report
Vakihito/SentimentYoutube mentioned on GitHubtfMIT report
gregtozzi/deep_learning_celnav mentioned on GitHubtf report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 0 ran; 0 honoured the contract we drafted; 16 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

16unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

bn_drop_lin amaiya/ktrain/ktrain/models.py official repository unverified Apache-2.0 (permissive) · d1b3148b0dd94979 · report
calc_pr amaiya/ktrain/ktrain/text/models.py official repository unverified Apache-2.0 (permissive) · 738bc41e073f5b3e · report
calc_r amaiya/ktrain/ktrain/text/models.py official repository unverified Apache-2.0 (permissive) · 69a0c53d30354fa2 · report
get_default_optimizer amaiya/ktrain/ktrain/utils.py official repository unverified Apache-2.0 (permissive) · 5001d8db76a12c5d · report
graph_link_predictor amaiya/ktrain/ktrain/graph/models.py official repository unverified Apache-2.0 (permissive) · 0b73e2ecb02193e6 · report
graph_node_classifier amaiya/ktrain/ktrain/graph/models.py official repository unverified Apache-2.0 (permissive) · 3ab18e8bf72addb4 · report
is_ktrain_dataset amaiya/ktrain/ktrain/utils.py official repository unverified Apache-2.0 (permissive) · 4d757d2242837b26 · report
loss_fn_from_model amaiya/ktrain/ktrain/utils.py official repository unverified Apache-2.0 (permissive) · 2aa2f26504b22e81 · report
tabular_classifier amaiya/ktrain/ktrain/tabular/models.py official repository unverified Apache-2.0 (permissive) · 02d7dd5830f6012a · report
tabular_regression_model amaiya/ktrain/ktrain/tabular/models.py official repository unverified Apache-2.0 (permissive) · 908199ea5ec0d185 · report
average Vakihito/SentimentYoutube/SentimentYoutube/utils.py community (archive-listed) unverified MIT (permissive) · a546a84ed55f0567 · report
consent_values Vakihito/SentimentYoutube/SentimentYoutube/utils.py community (archive-listed) unverified MIT (permissive) · eac2c90e74cdf386 · report
get_bert_lex Vakihito/SentimentYoutube/SentimentYoutube/BertLex.py community (archive-listed) unverified MIT (permissive) · c7a8db5540f071a1 · report
get_bert_sent_features Vakihito/SentimentYoutube/SentimentYoutube/BertLex.py community (archive-listed) unverified MIT (permissive) · e64f0ee1bd42fbaf · report
load_obj AnneDirkson/FuzzyBIO/src/BERTforNERktrain.py community (archive-listed) unverified BSD-3-Clause (permissive) · 7623c86a08659fbe · report
prop_of_having_face Vakihito/SentimentYoutube/SentimentYoutube/utils.py community (archive-listed) unverified MIT (permissive) · 745a73e4dcbf8b2c · report

Tasks

BIG-bench Machine LearningClassificationGeneral ClassificationImage ClassificationLink PredictionNode ClassificationOpen-Domain Question AnsweringQuestion AnsweringText Classificationimage-classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections