自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(1)
  • 资源 (14)
  • 收藏
  • 关注

转载 django关于csrf防止跨站的ajax请求403处理

转载地址:http://blog.csdn.net/wjy397/article/details/49078099 django配置文件通过中间件开启CSRF(Cross-site request forgery跨站请求伪造) 默认开启 参考官方文档 django官方文档 正常请求 1.需要在views结尾传递context_instance=RequestContex

2017-02-08 16:45:06 176

machine learning with tensorflow 2018版英文版

The book is divided into three parts: ■ Part 1 starts by exploring what machine learning is and highlighting TensorFlow’s crucial role. Chapter 1 introduces the terminology and theory of machine learning, and chapter 2 tells you everything you need to know to begin using TensorFlow. ■ Part 2 covers fundamental algorithms that have withstood the test of time. Chapters 3–6 discuss regression, classification, clustering, and hidden Markov models, respectively. You’ll find these algorithms everywhere in the field of machine learning. ■ Part 3 unveils the true power of TensorFlow: neural networks. Chapters 7–12 introduce you to autoencoders, reinforcement learning, convolutional neural networks, recurrent neural networks, sequence-to-sequence models, and utility, respectively.

2018-05-09

go系统编程(英文版)

go语言系统编程,是英文版, What this book covers Chapter 1, Getting started with Go and Unix Systems Programming, starts by defining what systems programming is before talking about the advantages and the disadvantages of Go, the features of Go version 1.8, two handy Go tools named gofmt and godoc, as well as the various states of Unix processes. Chapter 2, Writing Programs in Go, helps you learn how to compile Go code and how to use the environment variables that Go supports, and understand how Go reads the command line arguments of a program. Then, we will talk about getting user input and output, which are fundamental tasks, show you how to define functions in Go, where the defer keyword is mentioned for the first time in this book and continue by discussing the data structures that Go offers using handy code examples. In the remaining sections of the chapter, we will discuss Go interfaces and random number generation. I am sure that you are going to enjoy this chapter! Chapter 3, Advanced Go Features, goes deeper and starts talking about some advanced Go features, including error handling, which is critical when developing systems software and error logging. Then it introduces you to pattern matching and regular expressions, Go Reflection, and talks about unsafe code. After that, it compares Go to other programming languages and presents two utilities, named dtrace(1) and strace(1), that allow you to see what happens behind the scenes when you execute a program. Lastly, it talks about how you can use the go tool to detect unreachable code and how to avoid some common Go mistakes. Chapter 4, Go Packages, Algorithms, and Data Structures, talks about algorithms and sorting in Go and about the sort.Slice() function, which requires Go version 1.8 or newer. Then it shows Go implementations of a linked list, a binary tree and a hash table. After that, it discusses Go packages and teaches you how to create and use your own Go packages. The last part of the chapter discusses Garbage collection in Go. Chapter 5, Files and Directories, is the first chapter of this book that deals with a systems programming topic, which is the handling of files, symbolic links, and directories. In this chapter, you will find Go implementations of the core functionality of Unix tools such as which(1), pwd(1), and find(1), but first you will learn how to use the flag package in order to parse the command-line arguments and options of a Go program. Additionally, you will learn how to delete, rename, and move files as well as how to traverse directory structures the Go way. The last part of this chapter implements a utility that creates a copy of all the directories of a directory structure! Chapter 6, File Input and Output, shows you how to read the contents of a file, how to change them, and how to write your own data to files! In this chapter, you will learn about the io package, the io.Writer and io.Reader interfaces, and the bufio package that is used for buffered input and output. You will also create Go versions of the cp(1), wc(1), and dd(1) utilities. Lastly, you will learn about sparse files, how to create sparse files in Go, how to read and write records from files, and how to lock files in Go. Chapter 7, Working with System Files, teaches you how to deal with Unix system files, which includes writing data to Unix log files, appending data to existing files, and altering the data of text files. In this chapter, you will also learn about the log and log/syslog standard Go packages, about Unix file permissions, and take your pattern matching and regular expressions knowledge even further using practical examples. You will also learn about finding the user ID of a user as well as the Unix groups a user belongs to. Lastly, you will discover how to work with dates and times in Go using the time package and how to create and rotate log files on your own. Chapter 8, Processes and Signals, begins by discussing the handling of Unix signals in Go with the help of the os/signal package by presenting three Go programs. Then it shows a Go program that can rotate its log files using signals and signal handling and another Go program that uses signals to present the progress of a file copy operation. This chapter will also teach you how to plot data in Go and how to implement Unix pipes in Go. Then it will implement the cat(1) utility in Go before briefly presenting the Go code of a Unix socket client. The last section of the chapter quickly discusses how you can program a Unix shell in Go. Chapter 9, Goroutines – Basic Features, discusses a very important Go topic, which is goroutines, by talking about how you can create goroutines and how you can synchronize them and wait for them to finish before ending a program. Then it talks about channels and pipelines, which help goroutines communicate and exchange data in a safe way. The last part of the chapter presents a version of the wc(1) utility that is implemented using goroutines. However, as goroutines is a big subject, the next chapter will continue talking about them. Chapter 10, Goroutines – Advanced Features, talks about more advanced topics related to goroutines and channels, including buffered channels, signal channels, nil channels, channels of channels, timeouts, and the select keyword. Then it discusses issues related to shared memory and mutexes before presenting two more Go versions of the wc(1) utility that use channels and shared memory. Lastly, this chapter will talk about race conditions and the GOMAXPROCS environment variable. Chapter 11, Writing Web Applications in Go, talks about developing web applications and web servers and clients in Go. Additionally, it talks about communicating with MongoDB and MySQL databases using Go code. Then, it illustrates how to use the html/template package, which is part of the Go standard library and allows you to generate HTML output using Go HTML template files. Lastly, it talks about reading and writing JSON data before presenting a utility that reads a number of web pages and returns the number of times a given keyword was found in those web pages. Chapter 12, Network Programming, discusses topics related to TCP/IP and its protocols using the net Go standard package. It shows you how to create TCP and UDP clients and servers, how to perform various types of DNS lookups, and how to use Wireshark to inspect network traffic. Additionally, it talks about developing RPC clients and servers in Go as well as developing a Unix socket server and a Unix socket client. As you will see, at the end of each chapter there are some exercises for you to do in order to gain more information about important Go packages and write your own Go programs. Please, try to do all the exercises of this book

