repo_name
stringlengths
6
77
path
stringlengths
8
215
license
stringclasses
15 values
cells
list
types
list
eduardojvieira/Curso-Python-MEC-UCV
4-matplotlib.ipynb
mit
[ "<table width=\"100%\" border=\"0\">\n <tr> \n <td><img src=\"./images/ing.png\" alt=\"\" align=\"left\" /></td>\n <td><img src=\"./images/ucv.png\" alt=\"\" align=\"center\" height=\"100\" width=\"100\" /></td>\n <td><img src=\"./images/mec.png\" alt=\"\" align=\"right\"/></td>\n </tr>\n</table>\n\n<br>\n<...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
jpn--/larch
book/example/legacy/301_itin_mnl.ipynb
gpl-3.0
[ "301: Itinerary Choice using MNL", "import pandas as pd\nimport larch\nlarch.__version__", "This example is an itinerary choice model built using the example\nitinerary choice dataset included with Larch. We'll begin by loading\nthat example data.", "from larch.data_warehouse import example_file\nitin = pd.r...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
Parisson/TimeSide
docs/ipynb/01_Timeside_API.ipynb
agpl-3.0
[ "%pylab inline\nimport matplotlib.pylab as pylab\npylab.rcParams['figure.figsize'] = 16, 8 # that's default image size for this interactive session", "TimeSide API\nTimeside API is based on different core processing unit called processors :\n\nDecoders (timeside.api.IDecoder) that enables to decode a giving audi...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
google/eng-edu
ml/cc/prework/zh-CN/tensorflow_programming_concepts.ipynb
apache-2.0
[ "Copyright 2017 Google LLC.", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to i...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
jasdumas/jasdumas.github.io
post_data/final_project_jasmine_dumas.ipynb
mit
[ "Final Project\nJasmine Dumas (1523905)\nCSC 478: Programming Machine Learning Applications - Autumn 2016\nDue: Tuesday, November 22, 2016\n\nFinal Project Objective:\n\nAnalyze Lending Club's issued loans: https://www.kaggle.com/wendykan/lending-club-loan-data\n\nData Analysis Tasks:\n\nSupervised Learning: Classi...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
rdhyee/nypl50
rebuild_travis_on_repos.ipynb
apache-2.0
[ "(2016.01.12) I think this notebook is about pushing ahead on getting the following in place. In one commit, I'd to be able to:\n\nadd travis.deploy.api_key.txt\nincrease patch version number\ngit commit with appropriate message\ngit tag\ngit push", "from __future__ import print_function\n\nimport os\nimport js...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
LSSTC-DSFP/LSSTC-DSFP-Sessions
Sessions/Session04/Day0/TooBriefMachLearn.ipynb
mit
[ "Introduction to Machine Learning:\nExamples of Unsupervised and Supervised Machine-Learning Algorithms\nVersion 0.1\nBroadly speaking, machine-learning methods constitute a diverse collection of data-driven algorithms designed to classify/characterize/analyze sources in multi-dimensional spaces. The topics and stu...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
mrphyja/bioinfo-intro-python
bioinformatics_intro_python.ipynb
mit
[ "%matplotlib inline\n\nfrom pprint import pprint\nimport random\n\nimport numpy as np\nimport matplotlib.pyplot as plt\nfrom IPython.display import YouTubeVideo", "The Source Code of Life: Using Python to Explore Our DNA\n\nResearchers just found the gene responsible for mistakenly thinking we've found the gene f...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "cod...
IanHawke/maths-with-python
05-classes-oop.ipynb
mit
[ "Classes and Object Oriented Programming\nWe have looked at functions which take input and return output (or do things to the input). However, sometimes it is useful to think about objects first rather than the actions applied to them.\nThink about a polynomial, such as the cubic\n$$ p(x) = 12 - 14 x + 2 x^3. $$\n...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
adukic/nd101
autoencoder/Convolutional_Autoencoder_Solution.ipynb
mit
[ "Convolutional Autoencoder\nSticking with the MNIST dataset, let's improve our autoencoder's performance using convolutional layers. Again, loading modules and the data.", "%matplotlib inline\n\nimport numpy as np\nimport tensorflow as tf\nimport matplotlib.pyplot as plt\n\nfrom tensorflow.examples.tutorials.mnis...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
tpin3694/tpin3694.github.io
python/pandas_selecting_rows_on_conditions.ipynb
mit
[ "Title: Selecting Pandas DataFrame Rows Based On Conditions\nSlug: pandas_selecting_rows_on_conditions\nSummary: Selecting Pandas DataFrame Rows Based On Conditions\nDate: 2016-05-01 12:00\nCategory: Python\nTags: Data Wrangling\nAuthors: Chris Albon \nPreliminaries", "# Import modules\nimport pandas as pd\nimpo...
[ "markdown", "code", "markdown", "code", "markdown", "code" ]
DominikDitoIvosevic/Uni
STRUCE/2018/SU-2018-LAB02-0036477171.ipynb
mit
[ "Sveučilište u Zagrebu\nFakultet elektrotehnike i računarstva \nStrojno učenje 2018/2019\nhttp://www.fer.unizg.hr/predmet/su\n\nLaboratorijska vježba 2: Linearni diskriminativni modeli\nVerzija: 1.2\nZadnji put ažurirano: 26. listopada 2018.\n(c) 2015-2018 Jan Šnajder, Domagoj Alagić \nObjavljeno: 26. listopada 2...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
LSSTC-DSFP/LSSTC-DSFP-Sessions
Sessions/Session04/Day0/TooBriefMLSolutions.ipynb
mit
[ "Introduction to Machine Learning:\nExamples of Unsupervised and Supervised Machine-Learning Algorithms\nVersion 0.1\nBroadly speaking, machine-learning methods constitute a diverse collection of data-driven algorithms designed to classify/characterize/analyze sources in multi-dimensional spaces. The topics and stu...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
imatge-upc/activitynet-2016-cvprw
notebooks/16 Visualization of Results.ipynb
mit
[ "Generate some validation videos random, download them from the server and then use them to visualize the results.", "import random\nimport os\nimport numpy as np\nfrom work.dataset.activitynet import ActivityNetDataset\n\ndataset = ActivityNetDataset(\n videos_path='../dataset/videos.json',\n labels_path='...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
mercybenzaquen/foundations-homework
databases_hw/db04/Homework_4.ipynb
mit
[ "Homework #4\nThese problem sets focus on list comprehensions, string operations and regular expressions.\nProblem set #1: List slices and list comprehensions\nLet's start with some data. The following cell contains a string with comma-separated integers, assigned to a variable called numbers_str:", "numbers_str ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
hbjornoy/DataAnalysis
Backup (not final delivery)/Homework 1.ipynb
apache-2.0
[ "Table of Contents\n<p><div class=\"lev1\"><a href=\"#Task-1.-Compiling-Ebola-Data\"><span class=\"toc-item-num\">Task 1.&nbsp;&nbsp;</span>Compiling Ebola Data</a></div>\n <div class=\"lev1\"><a href=\"#Task-2.-RNA-Sequences\"><span class=\"toc-item-num\">Task 2.&nbsp;&nbsp;</span>RNA Sequences</a></div>\n <div cl...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
lmoresi/UoM-VIEPS-Intro-to-Python
Notebooks/Introduction/2 - Introduction to ipython.ipynb
mit
[ "ipython\nipython is an interactive version of the python interpreter. It provides a number of extras which are helpful when writing code. ipython code is almost always python code, and the differences are generally only important when editing a code in a live (interactive) environment. \nThe jupyter notebook is a ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
joshnsolomon/phys202-2015-work
assignments/assignment04/MatplotlibExercises.ipynb
mit
[ "Visualization 1: Matplotlib Basics Exercises", "%matplotlib inline\nimport matplotlib.pyplot as plt\nimport numpy as np", "Scatter plots\nLearn how to use Matplotlib's plt.scatter function to make a 2d scatter plot.\n\nGenerate random data using np.random.randn.\nStyle the markers (color, size, shape, alpha) a...
[ "markdown", "code", "markdown", "code", "markdown", "code" ]
ghvn7777/ghvn7777.github.io
content/fluent_python/15_with.ipynb
apache-2.0
[ "本章讨论其他语言不常见的流程控制,用户可能会忽略这些特性:\n\nwith 语句和上下文管理器\nfor while 和 try 语句的 else 子句\n\nwith 语句会设置一个临时的上下文,交给上下文管理器对象控制,并负责清理上下文。这么做能避免错误并减少样板代码,因此 API 更安全,更易于使用。除了自动关闭文件之外,with 块还有很多用途\nelse 子句和 with 没关系,不过这两个都内容比较短,所以放到了一个逻辑\n先做这个,再做那个: if 之外的 else 块\nelse 子句不仅能在 if 语句中使用,还能在 for,while,try 语句中使用\nelse 子句行为如下:\nfor: 仅当 f...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
pucdata/pythonclub
sessions/09-numba_cython/Faster_computations.ipynb
gpl-3.0
[ "Prerequisites\nIn order to run these examples, it is recommended to use gcc as the default compiler, with OpenMP installed.\nNumba and Cython can be installed easily with conda:\nconda install numba\nconda install cython\nThe include path of the NumPy C header files might have to be added to the .bashrc (Linux) or...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
calroc/joypy
docs/4. Replacing Functions in the Dictionary.ipynb
gpl-3.0
[ "Preamble", "from notebook_preamble import D, J, V", "A long trace", "V('[23 18] average')", "Replacing sum and size with \"compiled\" versions.\nBoth sum and size are catamorphisms, they each convert a sequence to a single value.", "J('[sum] help')\n\nJ('[size] help')", "We can use \"compiled\" version...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
mne-tools/mne-tools.github.io
0.13/_downloads/plot_linear_model_patterns.ipynb
bsd-3-clause
[ "%matplotlib inline", "Linear classifier on sensor data with plot patterns and filters\nDecoding, a.k.a MVPA or supervised machine learning applied to MEG and EEG\ndata in sensor space. Fit a linear classifier with the LinearModel object\nproviding topographical patterns which are more neurophysiologically\ninter...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
picklecai/OMOOC2py
_src/exercise/day1.ipynb
mit
[ "1. _ builtin _ 模块\n1.1 apply:使用元组或字典中的参数调用函数\n\nPython 允许你实时地创建函数参数列表. 只要把所有的参数放入一个元组中,然后通过内建的 apply 函数调用函数.", "def function(a,b):\n print a, b\n\napply(function, (\"wheather\", \"Canada?\"))\n\napply(function, (1, 3+5))", "效果等同于:", "function(\"wheather\", \"Canada?\")\n\nfunction(1, 3+5)", "那为什么要使用app...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
cathalmccabe/PYNQ
boards/Pynq-Z2/logictools/notebooks/boolean_generator.ipynb
bsd-3-clause
[ "Boolean Generator\nThis notebook will show how to use the boolean generator to generate a boolean combinational function. The function that is implemented is a 2-input XOR.\nStep 1: Download the logictools overlay", "from pynq.overlays.logictools import LogicToolsOverlay\n\nlogictools_olay = LogicToolsOverlay('l...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
amccaugh/phidl
docs/tutorials/quickstart.ipynb
mit
[ "Quick start\nPHIDL allows you to create complex designs from simple shapes, and can output the result as GDSII files. The basic element of PHIDL is the Device, which is just a GDS cell with some additional functionality (for those unfamiliar with GDS designs, it can be thought of as a blank area to which you can a...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
catalystcomputing/DSIoT-Python-sessions
Session2/code/01 Working with text.ipynb
apache-2.0
[ "Working with text\nSample from http://scikit-learn.org/stable/tutorial/text_analytics/working_with_text_data.html\nThe data set is '20 newsgroups dataset' a dataset used for testing machine learning accuracy described at:\n20 newsgroups dataset website.\nWe will be using this data to show scikit learn.\nTo make th...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
metpy/MetPy
v1.0/_downloads/f1c8c5b9729cd7164037ec8618030966/upperair_declarative.ipynb
bsd-3-clause
[ "%matplotlib inline", "Upper Air Analysis using Declarative Syntax\nThe MetPy declarative syntax allows for a simplified interface to creating common\nmeteorological analyses including upper air observation plots.", "from datetime import datetime\n\nimport pandas as pd\n\nfrom metpy.cbook import get_test_data\n...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
drwalshaw/sc-python
01-analysing-data.ipynb
mit
[ "analysing tabular data", "import numpy\n\nnumpy.loadtxt\n\nnumpy.loadtxt(fname='data/weather-01.csv' delimiter = ',')\n\nnumpy.loadtxt(fname='data/weather-01.csv'delimiter=',')\n\nnumpy.loadtxt(fname='data/weather-01.csv',delimiter=',')", "variables", "weight_kg=55\n\nprint (weight_kg)\n\nprint('weight in po...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
ethen8181/machine-learning
deep_learning/softmax_tensorflow.ipynb
mit
[ "<h1>Table of Contents<span class=\"tocSkip\"></span></h1>\n<div class=\"toc\"><ul class=\"toc-item\"><li><span><a href=\"#Tensorflow\" data-toc-modified-id=\"Tensorflow-1\"><span class=\"toc-item-num\">1&nbsp;&nbsp;</span>Tensorflow</a></span><ul class=\"toc-item\"><li><span><a href=\"#Hello-World\" data-toc-modif...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
kkhenriquez/python-for-data-science
Week-8-NLP-Databases/Working with Databases.ipynb
mit
[ "Access a Database with Python - Iris Dataset\nThe Iris dataset is a popular dataset especially in the Machine Learning community, it is a set of features of 50 Iris flowers and their classification into 3 species.\nIt is often used to introduce classification Machine Learning algorithms.\nFirst let's download the...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
molgor/spystats
notebooks/Sandboxes/TensorFlow/GPFlow_examples.ipynb
bsd-2-clause
[ "%matplotlib inline\nimport sys\nsys.path.append('/apps')\nimport django\ndjango.setup()\nfrom drivers.graph_models import TreeNode, Order, Family, graph, pickNode\nfrom traversals.strategies import sumTrees, UniformRandomSampleForest", "GPFlow first approximation", "## Import modules\nimport numpy as np\nimpor...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "cod...
mne-tools/mne-tools.github.io
0.14/_downloads/plot_evoked_topomap_delayed_ssp.ipynb
bsd-3-clause
[ "%matplotlib inline", "Create topographic ERF maps in delayed SSP mode\nThis script shows how to apply SSP projectors delayed, that is,\nat the evoked stage. This is particularly useful to support decisions\nrelated to the trade-off between denoising and preserving signal.\nIn this example we demonstrate how to u...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
ajgpitch/qutip-notebooks
examples/qip-processor-DJ-algorithm.ipynb
lgpl-3.0
[ "Running the Deutsch–Jozsa algorithm on the noisy device simulator\nAuthor: Boxi Li (etamin1201@gmail.com)\nIn this example, we demonstrate how to simulate simple quantum algorithms on a qauntum hardware with QuTiP. The simulators are defined in the class Processor(and its sub-classes). Processor represents a gener...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
Kuwamai/probrobo_note
monte_calro_localization/notebook_demo.ipynb
mit
[ "Notebook Demo\n文章と式で説明してもわかりにくいので図を添えます。\nまずは色々設定します。", "%matplotlib inline\nimport numpy as np\nimport math, random # 計算用、乱数の生成用ライブラリ\nimport matplotlib.pyplot as plt # 描画用ライブラリ\n\nclass Landmarks:\n def __init__(self, array):\n self.positions = array # array = [[1個めの星のx座標, 1個めの星のy座標],...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
iRipVanWinkle/ml
Data Science UA - September 2017/Lecture 05 - Modeling Techniques and Regression/Linear_Regression.ipynb
mit
[ "Introduction to Linear Regression\nAdapted from Chapter 3 of An Introduction to Statistical Learning\nPredictive modeling, using a data samples to make predictions about unobserved or future events, is a common data analytics task. Predictive modeling is considered to be a form of machine learning.\nLinear regress...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
brettavedisian/phys202-2015-work
assignments/assignment11/OptimizationEx01.ipynb
mit
[ "Optimization Exercise 1\nImports", "%matplotlib inline\nimport matplotlib.pyplot as plt\nimport numpy as np\nimport scipy.optimize as opt", "Hat potential\nThe following potential is often used in Physics and other fields to describe symmetry breaking and is often known as the \"hat potential\":\n$$ V(x) = -a ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
Mdround/fastai-deeplearning1
deeplearning1/nbs/lesson5.ipynb
apache-2.0
[ "from theano.sandbox import cuda\n\n%matplotlib inline\nimport utils #; reload(utils)\nfrom utils import *\nfrom __future__ import division, print_function\nimport pickle\nimport utils_MDR\n\nmodel_path = 'data/imdb/models/'", "MDR: and needs by GPU-fan code, too...", "import utils_MDR\nfrom utils_MDR import *"...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "cod...
dereneaton/ipyrad
testdocs/analysis/cookbook-pca-empirical.ipynb
gpl-3.0
[ "<h1><span style=\"color:gray\">ipyrad-analysis toolkit:</span> Dimensionality reduction</h1>\n\nThe pca tool can be used to implement a number of dimensionality reduction methods on SNP data (PCA, t-SNE, UMAP) and to filter and/or impute missing data in genotype matrices to reduce the effects of missing data. \nLo...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
patrick-kidger/diffrax
examples/symbolic_regression.ipynb
apache-2.0
[ "Symbolic Regression\nThis example combines neural differential equations with regularised evolution to discover the equations\n$\\frac{\\mathrm{d} x}{\\mathrm{d} t}(t) = \\frac{y(t)}{1 + y(t)}$\n$\\frac{\\mathrm{d} y}{\\mathrm{d} t}(t) = \\frac{-x(t)}{1 + x(t)}$\ndirectly from data.\nReferences:\nThis example appe...
[ "markdown", "code", "markdown", "code", "markdown", "code" ]
monicathieu/cu-psych-r-tutorial
public/tutorials/python/1_r2python-translation/3_controlFlow.ipynb
mit
[ "Control Flow\nGoals of this lesson\nStudents will learn:\n\nHow to use if/else and for loops in python\nHow to indent code correctly in python\n\nIndenting in python\n\nPython, unlike R, is strict about indentation! \nIndentations in python often have bearing on the order in which they are executed, and switching ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
ckemere/CloudShuffles
score_bayes_parallel-dask.ipynb
gpl-3.0
[ "Score multi-session events using the replay score from Davidson et al.", "import numpy as np\nimport os\nimport pandas as pd\nimport warnings\n\nimport nelpy as nel\n\nwarnings.filterwarnings(\"ignore\")", "Load experimental data", "datadirs = ['/Users/ckemere/Development/Data/Buzsaki']\n\nfileroot = next( (...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
pycroscopy/pycroscopy
jupyter_notebooks/AFM_simulations/IntroductionToSimulations/IntroToAFMSimulations.ipynb
mit
[ "Introduction to dynamic AFM simulations\nContent under Creative Commons Attribution license CC-BY 4.0 version,\nEnrique A. López-Guerra.\nPurpose of the notebook: show an application of numerical methods to simulate the dynamics of a probe in atomic force microscopy.\nRequirements to take the best advantage of thi...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
minxuancao/shogun
doc/ipython-notebooks/multiclass/KNN.ipynb
gpl-3.0
[ "K-Nearest Neighbors (KNN)\nby Chiyuan Zhang and S&ouml;ren Sonnenburg\nThis notebook illustrates the <a href=\"http://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm\">K-Nearest Neighbors</a> (KNN) algorithm on the USPS digit recognition dataset in Shogun. Further, the effect of <a href=\"http://en.wikipedia.o...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
chengsoonong/crowdastro
notebooks/56_nonlinear_astro_features.ipynb
mit
[ "Nonlinear Astro Features\nThis notebook examines whether $w_1 - w_2$ and $w_2 - w_3$ are good features. There are indications that these may be correlated with whether galaxies contain AGNs. It also looks at whether the fluxes are more useful than the magnitudes, i.e., should we exponentiate the magnitudes.", "i...
[ "markdown", "code", "markdown", "code", "markdown", "code" ]
wzxiong/DAVIS-Machine-Learning
labs/lab1-soln.ipynb
mit
[ "Lab 1: Nearest Neighbor Regression and Overfitting\nThis is based on the notebook file 01 in Aurélien Geron's github page", "# Import the necessary packages\nimport numpy as np\nimport pandas as pd\nimport matplotlib.pyplot as plt\nfrom sklearn.model_selection import LeaveOneOut\nfrom sklearn import linear_model...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
jakerylandwilliams/partitioner
tests/partitioner_examples.ipynb
apache-2.0
[ "Partitioner examples\nThis is a jupyter notebook with a few vignettes that present some of the Python partitioner package's functionality.\nNote: Cleaning of text and determination of clauses occurs in the partitionText method. Because of this, it is unwise to pass large, uncleaned pieces of text as 'clauses' di...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
ekaakurniawan/3nb
Equations/Dose-Response Relations/Dose-Response Relations.ipynb
gpl-3.0
[ "Part of Neural Network Notebook (3nb) project.\n\nCopyright (C) 2014 Eka A. Kurniawan\neka.a.kurniawan(ta)gmail(tod)com\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the L...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
peterfig/keras-deep-learning-course
.ipynb_checkpoints/TextModels-checkpoint.ipynb
mit
[ "Text Models with Keras\nDense vector word embeddings\nA dense vector word embedding means we represent words with number-full numerical vectors-- most components are nonzero. This is in contrast to sparse vector, or bag-of-word embeddings, which have very high-dimensional vectors (the size of the vocabulary) yet...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
pedrosiracusa/pedrosiracusa.github.io
_notebooks/construindo-redes-sociais-com-dados-de-colecoes-biologicas.ipynb
mit
[ "Construindo redes sociais com dados de coleções biológicas\nEm um artigo anterior fiz uma breve caracterização das redes sociais por trás do Herbário da UnB, mostrando uma nova perspectiva de aplicação para dados de coleções biológicas. Tal abordagem consiste em derivar interações sociais de colaboração entre cole...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
cloudera/ibis
docs/source/tutorial/03-Expressions-Lazy-Mode-Logging.ipynb
apache-2.0
[ "Expressions, lazy mode and logging queries\nSo far, we have seen Ibis in interactive mode. Interactive mode (also known as eager mode) makes Ibis return the\nresults of an operation immediately.\nIn most cases, instead of using interactive mode, it makes more sense to use the default lazy mode.\nIn lazy mode, Ibis...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
transcranial/keras-js
notebooks/layers/convolutional/ZeroPadding2D.ipynb
mit
[ "import numpy as np\nfrom keras.models import Model\nfrom keras.layers import Input\nfrom keras.layers.convolutional import ZeroPadding2D\nfrom keras import backend as K\nimport json\nfrom collections import OrderedDict\n\ndef format_decimal(arr, places=6):\n return [round(x * 10**places) / 10**places for x in a...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
matousc89/PPSI
podklady/notebooks/skriptovani_v_pythonu.ipynb
mit
[ "Skriptování v Pythonu\nV tomto tutoriálu jsou představeny základní funkce a objekty potřebné pro nejzákladnější skriptování v Pythonu.\nPoznámky:\n* Komentáře v Pythonu se se dělají pomocí #. Cokoliv za tímto znakem až do konce řádku je komentář", "a = 1 # tohle je komentar", "V Jupyter notebook (nástroj v kte...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
GoogleCloudPlatform/asl-ml-immersion
notebooks/launching_into_ml/labs/supplemental/decision_trees_and_random_Forests_in_Python.ipynb
apache-2.0
[ "Decision Trees and Random Forests in Python\nLearning Objectives\n\nExplore and analyze data using a Pairplot\nTrain a single Decision Tree\nPredict and evaluate the Decision Tree\nCompare the Decision Tree model to a Random Forest\n\nIntroduction\nIn this lab, you explore and analyze data using a Pairplot, train ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
JoseGuzman/myIPythonNotebooks
Optimization/Maximum_likelihood_estimation.ipynb
gpl-2.0
[ "<H2>Parameter estimation by maximum likelihood method<H2>", "%pylab inline\n\nfrom scipy.stats import norm\nfrom lmfit import minimize, Parameters", "<H2> Create a normally distributed random variable</H2>", "# create some data\nmymean = 28.74\nmysigma = 8.33 # standard deviation!\nrv_norm = norm(loc = mymea...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
goddoe/CADL
session-5/session-5-part-1-new.ipynb
apache-2.0
[ "Session 5: Generative Networks\nAssignment: Generative Adversarial Networks and Recurrent Neural Networks\n<p class=\"lead\">\n<a href=\"https://www.kadenze.com/courses/creative-applications-of-deep-learning-with-tensorflow/info\">Creative Applications of Deep Learning with Google's Tensorflow</a><br />\n<a href=\...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
evanmiltenburg/python-for-text-analysis
Chapters/Chapter 19 - More about Natural Language Processing Tools (spaCy).ipynb
apache-2.0
[ "Chapter 19 - More about Natural Language Processing Tools (spaCy)\nText data is unstructured. But if you want to extract information from text, then you often need to process that data into a more structured representation. The common idea for all Natural Language Processing (NLP) tools is that they try to structu...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
opesci/devito
examples/seismic/abc_methods/02_damping.ipynb
mit
[ "2 - Damping\n2.1 - Introduction\nIn this notebook we describe a simple method for reduction of reflections at the computational boundaries of the domain $\\Omega$ when we simulate the acoustic wave equation. This method, called Damping, has been proposed by Sochaki. It adds a damping term, modifying the original w...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
kazuhirokomoda/deep_learning
fast.ai/lesson1/dogscats_run.ipynb
mit
[ "lesson1: Convolutional Neural Networks with dogscats\nLet's classify images using deep learning and submit the result to Kaggle!\nPrerequisite\nThis notebook assumes Keras with Theano backend.\n- TODO: make TensorFlow version as another notebook\nIt also assumes that you will run it on either one of these two case...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
GoogleCloudPlatform/tf-estimator-tutorials
01_Regression/04.0 - TF Regression Model - Dataset Input.ipynb
apache-2.0
[ "import tensorflow as tf\nfrom tensorflow import data\nimport shutil\nimport math\nfrom datetime import datetime\nfrom tensorflow.python.feature_column import feature_column\n\nfrom tensorflow.contrib.learn import learn_runner\nfrom tensorflow.contrib.learn import make_export_strategy\n\nprint(tf.__version__)", "...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
ctralie/TUMTopoTimeSeries2016
SlidingWindow1-Basics.ipynb
apache-2.0
[ "Geometry of Sliding Window Embeddings\nIn this module, you will interactively explore how various parameters of sliding window embeddings of 1 dimensional periodic time series data affect the geometry of their embeddings. In each code box, press ctrl-enter (or cmd-enter on a Mac) to execute the code. Progress thr...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
pulinagrawal/nupic
src/nupic/frameworks/viz/examples/Demo.ipynb
agpl-3.0
[ "Visualizing Networks\nThe following demonstrates basic use of nupic.frameworks.viz.NetworkVisualizer to visualize a network.\nBefore you begin, you will need to install the otherwise optional dependencies. From the root of nupic repository:\npip install --user .[viz]\nSetup a simple network so we have something t...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
RittmanResearch/maybrain
docs/01 - Simple Usage.ipynb
apache-2.0
[ "Simple Usage\nBasic Principles\nThe purpose of Maybrain is to allow easy visualisation of brain connectome and related data and perform various analyses.\nThe code is built around the class Brain. It contains all the information about the brain and numerous functions to change, measure and highlight those. At its ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
GoogleCloudPlatform/asl-ml-immersion
notebooks/launching_into_ml/labs/supplemental/python.BQ_explore_data.ipynb
apache-2.0
[ "Exploratory Data Analysis Using Python and BigQuery\nLearning Objectives\n\nAnalyze a Pandas Dataframe\nCreate Seaborn plots for Exploratory Data Analysis in Python \nWrite a SQL query to pick up specific fields from a BigQuery dataset\nExploratory Analysis in BigQuery\n\nIntroduction\nThis lab is an introduction ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
namco1992/algorithms_in_python
algorithms/tree.ipynb
mit
[ "Tree\n定义\n一棵二叉树的定义如下。key可以存储任意的对象,亦即每棵树也可以是其他树的子树。", "class BinaryTree():\n def __init__(self, root_obj):\n self.key = root_obj\n self.left_child = None\n self.right_child = None\n \n def insert_left(self, new_node):\n # if the tree do not have a left child\n # then cr...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
opalytics/opalytics-ticdat
examples/amplpy/netflow/netflow_other_data_sources.ipynb
bsd-2-clause
[ "Using ticdat to build modular engines\nThe goal of the ticdat package is to facilitate solve engines that are modular and robust. For example, the multicommodity netflow.py engine can read and write from a variety of file types when run from the the command line. It can also be run from a Python script that contai...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
keras-team/keras-io
examples/generative/ipynb/vae.ipynb
apache-2.0
[ "Variational AutoEncoder\nAuthor: fchollet<br>\nDate created: 2020/05/03<br>\nLast modified: 2020/05/03<br>\nDescription: Convolutional Variational AutoEncoder (VAE) trained on MNIST digits.\nSetup", "import numpy as np\nimport tensorflow as tf\nfrom tensorflow import keras\nfrom tensorflow.keras import layers", ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
MathiasRiechert/BigDataPapers
1-number of papers over time/Creating overview bar-plots.ipynb
gpl-3.0
[ "Number of papers over time\ndata source\nWe load the data from the Competence Centre for Bibliometrics: http://www.bibliometrie.info/.\nThey licence access to the Web of Science and Scopus bibliometric databases, spanning a high proportion of all peer-reviewed research literature. The Competence Centre for Bibliom...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
mne-tools/mne-tools.github.io
0.19/_downloads/ff83425ee773d1d588a6994e5560c06c/plot_mne_dspm_source_localization.ipynb
bsd-3-clause
[ "%matplotlib inline", "Source localization with MNE/dSPM/sLORETA/eLORETA\nThe aim of this tutorial is to teach you how to compute and apply a linear\ninverse method such as MNE/dSPM/sLORETA/eLORETA on evoked/raw/epochs data.", "import numpy as np\nimport matplotlib.pyplot as plt\n\nimport mne\nfrom mne.datasets...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
zzsza/Datascience_School
12. 추정 및 검정/02. 검정과 유의 확률.ipynb
mit
[ "검정과 유의 확률\n검정(testing)은 데이터 뒤에 숨어있는 확률 변수의 분포와 모수에 대한 가설의 진위를 정량적(quantitatively)으로 증명하는 작업을 말한다.\n[[school_notebook:87b67dafd7544e3380af278ff4f22d77]]\n예를 들어 다음과 같은 문제가 주어졌다면 어떻게 풀겠는가?\n\n문제1\n\n<blockquote> \n어떤 동전을 15번 던졌더니 12번이 앞면이 나왔다. 이 동전은 휘어지지 않은 공정한 동전(fair coin)인가?\n</blockquote>\n\n\n문제2\n\n<blockquote>...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
maxalbert/tohu
notebooks/v6/Primitive_generators.ipynb
mit
[ "Primitive generators\nThis notebook contains tests for tohu's primitive generators.", "import tohu\nfrom tohu.v6.primitive_generators import *\nfrom tohu.v6.generator_dispatch import *\nfrom tohu.v6.utils import print_generated_sequence\n\nprint(f'Tohu version: {tohu.__version__}')", "Constant\nConstant simply...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
ProfessorKazarinoff/staticsite
content/code/matplotlib_plots/stress_strain_curves/stress_strain_curve_with_python.ipynb
gpl-3.0
[ "In this post, we'll use data from a tensile test to build a stress strain curve with Python and Matplotlib.\nA tensile test is a type of mechanical test performed by engineers used to determine the mechanical properties of a material. Engineering metal alloys such as steel and aluminum alloys are tensile tested in...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
scikit-multilearn/scikit-multilearn
docs/source/multilabelembeddings.ipynb
bsd-2-clause
[ "Multi-label embedding-based classification\nMulti-label embedding techniques emerged as a response the need to cope with a large label space, but with the rise of computing power they became a method of improving classification quality. Typically the embedding-based multi-label classification starts with embedding...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
rsignell-usgs/notebook
CSW/CSW_ISO_Queryables-IOOS.ipynb
mit
[ "CSW access with OWSLib using ISO queryables\nDemonstration of how to use the OGC Catalog Services for the Web (CSW) to search for find all datasets containing a specified variable that fall withing a specified date range and geospatial bounding box, and then use the data access service contained in the returned me...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
mu4farooqi/deep-learning-projects
language-translation/dlnd_language_translation.ipynb
gpl-3.0
[ "Language Translation\nIn this project, you’re going to take a peek into the realm of neural network machine translation. You’ll be training a sequence to sequence model on a dataset of English and French sentences that can translate new sentences from English to French.\nGet the Data\nSince translating the whole ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
nixphix/ml-projects
sentiment_analysis/twitter_sentiment_analysis-jallikattu/code/twitter_sentiment_analysis-jallikattu_FINAL.ipynb
mit
[ "Sentiment Analysis on \"Jallikattu\" with Twitter Data Feed <h3 style=\"color:red;\">#DataScienceForSocialCause</h3>\nTwitter is flooded with Jallikattu issue, let us find peoples sentiment with Data Science tools. Following is the approach\n* Register a Twitter API handle for data feed\n* Pull out tweets on searc...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
rflamary/POT
docs/source/auto_examples/plot_gromov.ipynb
mit
[ "%matplotlib inline", "Gromov-Wasserstein example\nThis example is designed to show how to use the Gromov-Wassertsein distance\ncomputation in POT.", "# Author: Erwan Vautier <erwan.vautier@gmail.com>\n# Nicolas Courty <ncourty@irisa.fr>\n#\n# License: MIT License\n\nimport scipy as sp\nimport numpy as ...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
relopezbriega/mi-python-blog
content/notebooks/ecuaciones-diferenciales.ipynb
gpl-2.0
[ "<center><h1>Ecuaciones Diferenciales con Python</h1>\n<img alt=\"Ecuaciones Diferenciales con python\" title=\"Series de Taylor\" src=\"https://relopezbriega.github.io/images/diffeq.gif\" width=\"200px\" height=\"300px\">\n<a href=\"https://conf.scipyla.org/scipyla2016/\">SciPyLA 2016</a> - Florianópolis, Santa Ca...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
letsgoexploring/linearsolve-package
examples/nk_model.ipynb
mit
[ "A New-Keynesian Model\nConsider the new-Keynesian business cycle model from Walsh (2017), chapter 8 expressed in log-linear terms:\n\\begin{align}\ny_t & = E_ty_{t+1} - \\sigma^{-1} (i_t - E_t\\pi_{t+1}) + g_t\\\n\\pi_t & = \\beta E_t\\pi_{t+1} + \\kappa y_t + u_t\\\ni_t & = \\phi_x y_t + \\phi_{\\pi} \\pi_t +...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
malnoxon/board-game-data-science
stage4/stage4_report.ipynb
gpl-3.0
[ "Stage 4, Report\nhttps://github.com/anhaidgroup/py_entitymatching/blob/master/notebooks/vldb_demo/Demo_notebook_v6.ipynb", "import py_entitymatching as em\nimport os\nimport pandas as pd\n\n# specify filepaths for tables A and B. \npath_A = 'newTableA.csv'\npath_B = 'tableB.csv'\n# read table A; table A has 'ID'...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
pombredanne/pythran
docs/examples/Third Party Libraries.ipynb
bsd-3-clause
[ "Using third-party Native Libraries\nSometimes, the functionnality you need are onmy available in third-party native libraries. There's still an opportunity to use them from within Pythran, using Pythran support for capsules. \nPythran Code\nThe pythran code requires function pointers to the third-party functions, ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
ES-DOC/esdoc-jupyterhub
notebooks/hammoz-consortium/cmip6/models/sandbox-1/toplevel.ipynb
gpl-3.0
[ "ES-DOC CMIP6 Model Properties - Toplevel\nMIP Era: CMIP6\nInstitute: HAMMOZ-CONSORTIUM\nSource ID: SANDBOX-1\nSub-Topics: Radiative Forcings. \nProperties: 85 (42 required)\nModel descriptions: Model description details\nInitialized From: -- \nNotebook Help: Goto notebook help page\nNotebook Initialised: 2018-02-...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
IanHawke/Southampton-PV-NumericalMethods-2016
solutions/04-Boundary-Value-Problems.ipynb
mit
[ "Boundary Value Problems\nIn Giles Richardson's notes the simple one-dimensional inorganic solar cell model is presented. This model includes equations for the hole current density $j_n$ and the electron current density $j_p$ in terms of the hole and electron densities $n$ and $p$, the intrinsic carrier density $n_...
[ "markdown", "code", "markdown", "code", "markdown" ]
mabevillar/rmtk
rmtk/vulnerability/derivation_fragility/equivalent_linearization/miranda_2000_firm_soils/miranda_2000_firm_soils.ipynb
agpl-3.0
[ "Miranda (2000) for firm soils\nThis methodology, proposed in Miranda (2000), aims to estimate the maximum lateral inelastic displacement demands on a structure based on the maximum lateral elastic displacement demands for sites with average shear-wave velocities higher than 180 m/s. A reduction factor based on the...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
kevinjliang/Duke-Tsinghua-MLSS-2017
03B_Generative_Adversarial_Network.ipynb
apache-2.0
[ "Generative Adversarial Network in Tensorflow\nGenerative Adversarial Networks, introduced by Ian Goodfellow in 2014, are neural nets we can train to produce new images (or other kinds of data) that look as though they came from our true data distribution. In this notebook, we'll implement a small GAN for generatin...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
OSGeo-live/CesiumWidget
GSOC/notebooks/Projects/GRASS/python-grass-addons/01_scripting_library.ipynb
apache-2.0
[ "Introduction to the GRASS GIS 7 Python Scripting Library\nThe GRASS GIS 7 Python Scripting Library provides functions to call GRASS modules within scripts as subprocesses.\nThe most often used functions include:\n* run_command: most often used with modules which output raster/vector data where text output is not e...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
azjps/bokeh
examples/howto/charts/scatter.ipynb
bsd-3-clause
[ "from bokeh.sampledata.autompg import autompg as df\nfrom bokeh.sampledata.olympics2014 import data\nfrom bokeh.sampledata.iris import flowers\n\nfrom bokeh.charts import Scatter, output_notebook, show\nfrom bokeh.charts.operations import blend\nfrom bokeh.charts.utils import df_from_json\nimport pandas as pd\n\nou...
[ "code", "markdown", "code", "markdown", "code" ]
google/spectral-density
tf/mnist_spectral_density.ipynb
apache-2.0
[ "MNIST Hessian Spectral Density Calculator\nThis notebook trains a simple MLP for MNIST, runs the Lanczos algorithm on its full-batch Hessian, and then plots the spectral density. This shows how to use the python TensorFlow LanczosExperiment class.", "import os\nimport sys\n\nimport matplotlib.pyplot as plt\n\nim...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
jamesfolberth/jupyterhub_AWS_deployment
notebooks/20Q/setup_sportsDataset.ipynb
bsd-3-clause
[ "Loads the sports data\nRun this script to load the data. Your job after loading the data is to make a 20 questions style game (see www.20q.net )\nThis dataset is a list of 25 sports, each rated (by Stephen) with a yes/no answer to each of 13 questions\nKnowing the answers to all 13 questions uniquely identifies ea...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
mercybenzaquen/foundations-homework
foundations_hw/05/Homework5_Graded.ipynb
mit
[ "What books topped the Hardcover Fiction NYT best-sellers list on Mother's Day in 2009 and 2010? How about Father's Day?", "#my IPA key b577eb5b46ad4bec8ee159c89208e220\n#base url http://api.nytimes.com/svc/books/{version}/lists", "graded = 8/8", "import requests\nresponse = requests.get(\"http://api.nytimes....
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
eds-uga/csci1360e-su16
lectures/L6.ipynb
mit
[ "Lecture 6: Conditionals and Error Handling\nCSCI 1360E: Foundations for Informatics and Analytics\nOverview and Objectives\nIn this lecture, we'll go over how to make \"decisions\" over the course of your code depending on the values certain variables take. We'll also introduce exceptions and how to handle them gr...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
synthicity/activitysim
activitysim/examples/example_estimation/notebooks/02_school_location.ipynb
agpl-3.0
[ "Estimating School Location Choice\nThis notebook illustrates how to re-estimate a single model component for ActivitySim. This process \nincludes running ActivitySim in estimation mode to read household travel survey files and write out\nthe estimation data bundles used in this notebook. To review how to do so, ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
daniel-koehn/Theory-of-seismic-waves-II
05_2D_acoustic_FD_modelling/lecture_notebooks/4_fdac2d_absorbing_boundary.ipynb
gpl-3.0
[ "Content under Creative Commons Attribution license CC-BY 4.0, code under BSD 3-Clause License © 2018 by D. Koehn, heterogeneous models are from this Jupyter notebook by Heiner Igel (@heinerigel), Florian Wölfl and Lion Krischer (@krischer) which is a supplemenatry material to the book Computational Seismology: A ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
ES-DOC/esdoc-jupyterhub
notebooks/nerc/cmip6/models/ukesm1-0-mmh/atmos.ipynb
gpl-3.0
[ "ES-DOC CMIP6 Model Properties - Atmos\nMIP Era: CMIP6\nInstitute: NERC\nSource ID: UKESM1-0-MMH\nTopic: Atmos\nSub-Topics: Dynamical Core, Radiation, Turbulence Convection, Microphysics Precipitation, Cloud Scheme, Observation Simulation, Gravity Waves, Solar, Volcanos. \nProperties: 156 (127 required)\nModel desc...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
dsacademybr/PythonFundamentos
Cap08/Notebooks/DSA-Python-Cap08-01-NumPy.ipynb
gpl-3.0
[ "<font color='blue'>Data Science Academy - Python Fundamentos - Capítulo 8</font>\nDownload: http://github.com/dsacademybr", "# Versão da Linguagem Python\nfrom platform import python_version\nprint('Versão da Linguagem Python Usada Neste Jupyter Notebook:', python_version())", "NumPy\nPara importar numpy, util...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
harmsm/pythonic-science
chapters/01_simulation/00_random-sampling.ipynb
unlicense
[ "You are trying to measure a difference in the $K_{D}$ of two proteins binding to a ligand. From previous experiments, you know that the values of replicate measurements of $K_{D}$ follow a normal distribution with $\\sigma = 2\\ \\mu M$. How many measurements would you need to make to confidently tell the differ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
arcyfelix/Courses
18-05-28-Complete-Guide-to-Tensorflow-for-Deep-Learning-with-Python/04-Recurrent-Neural-Networks/03-Time-Series-Exercise-Solutions-Final.ipynb
apache-2.0
[ "Time Series Exercise - Solutions\nFollow along with the instructions in bold. Watch the solutions video if you get stuck!\nThe Data\n Source: https://datamarket.com/data/set/22ox/monthly-milk-production-pounds-per-cow-jan-62-dec-75#!ds=22ox&display=line \nMonthly milk production: pounds per cow. Jan 62 - Dec 75\n ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...
yl565/statsmodels
examples/notebooks/robust_models_0.ipynb
bsd-3-clause
[ "Robust Linear Models", "%matplotlib inline\n\nfrom __future__ import print_function\nimport numpy as np\nimport statsmodels.api as sm\nimport matplotlib.pyplot as plt\nfrom statsmodels.sandbox.regression.predstd import wls_prediction_std", "Estimation\nLoad data:", "data = sm.datasets.stackloss.load()\ndata....
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
fonnesbeck/scientific-python-workshop
notebooks/Scikit Learn.ipynb
cc0-1.0
[ "Introduction to Scikit-learn\nThe scikit-learn package is an open-source library that provides a robust set of machine learning algorithms for Python. It is built upon the core Python scientific stack (i.e. NumPy, SciPy, Cython), and has a simple, consistent API, making it useful for a wide range of statistical le...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
gtrichards/PHYS_T480
NeuralNetworks.ipynb
mit
[ "Neural Networks\nG. Richards (2016), where I found this video series particularly helpful in trying to simplify the explanation https://www.youtube.com/watch?v=bxe2T-V8XRs.\nUpdates from V. Baker, leaning heavily on Thomas Trappenberg's Fundamentals of Computational Neuroscience(https://web.cs.dal.ca/~tt/fundament...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
diegocavalca/Studies
deep-learnining-specialization/1. neural nets and deep learning/resources/Deep Neural Network - Application v3.ipynb
cc0-1.0
[ "Deep Neural Network for Image Classification: Application\nWhen you finish this, you will have finished the last programming assignment of Week 4, and also the last programming assignment of this course! \nYou will use use the functions you'd implemented in the previous assignment to build a deep network, and appl...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "mar...