In [7]:
import robotreviewer
import os
import pickle
import tqdm
import numpy as np
# with open(os.path.join(robotreviewer.DATA_ROOT, "human/human_models.pck"), "rb") as f:
# human_models = pickle.load(f)
In [8]:
examples = [
{"ti":"""Comparison of the effectiveness and outcome of microendoscopic and open discectomy in patients suffering from lumbar disc herniation.
""",
"ab": """
BACKGROUND:
The purpose of our study is to compare the outcomes and effectiveness of MED vs OLD for lumbar disc herniation.
OBJECTIVES:
To identify the functional outcomes in terms of ODI score, VAS score complications in terms of intraoperative blood loss, use of general anesthesia, and morbidity in terms of total hospital stay between MED and OLD.
METHODS:
In our randomized prospective study we analyzed 60 patients with clinical signs and symptoms with 2 weeks of failed conservative treatment plus MRI or CT scan findings of lumbar disc herniation who underwent MED and OLD. The study was undertaken from November 2017 to January 2019 at Guangzhou Medical University of Second Affiliated Hospital, department of orthopedic surgery in spinal Unit, Guangzhou, China. Patients were divided into 2 groups i.e. who underwent MED group and the OLD group then we compared the preoperative and postoperative ODI and VAS score, duration of total hospital stay, intraoperative blood loss, and operation time.
RESULTS:
We evaluated 60 patients. Among them, 30 underwent MED (15 female and 15 male) and 30 underwent OLD 14 male 16 female. Surgical and anesthesia time was significantly shorter, blood loss and hospital stay were significantly reduced in patients having MED than OLD (<0.005). The improvement in the ODI in both groups was clinically significant and statistically (P < .005) at postoperative 1st day (with greater improvement in the MED group), at 6 weeks (P > .005), month 6 (>0.005) statistically no significant. The clinical improvement was similar in both groups. VAS and ODI scores improved significantly postoperatively in both groups. However, the MED group was superior to the OLD group with less time in bed, shorter operation time, less blood loss which is clinically and statistically significant (P < .05).
CONCLUSIONS:
The standard surgical treatment of lumbar disc herniation has been open discectomy but there has been a trend towards minimally invasive procedures. MED for lumbar spine disc herniation is a well-known but developing field, which is increasingly spreading in the last few years. The success rate of MED is about approximately 90%. Both methods are equally effective in relieving radicular pain. MED was superior in terms of total hospital stay, morbidity, and earlier return to work and anesthetic exposure, blood loss, intra-op time comparing to OLD. MED is a safe and effective alternative to conventional OLD for patients with lumbar disc herniation."""
},
{"ti": """Increased Cadmium Excretion Due to Oral Administration of Lactobacillus plantarum Strains by Regulating Enterohepatic Circulation in Mice.""",
"ab": """The heavy metal cadmium (Cd) is a contaminant widely distributed in the food chain. In the present study, 8-week oral administration of a probiotic strain, Lactobacillus plantarum CCFM8610, markedly decreased blood Cd levels in volunteers. Further animal study showed that three L. plantarum strains administered orally exhibited significantly different effects on the regulation of bile acid (BA) metabolism and Cd excretion in mice. Among the strains, L. plantarum CCFM8610 showed the most significant effects on enhancing hepatic BA synthesis, biliary glutathione output, and fecal BA excretion. Biliary Cd output and fecal Cd excretion were markedly increased after L. plantarum CCFM8610 administration, resulting in a marked reduction in tissue Cd levels. The regulation of BA homeostasis and Cd excretion was due to the suppression of the enterohepatic farnesoid X receptor-fibroblast growth factor 15 (FXR-FGF15) axis by L. plantarum CCFM8610 and could be abolished by treatment with the FXR agonist GW4064. The regulatory effects were also related to the gut microbiota, as antibiotic pretreatment reversed L. plantarum CCFM8610-induced effects in BA and Cd metabolism."""}
]
In [30]:
fields = ["ti", "ab"]
human_preds = []
for field in tqdm.tqdm(fields):
X = human_models["vecs"][field].transform((r[field] for r in examples))
human_preds.append(human_models["clfs"][field].predict(X))
human_preds = np.array(human_preds).T
human_ens_preds = list(map(lambda x: {"is_human": x}, human_models["ensembler"].predict(human_preds)))
In [31]:
human_ens_preds
Out[31]:
In [1]:
from robotreviewer.robots import human_robot
In [2]:
b = human_robot.HumanRobot()
In [6]:
b.api_annotate(examples)
Out[6]:
In [9]:
from robotreviewer.robots import human_robot
In [15]:
b = rct_robot.RCTRobot()
In [10]:
b = human_robot.HumanRobot()
In [21]:
b.api_annotate(examples)
Out[21]:
In [19]:
b.summary()
In [ ]: