上一页 1 2 3 4 5 6 7 8 ··· 33 下一页
摘要: -1% --> +1.0101% -2% --> +2.0408% -3% --> +3.0928% -4% --> +4.1667% -5% --> +5.2632% -6% --> +6.3830% -7% --> +7.5269% -8% --> +8.6957% -9% --> +9.890 阅读全文
posted @ 2022-12-30 20:22 Please Call me 小强 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-06-03 23:18 Please Call me 小强 阅读(58) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_41800366/article/details/86583789 根据这篇文章,根据自己的理解,实际应用了一下梯度下降 #coding:utf-8 import numpy as np w = 2 b = 2 lr = 0.01 # 学习率 not 阅读全文
posted @ 2022-06-03 16:43 Please Call me 小强 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 强化学习就是评价学习,这个和深度学习有啥区别? 我个人理解就是深度学习需要对一个一组特征设置标签, 然后反复训练模型,是这个模型尽量接近 一坨特征数据等于标签。 而强化学习是对一坨特征,模型刚开始不知道标签是具体是啥,随便输出一个值y就行,然后我们实现一个奖励函数,对这个输出值打一个分, 分数越高, 阅读全文
posted @ 2022-05-15 01:35 Please Call me 小强 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 1 class NewPromise extends Promise{ 2 constructor(fn){ 3 4 const fn2 = function(resolve, reject) { 5 const reject2 = (err) => { 6 setTimeout(() => {re 阅读全文
posted @ 2022-04-29 02:25 Please Call me 小强 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 1 int width, height; 2 glfwGetFramebufferSize(window, &width, &height); 3 const float ratio = width / (float) height; 4 5 glViewport(0, 0, width, heig 阅读全文
posted @ 2022-04-25 14:15 Please Call me 小强 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 之前搜罗了一下信息,最后锁定了用glfw。 官网地址: https://www.glfw.org/ git地址:https://github.com/glfw/glfw.git git仓库里编译好的,直接拿来用就好了 第二步就是查找例子: #define GLAD_GL_IMPLEMENTATION 阅读全文
posted @ 2022-04-22 22:57 Please Call me 小强 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 一直在搜索怎么在mac电脑上用xcode学习openGL。无奈苹果官方在mac osx10.14已经弃用openGL了. 搜索到的信息整理如下: glut: OpenGL Utility Toolkit的缩小, 用于隐藏不同窗口系统API的复杂性。已经停止维护了,相当古老,作者不允许有人对它进行改版 阅读全文
posted @ 2022-04-22 21:58 Please Call me 小强 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1 for ( 2 var e = require("node-uuid"), 3 t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", 4 r = new Array(128), 5 i = 0; 6 i < 阅读全文
posted @ 2022-04-20 21:51 Please Call me 小强 阅读(908) 评论(0) 推荐(0) 编辑
摘要: getVisibleOrigin vec2(0,0) getViewportRect 真实屏幕分辨率 height: 2778 width: 1284 x: 0 y: 0 getVisibleSize 或者 cc.winSize GL在真实屏幕中的大小 height: 1622.6635514018 阅读全文
posted @ 2022-04-07 10:57 Please Call me 小强 阅读(198) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 33 下一页