2018-04-13

D3.js数据可视化实战手册.epub

第1章,D3入门指南,是D3.js预热。它涵盖了一些基本概念,诸如D3.js是什么,以及如何搭建一个适用于D3.js数据可视化程序的开发环境等。 第 2章,精挑细选,向你介绍了D3数字可视化中最基本的一项操作——选集。选集可以帮助读者定位页面上的元素。 第3章,与数据同行,探索了任何数据可视化程序中都会涉及的基础问题——如何通过程序构造、可视化效果展示数据。 第4章,张弛有“度”,介绍了数字可视化中非常重要的一个子领域。作为一个数字可视化的开发人员,如何将数据映射为可视化元素,是一个每天都要面对的问题,本章就此问题做了深入探索。 第5章,玩转坐标轴,介绍了坐标轴组件,以及基于笛卡尔坐标系的可视化程序的相关技术。 第6章,优雅变换,介绍了过渡相关的概念。“一图胜千言”正是对数字可视化的最好总结。这一章涵盖了D3库中过渡以及动画的相关概念。 第7章,图形之美,介绍了SVG相关的概念。SVG是一个广泛用于数字可视化程序的W3C(World Wide Web Consortium)标准。 第8章,图表美化,探索了数据可视化中最为人知的组件——图表。图表是定义良好的且易于理解的数据可视化展示方式。 第9章,井然有序,本章集中讲述D3的布局。D3的布局是一种算法,用于计算和生成元素的位置信息,这些元素可用于生成复杂又有趣的可视化程序。 第10章,可视化交互,本章集中讲述D3对可视化交互的支持,换句话说,即如何向你的可视化程序添加控制能力。 第 11 章,使用“原力”,介绍了D3 中又一神奇的功能——力学。力模拟是数字可视化程序中最炫的一项技术。 第12章,地图的奥秘,介绍了D3基本的地图可视化技术,以及如何在D3中实现一个全功能的可视化地图。 第13章,测试驱动,帮助你使用TDD的方式来实现可视化程序。

2018-01-30

Python for Data Analysis_ Data

Python for Data Analysis_ Data 第二版 英文版 Python3实现 代码部分有问题,格式不对,不要下载了,

2018-01-07

运筹学的思想方法及应用

运筹学的思想方法及应用,焦宝聪,主要是讲运筹学方面的东西

2017-11-16

Data_Visualization_with_Python_and_JavaScript.pdf

Data_Visualization_with_Python_and_JavaScript

2017-01-07

django1.9官方文档,英文版

django1.9官方文档,英文版

2016-12-17

python基础学习笔记

自己学习Python时记得笔记

2016-12-17

双足步行机器人DIY].[日]坂本范行.崔素莲.译

双足步行机器人DIY].[日]坂本范行.崔素莲.译

2016-10-29

算法设计技巧与分析_(沙特)阿苏外耶著.pdf

算法设计技巧与分析_(沙特)阿苏外耶著

2016-10-29

机器人控制系统的设计与MATLAB仿真(第4版.pdf )

机器人控制系统的设计与MATLAB仿真(第4版.pdf )

2016-10-29

Linux_shell脚本全面学习.pdf

Linux_shell脚本学习

2016-09-09

你不可不知的50个数学知识(英)Tony Crilly.pdf

数学方面的东西

2016-09-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除