1. dispatch_group_enter(group); dispatch_group_leave(group); dispatch_group_notify(group1, queue1,block); 在这种组合下,根据任务是同步.异步又分为两种,这两种组合的执行代码与运行结果如下: 第一种:同步任务时 dispatch_queue_t queue2 = dispatch_queue_create("dispatchGroupMethod2.queue2", DISPATCH…
1. private lazy var session: URLSession = { let configuration = URLSessionConfiguration.default configuration.waitsForConnectivity = true return URLSession(configuration: configuration, delegate: self, delegateQueue: nil) }() Listing 3 Using a delega…
1. https://github.com/andrewgodwin/channels-examples/ https://channels.readthedocs.io/en/latest/…
1.cnpm sudo chown -R $USER /usr/local  npm install -g cnpm --registry=https://registry.npm.taobao.org http://www.runoob.com/vue2/vue-install.html 2..vue proxyTable vue高亮 https://blog.csdn.net/u012028371/article/details/73018294…
1.authentication https://www.django-rest-framework.org/api-guide/authentication/#authentication 2.django-rest-framework-jwt curl -X POST -H "Content-Type: application/json" -d '{"username":"admin","password":"p…
1.cs253 https://classroom.udacity.com/courses/cs253 webapp2 Install WebOb, Paste and webapp2¶ We need three libraries to use webapp2: WebOb, for Request and Response objects, Paste, for the development server, and webapp2 itself. Type this to install…
1.网易云课堂 深度学习工程师 点击进入课程地址(英文)(收费) 点击进入课程地址(中文)(免费) 第一门 神经网络和深度学习 第二门 改善神经网络 第三门 结构化机器学习项目 第四门 卷积神经网络 第五门 序列模型 2.神经网络与深度学习反向传播算法的四项基本公式 (1). 输出层错误量的等式:δLj=∂C∂aLjσ′(zLj)δjL=∂C∂ajLσ′(zjL) (2).依据下一层错误量δl+1δl+1获取错误量δlδl的等式:δl=((wl+1)Tδl+1)⊙σ′(zl)δl=((wl+1)…
1.neural-style https://github.com/anishathalye/neural-style wget http://www.vlfeat.org/matconvnet/models/beta16/imagenet-vgg-verydeep-19.mat python neural_style.py --content examples/1-content.jpg --styles examples/1-style.jpg --output examples/myout…
1.100-Days-Of-ML-Code https://github.com/Avik-Jain/100-Days-Of-ML-Code https://github.com/llSourcell/Learn_Machine_Learning_in_3_Months 2.practical-machine-learning-with-python https://github.com/dipanjanS/practical-machine-learning-with-python Use K…
1. # 克隆自聚宽文章:https://www.joinquant.com/post/2709 # 标题:基于SVM的机器学习策略 # 作者:走得很慢的海龟 import math import numpy as np #from sklearn import preprocessing, cross_validation, svm from sklearn import preprocessing, svm import matplotlib.pyplot as plt from matpl…
1.apachecn视频(机器学习实战) https://github.com/apachecn/AiLearning https://space.bilibili.com/97678687/#/channel/detail?cid=22486 2.李宏毅 https://www.bilibili.com/video/av20544709/?p=3 http://speech.ee.ntu.edu.tw/~tlkagk/courses_ML17_2.html 3.文刀 神经网络 https://…
1.apachecn视频(机器学习实战) https://github.com/apachecn/AiLearning https://space.bilibili.com/97678687/#/channel/detail?cid=22486 2.莫烦 https://morvanzhou.github.io/tutorials/machine-learning/sklearn/2-2-general-pattern/ https://github.com/MorvanZhou/tutoria…
#------------------------------ 1. djangochinaorg项目 https://github.com/DjangoChinaOrg/Django-China-API https://github.com/DjangoChinaOrg/Django-China-FE 2.vue proxyTable proxyTable: { '/proxy': { target: 'http://localhost:8000', changeOrigin: true, p…
1.项目 https://github.com/mtianyan/VueDjangoFrameWorkShop virtualenv命令 virtualenv . virtualenv -p /anaconda3/bin/python3 shop02 cd shop02/ source bin/activate 630  which python 631   pip install -i https://pypi.tuna.tsinghua.edu.cn/simple  django==1.11…
1. export PATH="$PATH":/Applications/XAMPP/xamppfiles/bin/ sudo ln -s /Applications/XAMPP/xamppfiles/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib 更新20160318的node 3 18  2016 /Users/temp/Downloads/node-v4.4.0.pkg virtualenv命令 virtu…
转载请注明出处:http://www.cnblogs.com/xbinworld/p/4265530.html 这一篇是整个第五章的精华了,会重点介绍一下Neural Networks的训练方法——反向传播算法(backpropagation,BP),这个算法提出到现在近30年时间都没什么变化,可谓极其经典.也是deep learning的基石之一.还是老样子,下文基本是阅读笔记(句子翻译+自己理解),把书里的内容梳理一遍,也不为什么目的,记下来以后自己可以翻阅用. 5.2 Network Tr…
Linear regression SVM(support vector machines) Advantages: ·Effective in high dimensional spaces. ·Still effective in cases where number of dimensions is greater than the number of samples. ·Uses a subset of training points in the decision function (…
摘要:本文收纳了Python学习者经常使用的库和包,并介绍了Python使用中热门的问题. 01.Python 简介 什么是 Python 一种面向对象的高级动态可解释型脚本语言. Python 解释器一次读取一行代码,将其解释为低级机器语言 (如字节代码) 并执行它. 因此这种语言经常会引发运行错误. 为什么选择 Python (优势) Python 是当前最流行的语言,因为它更容易编码且具有很强的可解释性. Python 是一种面向对象的编程语言,也可用于编写一些功能代码. Python 是…
作者:Glowin链接:https://zhuanlan.zhihu.com/p/22881223来源:知乎著作权归作者所有.商业转载请联系作者获得授权,非商业转载请注明出处. 原文地址:Google Interview University 原文作者:John Washam 译文出自:掘金翻译计划 (翻译不易,欢迎 Star 支持) 译者:Aleen,Newton,bobmayuze,Jaeger,sqrthree 这是? 这是我为了从 web 开发者(自学.非计算机科学学位)蜕变至 Goog…
前言 gamma函数 0 整体把握LDA 1 gamma函数 beta分布 1 beta分布 2 Beta-Binomial 共轭 3 共轭先验分布 4 从beta分布推广到Dirichlet 分布 Dirichlet 分布 1 Dirichlet 分布 2 Dirichlet-Multinomial 共轭 主题模型LDA 1 各个基础模型 11 Unigram model 12 Mixture of unigrams model 2 PLSA模型 21 pLSA模型下生成文档 21 根据文档反…
通俗理解LDA主题模型 0 前言 印象中,最開始听说"LDA"这个名词,是缘于rickjin在2013年3月写的一个LDA科普系列,叫LDA数学八卦,我当时一直想看来着,记得还打印过一次,但不知是由于这篇文档的前序铺垫太长(如今才意识到这些"铺垫"都是深刻理解LDA 的基础,但假设没有人帮助刚開始学习的人提纲挈领.把握主次.理清思路,则非常easy陷入LDA的细枝末节之中),还是由于当中的数学推导细节太多,导致一直没有完整看完过. 2013年12月,在我组织的Mac…
Machine Learning for Developers Most developers these days have heard of machine learning, but when trying to find an 'easy' way into this technique, most people find themselves getting scared off by the abstractness of the concept of Machine Learnin…
About me In my spare time, I love learning new technologies and going to hackathons. Our hackathon project Pantrylogs using Artificial Intelligence was selected as one of the 10 Microsoft Imagine Cup UK finalists. I’m interested in learning more abou…
什么是TensorFlow? TensorFlow 是一个采用数据流图(data flow graphs),用于数值计算的开源软件库.节点(Nodes)在图中表示数学操作,图中的线(edges)则表示在节点间相互联系的多维数据数组,即张量(tensor).它灵活的架构让你可以在多种平台上展开计算,例如台式计算机中的一个或多个CPU(或GPU).服务器.移动设备等等.TensorFlow 最初由Google Brain 小组(隶属于Google机器智能研究机构)的研究员和工程师们开发出来,用于机器…
https://www.quora.com/How-do-I-learn-machine-learning-1?redirected_qid=6578644   How Can I Learn X? Learning Machine Learning Learning About Computer Science Educational Resources Advice Artificial Intelligence How-to Question Learning New Things Lea…
the main steps: 1. look at the big picture 2. get the data 3. discover and visualize the data to gain insights 4. prepare the data for machine learning algorithms 5. select a model and train it 6. fine-tune your model 7. present your solution 8. laun…
综述 我在全面剖析了自身的特质以后,针对于工程技术领域的经验丰富优势.科学研究领域的理论薄弱劣势.我制定了全面夯实科学研究理论基础的学习计划.全面提高效率抓大放小的精力分配原则. 执行成果 线性代数(包括矩阵LU分解.奇异值分解) - 完成 概率论 - 完成 梯度 - 完成 <层次分析法>和<集合论>两篇论文 - 针对数学建模 - 完成 <机器学习>周志华 - 已完成前三章 英语新闻听写 - 150分钟 - 完成 阅读<踏踏实实学英语>- 英语新闻听写的指导…
使用Keras编写GAN的入门 GAN Time: 2017-5-31 前言 代码 reference 前言 主要参考了网页[1]的教程,同时主要算法来自Ian J. Goodfellow 的论文,算法如下: gan 代码 %matplotlib inline import numpy as np import pandas as pd from keras.models import Model from keras.layers import Dense, Activation, Input…
如果你在北美计算机求职,各种算法培训课对你肯定不陌生.其中有一门课叫做System Design的课,更是人人皆知. 系统设计传送门: Grokking the System Design Interview​ (可惜这门不能免费,后面会再次提到) 我个人是educative的重度用户,刷题学习中,从这里学习到了很多内容.我个人觉得很有帮助的课程有: 穷码农:别再埋头刷LeetCode之:北美算法面试的题目分类,按类型和规律刷题,事半功倍​ 穷码农:三个月搞定FLAG等大公司算法面试:算法小白的…
导入 matplotlib 模块: import matplotlib 查看自己版本所支持的backends: print(matplotlib.rcsetup.all_backends) 返回信息: ['GTK3Agg', 'GTK3Cairo', 'MacOSX', 'nbAgg', 'Qt4Agg', 'Qt4Cairo', 'Qt5Agg', 'Qt5Cairo', 'TkAgg', 'TkCairo', 'WebAgg', 'WX', 'WXAgg', 'WXCairo', 'agg'…