code stringlengths 3 6.57k |
|---|
unittest.skipIf(os.name == 'nt', "Don't run on Windows") |
test_makePlot(self) |
UtilsTest.getTestRunPath() |
open(str(outDataPath) |
json.load(f) |
ControlDozor(inData={}) |
UtilsTest.getTestImageDirPath() |
as_posix() |
controlDozor.makePlot(dataCollectionId, outData, workingDirectory) |
DzswmorningspiderSpider(scrapy.Spider) |
range(len(paperId_list) |
range(1, 76) |
str(paperId_list[j]) |
str(i) |
str(i) |
parse(self, response) |
str(response.url) |
strip() |
split("questionNum=") |
str(response.url) |
strip() |
split("field=") |
split("&") |
response.xpath(".//span[@class='red']//text() |
extract() |
list(knowledgeTwo) |
response.xpath(".//span[@class='shisi_text']/img[last() |
extract() |
re.findall('\((.*?) |
response.xpath(".//script//text() |
extract() |
split(',') |
join(response.xpath(".//table/tr[2]/td/span[@class='shisi_text']//text() |
extract() |
join(response.xpath(".//table/tr[5]/td/span[@class='shisi_text']//text() |
extract() |
split() |
join(response.xpath(".//table/tr[7]/td/span[@class='shisi_text']//text() |
extract() |
split() |
join(response.xpath(".//table/tr[9]/td/span[@class='shisi_text']//text() |
extract() |
split() |
join(response.xpath(".//table/tr[11]/td/span[@class='shisi_text']//text() |
extract() |
split() |
len(dataimg) |
len(dataimg) |
len(dataimg) |
len(dataimg) |
dzswMorningItem() |
scrapy.Request(url, callback=self.parse_detail, dont_filter=True, meta={'item': item, 'field': field, 'questionNum': questionNum, 'knowledgeOne': knowledgeOne, 'knowledgeTwo': knowledgeTwo}) |
parse_detail(self, response) |
response.xpath(".//td/span[@class='shisi_text']//text() |
extract() |
strip() |
response.xpath(".//table/tr[3]/td//text() |
extract() |
join(answerAnalysis[3:len(answerAnalysis) |
decoupling_regularization_prepare(graph, sigma_square,lambda_input) |
Z(for row sum) |
Z_prime(for col sum) |
np.array(nx.adjacency_matrix(graph) |
todense() |
np.sum(A, axis=1) |
np.diag(d) |
len(D) |
way(19) |
np.divide(sigma_square,d) |
np.diag(Sigma_square) |
np.dot(A,inv(Sigma) |
np.ones(n) |
np.diag(lambda_diag) |
np.sum(W, axis=0) |
np.sum(W, axis=1) |
np.diag(w_col_sum) |
np.diag(w_row_sum) |
np.dot(np.dot(W,inv(Z_prime) |
np.transpose(W) |
return (A_tilde) |
HYPHENS.replace('-', '') |
strip('|') |
replace('||', '') |
format(ALPHA_LOWER, ALPHA_UPPER) |
format(a=ALPHA) |
format(a=ALPHA, q=QUOTES) |
format(a=ALPHA) |
format(a=ALPHA) |
format(a=ALPHA, q=QUOTES) |
Copyright (c) |
import (absolute_import, division, print_function) |
ModuleDocFragment(object) |
C(sops) |
C(--aws-profile) |
C(AWS_ACCESS_KEY_ID) |
C(AWS_SECRET_ACCESS_KEY) |
C(AWS_SESSION_TOKEN) |
C(--config) |
C(--enable-local-keyservice) |
C(protocol://address) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.