A.I, Data and Software Engineering

CategoryProject

A gentle demonstrate to Tensorflow’s graph and session

petamind

When starting Tensorflow (TF), many may find that the result cannot be obtained immediately. Rather, you must use a session or interactive session. TensorFlow uses a dataflow graph to represent your computation in terms of the dependencies between individual operations. This leads to a low-level programming model in which you first define the dataflow graph, then create a...

Convolutional Neural Network with CIFAR and Tensorflow (example)

petamind

Fig 1: A CNN sequence to classify handwritten digits (src: medium) In this article, we assume that you already understand the basic concepts of a convolutional neural network (CNN), e.g. one-hot coding, convolution, pooling, fully-connected layer, activation functions. If you are totally new to these terms, please find and read our other articles. The problem We will use Tensorflow to build a...

The evolution of Trust – Fun game theory

petamind

Intro Figure 1: Game theory: Prisoners’ dilemma Game theory is the study of mathematical models of strategic interaction between rational decision-makers. It has applications in all fields of social science, as well as in logic and computer science [1]. In many AI application, e.g. multi-agent systems, this theory plays a very important role in agent’ reasoning. Please note that this...

Determine the sizes of python objects

petamind

When working with data structures, you may want to analyse the space complexity of a particular object. For example, you want to compare the size of a sparse matrix and a dense matrix which represent the same data. With python, “Just use sys.getsizeof” is not a complete answer. It does work for builtin objects directly, but it does not account for what those objects may...

ETL (Extract, Transform, and Load) Process Quick note

petamind

You could have been playing with this concept so many times without knowing the name of ETL. Let have a quick concept review using MovieLens automation as examples. Concept According to Wikipedia: Extract, Transform and Load (ETL) refers to a process in database usage and especially in data warehousing that: Extracts data from homogeneous or heterogeneous data sources Transforms the data for...

A.I, Data and Software Engineering

PetaMinds focuses on developing the coolest topics in data science, A.I, and programming, and make them so digestible for everyone to learn and create amazing applications in a short time.

Categories