ICode9

精准搜索请尝试: 精确搜索
  • Meta-Learning Is All You Need2020-06-04 19:02:49

    Meta-Learning Is All You Need 2020-06-04 18:57:21 Source:https://medium.com/cracking-the-data-science-interview/meta-learning-is-all-you-need-3bd0bafdf289    Neural networks have been highly influential in the past decades in the machine learning commun

  • python爬虫的进阶用法2020-04-07 11:07:12

    应用场景: 01: 去爬虫微信公众号文章,已知requests的执行方式实际就是执行里面request方法, 我们进行重写request方法的init,加入我们需要的字段: 如  callback --获取response执行回调函数     need_proxy --是否需要代理    fail_time --执行get获取url的失败次数   time

  • E 旗鼓相当的对手2020-03-30 12:04:26

    题:https://ac.nowcoder.com/acm/contest/4853/E 题意:对于一对点(u,v)要是dis(u,v)==k,就会对这对点的LCA产生a[x]+a[y]的贡献(LCA!=u&&LCA!=v) 分析:简单的dsu,把每个点当作LCA去统计子树深度个数,经过LCA的路径就是深度之和;    对于每个点u深度对应要达成k的深度要为2*deep[LCA]-deep[u]+k;

  • 【译】Vertical-Align: All You Need To Know2020-03-21 11:58:55

    原文地址:Vertical-Align: All You Need To Know Often I need to vertically align elements side by side. 我经常需要并排地垂直对齐元素。 CSS offers some possibilities. Sometimes I solve it with float, sometimes with position: absolute, sometimes even dirty by man

  • A1018 Public Bike Management (30分)2020-03-03 16:59:15

    一、技术总结 这一题,题意的理解十分关键,主要有两个点,在花费时间最少的前提下,一个是在去的路上进行调整,能够带的单车最少优先;如果还是有多条,那么带回单车最少的优先。说明只能在去的路上对车站的车进行调整,回的时候不能够进行调整,试想如果回的时候也可以调整,那么就不会出现第二个

  • I Think I Need a Houseboat2020-02-29 19:54:25

    Fred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating the land, he learned that the state of Louisiana is actually shrinking by 50 square miles each year, due to erosion caused by the Mississip

  • PAT (Basic Level) 1020 月饼2020-02-28 21:39:39

    题意 给出各种月饼的库存和总价,问给定总量下的月饼最大收益? 思路 按性价比贪心呗。结构体排序题,注意比较函数用乘法代替除法。 代码 #include <bits/stdc++.h> using namespace std; struct cake { double num, val; }; int main() { ios::sync_with_stdio(false); cin.t

  • MET-Meteors2020-02-28 13:39:20

    题目链接:MET-Meteors 显然这个东西具有二分性。 但是一个一个二分太慢了,我们观察可以发现 可以整体二分,于是整体二分一下即可,不过比较卡常。 AC代码: #pragma GCC optimize("-Ofast","-funroll-all-loops") #include<bits/stdc++.h> //#define int long long using namespa

  • Attention is all you need论文翻译2020-02-24 21:09:48

    一、写在前面 前段时间为了重新学习一遍BERT,顺便把Transformer的论文Attention is all you need翻译了一遍,在个人水平基础上进行的翻译,存在翻译不妥的请指正。查看原论文请点击。 二、译文 以下是翻译部分 摘要 目前主流的序列转换模型的编码器、解码器都是基于复杂的CNN和R

  • 【HDU5840】This world need more Zhu2020-02-02 22:58:16

    题目描述 As we all know, Zhu is the most powerful man. He has the infinite power to protest the world. We need more men like Zhu! In Duoladuo, this place is like a tree. There are \(n\) vertices and \(n−1\) edges. And the root is 1. Each vertex can reache

  • [Leetcode]659.Split Array into Consecutive Subsequences2020-01-31 16:06:57

    链接:LeetCode659 输入一个按升序排序的整数数组(可能包含重复数字),你需要将它们分割成几个子序列,其中每个子序列至少包含三个连续整数。返回你是否能做出这样的分割? 示例 1: 输入: \([1,2,3,3,4,5]\) 输出: True 解释: 你可以分割出这样两个连续子序列 : 1, 2, 3 3, 4, 5 相关标签:贪

  • 深度学习必懂的13种概率分布2020-01-24 12:02:12

    转载自:AI开发者 本文1373字,建议阅读4分钟。 本文介绍最常见的基本概率分布教程,大多数和使用 python 库进行深度学习有关。   概率分布概述   共轭意味着它有共轭分布的关系。 在贝叶斯概率论中,如果后验分布 p(θx)与先验概率分布 p(θ)在同一概率分布族中,则先验和后验称为共轭

  • Transformer、多头自注意力机制论文笔记:Attention is all you need2020-01-22 10:04:19

    论文原文 论文中心思想:提出了一种只使用注意力机制的模型,模型中没有结合任何RNN或CNN,通过encoder--decoder的模型实现出了一种强力有效的模型。   引言与背景 在注意力机制诞生后,诞生了多种改进的模型,但是这些模型一般都是把注意力机制与循环神经网络结合(包括一些改良的,如LSTM

  • 【PAT B1020】 月饼2020-01-13 13:08:57

    月饼是中国人在中秋佳节时吃的一种传统食品,不同地区有许多不同风味的月饼。现给定所有种类月饼的库存量、总售价、以及市场的最大需求量,请你计算可以获得的最大收益是多少。 注意:销售时允许取出一部分库存。样例给出的情形是这样的:假如我们有3种月饼,其库存量分别为18、15、

  • 翻译Attention Is All You Need2020-01-06 15:03:09

    Attention Is All You Need Abstract The dominant sequence transduction models are based on complex recurrent or convolutional neural networks that include an encoder and a decoder. 显性序列转换模型基于复杂的递归或卷积神经网络,包括编码器和解码器。 The best perfo

  • Codeforces Round #611 (Div. 3)2019-12-29 10:03:37

    原题面:https://codeforces.com/contest/1283 A.Minutes Before the New Year 题目大意:给定时间,问距离零点零分还有多久? 分析:注意一下特判0,0就好了。 代码: t = input() t = int(t) for i in range(t): h, m = input().split() h = int(h) m = int(m) if h == 0 an

  • Linsheng-Portable Car Air Compressor: What Benefits?2019-12-24 17:02:19

    The concept of compact, portable car air compressors running efficiently is a bit surprising, whether it's inside or around the house, in a car, or at other jobs, you can take it with you and use it at any time. Emergency tire repair Whether you�

  • Paper | Attention Is All You Need2019-11-30 23:01:56

    目录 1. 动机详述 2. 相关工作 3. 转换器结构 3.1 注意力机制详解 3.1.1 放缩的点积注意力机制 3.1.2 多头注意力机制 3.2 全连接网络 3.3 编码位置信息 【这是一篇4000+引用的文章。博主虽然不做NLP,但还是很感兴趣。当然,博主对本文的理解和翻译非常生涩】 动机:注意力机制

  • mysql学习系列2019-11-27 18:56:44

    Linux&shell系列文章:http://www.cnblogs.com/f-ck-need-u/p/7048359.html 网站架构系列文章:http://www.cnblogs.com/f-ck-need-u/p/7576137.html MySQL/MariaDB系列文章:https://www.cnblogs.com/f-ck-need-u/p/7586194.html Perl系列:https://www.cnblogs.com/f-ck-need-u/p/951

  • The First Blog2019-11-17 11:51:00

    出来了许久,经历和学习了很多,感觉像是头脑爆发,终于决定入驻个园子来记录下。 后续会将本人在工作、学习和生活中的点点滴滴记录下来,一是对自己的一个总结和沉淀,一是对后来人做一个引导和启发。 Life is short,you need study!

  • 使用RPA处理SAP系统清账操作中选表格指定的行2019-11-13 10:07:41

    SAP 系统中进行某些清账操作时,要求只选中金额汇总(黄色的行)为负数和 0 的项目进行清账,效果如图所示:     SAP 中有一个方法可以选中指定的行: 1 import sys 2 import win32com.client 3 4 SapGuiAuto = win32com.client.GetObject("SAPGUI") 5 application = SapGuiAuto.Get

  • PHP数组_5_3_数组处理函数及其应用_4_数组和变量间的转换函数2019-11-10 09:02:50

    以下为学习孔祥盛主编的《PHP编程基础与实例教程》(第二版)所做的笔记。   数组和变量间的转换函数 1. list() 语言结构 程序: 1 <?php 2 $info = array('coffee','brown','caffeine'); 3 list($drink,$color,$power) = $info; 4 echo "$drink is $color and $power makes it spec

  • A1070 Mooncake (25 分)2019-11-09 12:01:36

    一、参考代码 #include<cstdio> #include<algorithm> #include<iostream> using namespace std; struct P{ double need;//库存 double value;//总价 double s_mon;//单价 }; bool cmp(P a, P b){ return a.s_mon > b.s_mon; } int main(){ i

  • Vehicle routing with Optaplanner graph-theory2019-10-31 19:01:11

    Vehicle routing with Optaplanner - Stack Overflow https://stackoverflow.com/questions/22285252/vehicle-routing-with-optaplanner graph theory - OptaPlanner VRP edge weights need to use actual GPS data instead of Euclidean distance - Stack Overflowhttps://s

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有