找到约 10000 条结果
  • 【译】技能测试解决方案:Python中的数据科学(三)
    本文是译文,可以转载,但需注明出处,点击这里可以获取原文,有删减。本系列博文包含四篇文章:【译】技能测试解决方案:Python中的数据科学(一)——Q1-Q15【译】技能测试解决方案:Python中的数据科学(二)——Q16-Q30 【译】技能测试解决方案:Python中的数据科学(三)——Q31-Q45【译】技能测试解决方案:Python中的数...
    2017-04-25
  • [LeetCode] 538 100
    Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum of all keys greater than the original key in BST.
    2018-07-25
  • 拓端数据tecdat:R语言Bass模型进行销售预测
    原文链接:[链接]原文出处:拓端数据部落公众号BASS扩散模型BASS扩散模型三个参数:最终购买产品的总人数m; 创新系数p; 和模仿系数q, {代码...} 将M的起始值设置为记录的总销售额。 {代码...} {代码...} {代码...} {代码...}
    2021-06-18
  • 【laravel新手踩坑系列】laravel $kernel->handle 报错
    Q:我的项目启动时报错laravel $kernel->handle 怎么办 A:检查app/Http/Controller目录下 是否存在Controller.php。一般这种问题是误删了此文件导致。 Q:我该怎么解决? A:重新构建一个laravel项目 {代码...}
    2019-11-11
  • 变分预备知识 - KL散度
    首先看上式KL(p||q)的表达式,目标是希望KL(p||q)的值尽可能的小,但是在p(x)的值很大的情况下,为了保证KL(p||q)的值尽可能小,所以q(x)的值需要接近p(x),这样才能保证整个log(p(x)/q(x))整体变小。直观上来说,就是在p(x)的概率密度大的地方,它应该尽量与q(x)的概率密度保持一致,而在p(x)概率密度小的地方,p(x)和q(...
    2018-08-08
    1
  • 2. Q语言学习之路—基本数据类型: Atoms
    所有的数据都是通过最小单位atom构造。q语言中大部分数据类型与传统语言类似,但是多出了date和time相关的类型,用来加速时间序列运算。下表给出了q语言和几个传统语言数据类型的对比:
    2019-03-23
  • [LeetCode] Lowest Common Ancestor of a Binary Tree系列
    Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST. According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined between two nodes v and w as the lowest node in T. that has both v and w as descendants (where we allow a ...
    2017-05-16
  • [LeetCode] 911. Online Election
    In an election, the i-th vote was cast for persons[i] at time times[i].
    2018-12-05
  • Leetcode 2. Add Two Numbers
    这个比较简单,掌握好循环条件以及进位条件。 {代码...}
    2016-10-04
  • LeetCode[138] Copy List with Random Pointer
    A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy of the list
    2016-11-09
  • Leetcode 9. Palindrome Number
    这题好简单 {代码...}
    2016-10-13
  • 寄存器和移位寄存器分析与建模
    ⭐本专栏针对FPGA进行入门学习,从数电中常见的逻辑代数讲起,结合Verilog HDL语言学习与仿真,主要对组合逻辑电路与时序逻辑电路进行分析与设计,对状态机FSM进行剖析与建模。🔥文章和代码已归档至【Github仓库:hardware-tutorial】,需要的朋友们自取。或者关注公众号【AIShareLab】,回复 FPGA 也可获取。
    2023-02-05
  • 数据结构知否知否系列之 — 队列篇
    队列,英文 First In First Out 简称 FIFO,遵从先进先出的原则,与 “栈” 相反,在队列的尾部添加元素,在队列的头部删除元素,如果队列中没有元素就称为空队列。
    2019-08-25
  • Leetcode[4] Median of two sorted arrays
    There are two sorted arrays nums1 and nums2 of size m and nrespectively.Find the median of the two sorted arrays. The overall run timecomplexity should be O(log (m+n)). Example 1: nums1 = [1, 3] nums2 = [2] The median is 2.0 Example 2: nums1 = [1, 2] nums2 = [3, 4] The median is (2 + 3)/2 = 2.5
    2018-01-29
  • EC 421经济理算法
    Problem Set 1: OLS ReviewEC 421: Introduction to EconometricsDue before midnight on Sunday, 19 April 2020DUE Upload your answer on Canvas before midnight on Sunday, 19 April 2020.IMPORTANT You must submit two files:
    2023-02-23
  • 机器学习第十讲:异常值检测 → 发现身高填3米的不合理数据
    机器学习第十讲:异常值检测 → 发现身高填3米的不合理数据资料取自《零基础学机器学习》。查看总目录:学习大纲关于DeepSeek本地部署指南可以看下我之前写的文章:DeepSeek R1本地与线上满血版部署:超详细手把手指南一、幼儿园量身高游戏比喻 👦(类似材料4中的数据处理[4])假设幼儿园老师收集小朋友身高: {代码...} ...
    2025-05-14
  • HTTP 及TCP知识点问答
    Q1:session、token、cookies的区别A1:Q2:http与https的区别,https比http多了几次TPC连接A2:Q3:描述TCP三次握手与四次挥手过程A3:Q4:描述tcpdump+wireshark工具的使用A4:
    2021-03-28