登录
首页 » python » 快速迭代收缩阈值算法

快速迭代收缩阈值算法

于 2023-07-20 发布 文件大小:1.49 kB
0 91
下载积分: 2 下载次数: 1

代码说明:

Python实现的FISTA(Fast Iterative Shrinkage Thresholding Algorithm)算法,用于求解l1优化问题,可用于求解稀疏表达、压缩感知等问题。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • test1
    说明:  训练一个深度学习的循环神经网络,可实现获取公开数据集并进行训练,框架为Pytorch(Training a deep learning circular neural network can achieve the acquisition and training of open data sets, and the framework is Pytorch)
    2019-05-28 23:05:09下载
    积分:1
  • python爬虫小程序
    说明:  用python编的爬虫小程序,希望大家喜欢,谢谢大家!(python internet reptile book)
    2020-06-22 20:20:01下载
    积分:1
  • 告白树(基于turtle)
    【实例简介】python 画表白树,树叶上可以写上心爱的人的名字,适用于表白场景
    2021-06-02 00:31:40下载
    积分:1
  • 卷积神经网络识别调制信号星座图
    利用tensorflow构建了一个三层的卷积神经网络识别星座图的调制方式。数据源由matlab生成,存储为301*301的图片格式。在训练50次左右准确率可以达到99%以上
    2022-08-07 16:43:41下载
    积分:1
  • airfoilprep
    一种用于风力机设计和性能校核的翼型气动数据预处理,包括panel插值,全周插值,3D修正等。使用python语言 (Airfoil data preprocessing for wind turbine design and performance verification using python language)
    2015-06-09 14:41:21下载
    积分:1
  • TicTacToe
    用python语言编写的井字棋游戏程序,实现人机对战(Tic Tac Toe game program written in Python)
    2021-03-29 14:39:11下载
    积分:1
  • 俄罗斯方块强化学习实验报告
    一、俄罗斯方块DQN算法实验报告1. 网络结构图1 DQN网络结构2. 超参数 GAMMA = 0.99  # decay rate of past observations 设置增强学习更新公式中的累计折扣因子 OBSERVE = 500.  # timesteps to observe before training 设置观察期的迭代次数 EXPLORE = 500.  # frames over which to anneal epsilon 设置探索期的观察次数 FINAL_EPSILON = 0.002  # final value of epsilon 设置ε的最终最小值 INITIAL_EPSILON = 10.0  # starting value of epsilon 设置ε的初始值 REPLAY_MEMORY = 5900  # number of previous transitions to remember 设置replay memory的容量 BATCH = 32  # size of mini batch 设置每次网络参数更新世用的样本数目 K = 1  # only select an action every Kth frame, repeat prev for others,设置几帧图像进行一次动作, # K越大让控制台输出的速度变慢,游戏画面速度变快,机器人动作的速度变越迟缓。ACTIONS = 6  # number of valid actions 游戏动作数3.实验结果训练前期的self.score分数很低150左右,EPSILON=1.0,Q_MAX= 2.061341e-02:图2 EPSILON=1.0设置超参数EPSILON=0.05在1000步迭代之后:EPSILON固定在0.04999999999999416  Q_MAX = -1.163765e-01Self.score有明显的提升,但是之后无论训练多久都没有明显提升了。图3 EPSILON=0.05设置超参数EPSILON= 0.002在1001步迭代之后:EPSILON固定在0.000004 Q_MAX = 1.728995e 02Self.score可以轻松达到200以上。图4 EPSILON=0.000004设置超参数EPSILON= 0.000001在1001步迭代之后:EPSILON固定在-0.001998997999987482  Q_MAX = 1.899879e 03Self.score可以轻松达到200以上。图5 EPSILON=-0.002 【核心代码】用DQN来玩俄罗斯方块 tetrix_DQN ├── Wrapped Game Code│   └── tetris_fun.py├── deep_q_network.py├── logs_tetris│   ├── hidden.txt│   └── readout.txt└── saved_networks    ├── tetris-dqn-10000.data-00000-of-00001    ├── tetris-dqn-10000.index    ├── tetris-dqn-10000.meta    └── tetris-dqn-316600003 directories, 8 files
    2020-12-01下载
    积分:1
  • 从Python开始学编程
    本书以Python为样本,不仅介绍了编程的基本概念,还着重讲解了 编程语言的范式(面向过程、面向对象、面向函数),并把编程语言的 范式糅在Python中,让读者不仅学会Python,未来在学习其他编程语言 时也变得更加容易。(aking Python as a sample, this book not only introduces the basic concepts of programming, but also focuses on the programming language paradigm (process-oriented, object-oriented, function-oriented), and incorporates the programming language paradigm into Python, so that readers can not only learn Python, but also become easier to learn other programming languages in the future.)
    2020-06-18 03:00:02下载
    积分:1
  • 22.LDA_代码
    说明:  LDA分解,机器学习的高级知识,里面包含具体的LDA源码分析(LDA decomposition, advanced knowledge of machine learning, which contains specific LDA source code analysis)
    2019-01-02 19:49:57下载
    积分:1
  • guanjiejiaodu
    获取nao机器人全身各个部位的关节角度值,并且以矩阵的形式输出(Get nao robot joint angle values for each part of the body, and output in the form of a matrix)
    2021-01-02 16:38:57下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载