原创 python實現K-means算法——以鳶尾花數據集爲例

import matplotlib.pyplot as plt from random import sample import numpy as np from sklearn.cluster import KMeans #from

原创 LeetCode算法題解——二進制求和問題

 題目:給你兩個二進制字符串,返回它們的和(用二進制表示)。輸入爲非空字符串且只包含數字1和0。 示例 1: 輸入: a = "11", b = "1" 輸出: "100" 示例 2: 輸入: a = "1010", b = "101

原创 論文詳讀:Chinese NER Using Lattice LSTM

這篇論文是18年發表在ACL上的論文,是18年基於字符的中文命名體識別的最好的模型。(19年IJCAI發表的CNN-Based Chinese NER with Lexicon Rethinking,是在這篇論文上做的改進,也可以看看)

原创 論文詳讀:LEMNA: Explaining Deep Learning based Security Applications

我以我ppt的內容順序介紹一下這篇論文,希望有錯誤的地方大家可以幫我指出嘻嘻 1、論文出處 論文名:LEMNA: Explaining Deep Learning based Security Applications 作者:Wenbo

原创 tensorboard執行時報錯

報錯: ImportError: Something is wrong with the numpy installation. While importing we detected an older version of numpy

原创 java淺拷貝和深拷貝的區別舉例

public class MyStack implements Cloneable{ privateArrayList<Object> list=new ArrayList<>(); publicMyStack

原创 如何調用局部內部類中的方法

內部類:將類寫在其他類的內部,可以寫在其他類的成員位置和局部位置局部內部類:將類寫在其他類的局部方法中例如public class outer { public void out(){ int i=2; class Inner{