Skip to content

Instantly share code, notes, and snippets.

We can't make this file beautiful and searchable because it's too large.
topic_id|num_related|title|abstract|relevant|topic_name
CD010339|3242144|Value of percutaneous transhepatic cholangioscopy (PTCS).|Since July 1975, percutaneous transhepatic biliary drainage (PTBD) has been performed in 533 cases, and since April 1977 we have developed percutaneous transhepatic cholangioscopy (PTCS) as a diagnostic and therapeutic endoscopical tool in 198 cases of malignant disease and 195 benign cases. After dilating the sinus tract of PTBD using a 15-Fr catheter about 2 weeks after PTBD, PTCS was carried out through the sinus tract. PTCS has diagnostic advantages: the lesion can be accurately diagnosed histologically and the extent of cancer in the biliary tract can be assessed by taking biopsy specimens before the operation. PTCS has been applied for cholangioscopic lithotripsy in 145 cases of gallstone disease. In 44 cases, the Nd-YAG laser and/or electrohydraulic shock wave has been used to break up the stones. The PTCS morbidity was 6% and mortality was 0.3%.|0|Endoscopic retrograde cho
We can't make this file beautiful and searchable because it's too large.
topic_id|num_related|title|abstract|relevant|topic_name
CD010339|3242144|Value of percutaneous transhepatic cholangioscopy (PTCS).|Since July 1975, percutaneous transhepatic biliary drainage (PTBD) has been performed in 533 cases, and since April 1977 we have developed percutaneous transhepatic cholangioscopy (PTCS) as a diagnostic and therapeutic endoscopical tool in 198 cases of malignant disease and 195 benign cases. After dilating the sinus tract of PTBD using a 15-Fr catheter about 2 weeks after PTBD, PTCS was carried out through the sinus tract. PTCS has diagnostic advantages: the lesion can be accurately diagnosed histologically and the extent of cancer in the biliary tract can be assessed by taking biopsy specimens before the operation. PTCS has been applied for cholangioscopic lithotripsy in 145 cases of gallstone disease. In 44 cases, the Nd-YAG laser and/or electrohydraulic shock wave has been used to break up the stones. The PTCS morbidity was 6% and mortality was 0.3%.|0|Endoscopic retrograde cho
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 5 in line 1.
topic_id|pid|title|abstract|rel|sr_title
CD010339|3242144|Value of percutaneous transhepatic cholangioscopy (PTCS).|Since July 1975, percutaneous transhepatic biliary drainage (PTBD) has been performed in 533 cases, and since April 1977 we have developed percutaneous transhepatic cholangioscopy (PTCS) as a diagnostic and therapeutic endoscopical tool in 198 cases of malignant disease and 195 benign cases. After dilating the sinus tract of PTBD using a 15-Fr catheter about 2 weeks after PTBD, PTCS was carried out through the sinus tract. PTCS has diagnostic advantages: the lesion can be accurately diagnosed histologically and the extent of cancer in the biliary tract can be assessed by taking biopsy specimens before the operation. PTCS has been applied for cholangioscopic lithotripsy in 145 cases of gallstone disease. In 44 cases, the Nd-YAG laser and/or electrohydraulic shock wave has been used to break up the stones. The PTCS morbidity was 6% and mortality was 0.3%.|0|Endoscopic retrograde cholangiopancreato
This file has been truncated, but you can view the full file.
{"article_link": "https://www.huffingtonpost.com/entry/versace-black-code_us_5861fbefe4b0de3a08f600d5", "headline": "former versace store clerk sues over secret 'black code' for minority shoppers", "is_sarcastic": 0}
{"article_link": "https://www.huffingtonpost.com/entry/roseanne-revival-review_us_5ab3a497e4b054d118e04365", "headline": "the 'roseanne' revival catches up to our thorny political mood, for better and worse", "is_sarcastic": 0}
{"article_link": "https://local.theonion.com/mom-starting-to-fear-son-s-web-series-closest-thing-she-1819576697", "headline": "mom starting to fear son's web series closest thing she will have to grandchild", "is_sarcastic": 1}
{"article_link": "https://politics.theonion.com/boehner-just-wants-wife-to-listen-not-come-up-with-alt-1819574302", "headline": "boehner just wants wife to listen, not come up with alternative debt-reduction ideas", "is_sarcastic": 1}
{"article_link": "https://www.huffingtonpost.com/entry/jk-rowling-wishes-snape-happy-birthday_us_569117c4e4b0cad15e6
@beayancan
beayancan / svd.py
Created August 22, 2019 07:52
Sklearn SVD
from sklearn.decomposition import TruncatedSVD
from sklearn.random_projection import sparse_random_matrix
X = sparse_random_matrix(100, 100, density=0.01, random_state=42)
svd = TruncatedSVD(n_components=5, n_iter=7, random_state=42)
svd.fit(X)
TruncatedSVD(algorithm='randomized', n_components=5, n_iter=7, random_state=42, tol=0.0)
print(svd.explained_variance_ratio_)
print(svd.explained_variance_ratio_.sum())
print(svd.singular_values_)
{{'documento': 'd00','palabra': 'air', 'count': 110},
{'documento': 'd00','palabra': 'aliens', 'count': 88},
{'documento': 'd00','palabra': 'amnesty', 'count': 87},
{'documento': 'd00','palabra': 'arms', 'count': 43},
{'documento': 'd00','palabra': 'blood', 'count': 107},
{'documento': 'd00','palabra': 'booster', 'count': 123},
{'documento': 'd00','palabra': 'defense', 'count': 70},
{'documento': 'd00','palabra': 'drug', 'count': 15},
{'documento': 'd00','palabra': 'enviromental', 'count': 21},
{'documento': 'd00','palabra': 'health', 'count': 68},
symbol date price
S&P 500 Jan 2000 1394.46
S&P 500 Feb 2000 1366.42
S&P 500 Mar 2000 1498.58
S&P 500 Apr 2000 1452.43
S&P 500 May 2000 1420.6
S&P 500 Jun 2000 1454.6
S&P 500 Jul 2000 1430.83
S&P 500 Aug 2000 1517.68
S&P 500 Sep 2000 1436.51
key value date
grupo1 377 04/23/12
grupo2 22 04/23/12
grupo3 556 04/23/12
grupo1 132 04/24/12
grupo2 59 04/24/12
grupo3 462 04/24/12
grupo1 235 04/25/12
grupo2 186 04/25/12
grupo3 191 04/25/12
{
"name": "flare",
"children": [{
"name": "analytics",
"children": [{
"name": "cluster",
"children": [{
"name": "AgglomerativeCluster",
"size": 3938
},
grupo x y
I 10 8.04
I 8 6.95
I 13 7.58
I 9 8.81
I 11 8.33
I 14 9.96
I 6 7.24
I 4 4.26
I 12 10.84