![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
farell
失业中。。。。。。
展开
-
DFT
"""Train a neural network to implement the discrete Fourier transform"""from keras.models import Sequentialfrom keras.layers import Denseimport numpy as npimport matplotlib.pyplot as pltN = 32batch = 10000# Generate random input data and desire.原创 2021-03-26 14:25:38 · 145 阅读 · 1 评论 -
查找序列里最长的近似等差数列
查找序列里最长的近似等差数列def find_longest2(array,precision): array.sort() print(array) i = 0 arr_length = len(array) total_arr = [] while i < arr_length-1: j = i+1 candidate_arr = [] candidate_arr.append(array[i])原创 2021-03-26 10:35:24 · 179 阅读 · 0 评论