上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: 情况描述: CREATE TRIGGER newcuster AFTER INSERT ON products FOR EACH ROW SELECT 'customer added'; 出现错误Not allowed to return a result set from a trigger 查找 阅读全文
posted @ 2020-09-14 17:47 诗和远方* 阅读(786) 评论(0) 推荐(0) 编辑
摘要: 1.下载mysql_scripts.zip 包含两个文件,create.sql和populate.sql,下载链接:https://forta.com/books/0672327120/ 2.登陆MySQL 3.创建crashcourse表 4.选择需要进行操作的crashcourse表 5.执行c 阅读全文
posted @ 2020-09-04 00:48 诗和远方* 阅读(398) 评论(0) 推荐(0) 编辑
摘要: C++代码: #include<iostream>#include<unordered_set>#include<string>using::std::unordered_set;using::std::string;using::std::max; class Solution{public: u 阅读全文
posted @ 2020-08-30 11:00 诗和远方* 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Softmax函数详解与推导 一、softmax函数 softmax用于多分类过程中,它将多个神经元的输出,映射到(0,1)区间内,可以看成概率来理解,从而来进行多分类! 假设我们有一个数组,V,Vi表示V中的第i个元素,那么这个元素的softmax值就是 更形象的如下图表示: softmax直白来 阅读全文
posted @ 2020-08-30 08:57 诗和远方* 阅读(4322) 评论(0) 推荐(0) 编辑
摘要: 转载于:https://blog.csdn.net/bitcarmanlee/article/details/51154481 从线性分类器谈起 给定一些数据集合,他们分别属于两个不同的类别。例如对于广告数据来说,是典型的二分类问题,一般将被点击的数据称为正样本,没被点击的数据称为负样本。现在我们要 阅读全文
posted @ 2020-08-29 22:57 诗和远方* 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 代码: #include <iostream>#include <stack>using::std::stack; class Cqueue{public: stack<int>stack1,stack2; Cqueue(){};//构造函数; void appendTail(int val) { 阅读全文
posted @ 2020-08-29 18:33 诗和远方* 阅读(435) 评论(0) 推荐(0) 编辑
摘要: 代码: #include <iostream>#include <string.h> #define N 3 typedef struct Queue{ int a[N]; int head,tail;}Queue; void show(Queue* p){ for(int i=0;i<N;i++) 阅读全文
posted @ 2020-08-29 15:48 诗和远方* 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 【转载于https://www.cnblogs.com/yhlboke-1992/p/9292877.html】 memset 函数是内存赋值函数,用来给某一块内存空间进行赋值的; 包含在<string.h>头文件中,可以用它对一片内存空间逐字节进行初始化; 原型为 : void *memset(v 阅读全文
posted @ 2020-08-28 16:26 诗和远方* 阅读(1185) 评论(0) 推荐(0) 编辑
摘要: 两种方法:1.两遍哈希表;2.暴力解法 1,两遍哈希表方法代码: class Solution_1 {public: unordered_map<int,int> map; vector<int> twoSum1(vector<int>&nums1,int target1){ for(int i=0 阅读全文
posted @ 2020-08-27 19:51 诗和远方* 阅读(1211) 评论(0) 推荐(0) 编辑
摘要: 代码: #include <iostream>#include <unordered_map> using std::unordered_map;struct DLinkedNode{ int key,value; DLinkedNode* next; DLinkedNode* prev; DLin 阅读全文
posted @ 2020-08-27 16:18 诗和远方* 阅读(662) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页