repo_name stringlengths 6 77 | path stringlengths 8 215 | license stringclasses 15
values | cells list | types list |
|---|---|---|---|---|
rongchuhe2/workshop_data_analysis_python | example_bridge_bike_counter.ipynb | mit | [
"Unsupervised Analysis of Days of Week\nTreating crossing each day as features to learn about the relatinships between various days.",
"%matplotlib inline\nimport matplotlib.pyplot as plt\n",
"Downloading Data\nWe'll start by downloading the data (available on seattle.gov).",
"from urllib import request\n\nFR... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
fggp/ctcsound | cookbook/03-threading.ipynb | lgpl-2.1 | [
"Multithreading\nIn the preceding recipes, there was a single thread running; this is the default way to use Python, due to the GIL (Global Interpreter Lock). Then, the user has the possibility to interact with the Csound instance during the performance loop. This is illustrated in the following diagram:\n\nTo use ... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
liganega/Gongsu-DataSci | ref_materials/excs/Lab-07.ipynb | gpl-3.0 | [
"연습문제\n아래 문제들을 해결하는 코드를 lab07.py 파일에 작성하여 제출하라.\n연습 1\n미국 해양대기청(NOAA)은 전세계 날씨를 실시간으로 제공한다. 한국의 경우 공항이 있는 도시의 날씨정보를 제공하며 평택도 포함된다. 평택의 현재 날씨 정보를 텍스트파일로 얻고자 하면 아래 NOAA 사이트를 클릭해서 파일을 다운로드받으면 된다.\n아니면 아래 함수를 이용하여 위 링크에 연결된 파일 내용을 확인할 수 있다.\ndef NOAA_string():\n url = \"http://weather.noaa.gov/pub/data\" +\\\n ... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
landlab/landlab | notebooks/tutorials/normal_fault/normal_fault_component_tutorial.ipynb | mit | [
"<a href=\"http://landlab.github.io\"><img style=\"float: left\" src=\"../../landlab_header.png\"></a>\nIntroduction to the NormalFault component\nThis tutorial provides an introduction to the NormalFault component in the Landlab toolkit. This component takes the following parameters. \nParameters\n--------\ngrid :... | [
"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... |
texib/pixnet_hackathon_2015 | doc2vec-IMDB.ipynb | mit | [
"gensim doc2vec & IMDB sentiment dataset\nTODO: section on introduction & motivation\nTODO: prerequisites + dependencies (statsmodels, patsy, ?)\nLoad corpus\nFetch and prep exactly as in Mikolov's go.sh shell script. (Note this cell tests for existence of required files, so steps won't repeat once the final summar... | [
"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... |
twosigma/beakerx | doc/python/TableAPI.ipynb | apache-2.0 | [
"Python API for Table Display\nIn addition to APIs for creating and formatting BeakerX's interactive table widget, the Python runtime configures pandas to display tables with the interactive widget instead of static HTML.",
"import pandas as pd\nfrom beakerx import *\nfrom beakerx.object import beakerx\n\npd.read... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
lisitsyn/shogun | doc/ipython-notebooks/ica/ecg_sep.ipynb | bsd-3-clause | [
"Fetal Electrocardiogram Extraction by Source Subspace Separation\nBy Kevin Hughes and Andreas Ziehe\nThis notebook illustrates <a href=\"http://en.wikipedia.org/wiki/Blind_signal_separation\">Blind Source Seperation</a>(BSS) on several time synchronised Electrocardiogram's (ECG's) of the baby's mother using <a hre... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
Yangqing/caffe2 | caffe2/python/tutorials/create_your_own_dataset.ipynb | apache-2.0 | [
"How do I create my own dataset?\nSo Caffe2 uses a binary DB format to store the data that we would like to train models on. A Caffe2 DB is a glorified name of a key-value storage where the keys are usually randomized so that the batches are approximately i.i.d. The values are the real stuff here: they contain the ... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
brucefan1983/GPUMD | examples/empirical_potentials/phonon_dispersion/Phonon Dispersion.ipynb | gpl-3.0 | [
"Phonon Dispersion\n1. Introduction\n\nIn this example, we use harmonic lattice dynamics to calculate the phonon dispersion of diamond silicon.\n\nImporting Relevant Functions\n\nThe inputs/outputs for GPUMD are processed using the Atomic Simulation Environment (ASE) and the thermo package.",
"from pylab import *... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
tritemio/multispot_paper | out_notebooks/usALEX-5samples-PR-raw-out-all-ph-22d.ipynb | mit | [
"Executed: Mon Mar 27 11:34:36 2017\nDuration: 8 seconds.\nusALEX-5samples - Template\n\nThis notebook is executed through 8-spots paper analysis.\nFor a direct execution, uncomment the cell below.",
"ph_sel_name = \"all-ph\"\n\ndata_id = \"22d\"\n\n# ph_sel_name = \"all-ph\"\n# data_id = \"7d\"",
"Load softwar... | [
"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... |
boffi/boffi.github.io | dati_2017/hw03/01.ipynb | mit | [
"Initialization\nNotebook stuff",
"from IPython.display import display, Latex, HTML\ndisplay(HTML(open('01.css').read()))",
"Numpy and Scipy",
"import numpy as np\nfrom numpy import array, cos, diag, eye, linspace, pi\nfrom numpy import poly1d, sign, sin, sqrt, where, zeros\nfrom scipy.linalg import eigh, inv... | [
"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... |
MTgeophysics/mtpy | examples/workshop/Workshop Exercises Core.ipynb | gpl-3.0 | [
"Introduction\nThis workbook contains some examples for reading, analysing and plotting processed MT data. It covers most of the steps available in MTPy. For more details on specific input parameters and other functionality, we recommend looking at the mtpy documentation, which can be found at: https://mtpy2.readth... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
bhermanmit/openmc | docs/source/examples/mg-mode-part-i.ipynb | mit | [
"This Notebook illustrates the usage of OpenMC's multi-group calculational mode with the Python API. This example notebook creates and executes the 2-D C5G7 benchmark model using the openmc.MGXSLibrary class to create the supporting data library on the fly.\nGenerate MGXS Library",
"import os\n\nimport matplotlib... | [
"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... |
mne-tools/mne-tools.github.io | 0.18/_downloads/012b7ba30b03ebda4c3419b2e4f5161a/plot_ssp_projs_sensitivity_map.ipynb | bsd-3-clause | [
"%matplotlib inline",
"Sensitivity map of SSP projections\nThis example shows the sources that have a forward field\nsimilar to the first SSP vector correcting for ECG.",
"# Author: Alexandre Gramfort <alexandre.gramfort@telecom-paristech.fr>\n#\n# License: BSD (3-clause)\n\nimport matplotlib.pyplot as plt\n\nf... | [
"code",
"markdown",
"code",
"markdown",
"code"
] |
Stanford-BIS/syde556 | SYDE 556 Lecture 2 Representation.ipynb | gpl-2.0 | [
"SYDE 556/750: Simulating Neurobiological Systems\nAccompanying Readings: Chapter 2\nNEF Principle 1 - Representation\n\nActivity of neurons change over time\n\n<img src=files/lecture2/spikes.jpg width=800px>\n\nThis probably means something\nSometimes it seems pretty clear what it means",
"from IPython.display i... | [
"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... |
Ttl/scikit-rf | doc/source/examples/metrology/One Port Tiered Calibration.ipynb | bsd-3-clause | [
"One Port Tiered Calibration\nIntro\nA one-port network analyzer can be used to measure a two-port device, provided that the device is reciprocal. This is accomplished by performing two calibrations, which is why its called a tiered calibration. \nFirst, the VNA is calibrated at the test-port like normal. This is c... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
zzsza/TIL | python/pyecharts.ipynb | mit | [
"pyecharts\n\nHTML 에서 확인하면 이쁜 그래프도 보입니다!!!\nBaidu에서 데이터 시각화를 위해 만든 오픈소스인 Echarts의 파이썬 버전\n다양한 그래프 제공\n공식 문서\nDynamic\n단, 옵션의 단추가 중국어\n\n그래프를 그릴 때, echarts와 echartql을 로컬에서 찾으려고 함\n\n따라서 nbconvert를 사용해 HTML으로 저장한 후, 쉘에서 수정\n\nsed -i \"\" \"s|/nbextensions/echarts/echarts-gl.min|https://cdn.jsdelivr.net/npm/echarts-gl... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
hetaodie/hetaodie.github.io | assets/media/uda-ml/deep/azjc/卷积神经网络的例子/dog/dog_app_zh.ipynb | mit | [
"卷积神经网络(Convolutional Neural Network, CNN)\n项目:实现一个狗品种识别算法App\n在这个notebook文件中,有些模板代码已经提供给你,但你还需要实现更多的功能来完成这个项目。除非有明确要求,你无须修改任何已给出的代码。以'(练习)'开始的标题表示接下来的代码部分中有你需要实现的功能。这些部分都配有详细的指导,需要实现的部分也会在注释中以'TODO'标出。请仔细阅读所有的提示。\n除了实现代码外,你还需要回答一些与项目及代码相关的问题。每个需要回答的问题都会以 '问题 X' 标记。请仔细阅读每个问题,并且在问题后的 '回答' 部分写出完整的答案。我们将根据 你对问题的回答 和 撰... | [
"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... |
ES-DOC/esdoc-jupyterhub | notebooks/uhh/cmip6/models/sandbox-1/seaice.ipynb | gpl-3.0 | [
"ES-DOC CMIP6 Model Properties - Seaice\nMIP Era: CMIP6\nInstitute: UHH\nSource ID: SANDBOX-1\nTopic: Seaice\nSub-Topics: Dynamics, Thermodynamics, Radiative Processes. \nProperties: 80 (63 required)\nModel descriptions: Model description details\nInitialized From: -- \nNotebook Help: Goto notebook help page\nNote... | [
"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... |
zklgame/CatEyeNets | test/two_layer_net.ipynb | mit | [
"Implementing a Neural Network\nIn this exercise we will develop a neural network with fully-connected layers to perform classification, and test it out on the CIFAR-10 dataset.",
"import os\nos.chdir(os.getcwd() + '/..')\n\n# Run some setup code for this notebook\nimport random\nimport numpy as np\nimport matplo... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
sueiras/training | tensorflow_old/02-template_class/template_class.ipynb | gpl-3.0 | [
"Standar usage of TensoFlow with model class\nTipically use 3 files:\n - data_utils.py: With the data access and batch generator functions\n - model.py: With the class model. A constructor with the graph definition and method to manage model needs\n - train.py: With parameters. Access to the data, instance the mode... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
dariox2/CADL | session-1/.ipynb_checkpoints/session-1-checkpoint.ipynb | apache-2.0 | [
"Session 1 - Introduction to Tensorflow\n<p class=\"lead\">\nAssignment: Creating a Dataset/Computing with Tensorflow\n</p>\n\n<p class=\"lead\">\nParag K. Mital<br />\n<a href=\"https://www.kadenze.com/courses/creative-applications-of-deep-learning-with-tensorflow/info\">Creative Applications of Deep Learning w/ T... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
arcyfelix/Courses | 17-09-17-Python-for-Financial-Analysis-and-Algorithmic-Trading/04-Visualization-Matplotlib-Pandas/04b-Pandas Visualization/03 - Advanced Matplotlib Concepts.ipynb | apache-2.0 | [
"Advanced Matplotlib Concepts Lecture\nIn this lecture we cover some more advanced topics which you won't usually use as often. You can always reference the documentation for more resources!\nLogarithmic scale\nIt is also possible to set a logarithmic scale for one or both axes. This functionality is in fact only ... | [
"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... |
anthonybu/api_sdk | DEMO.ipynb | mit | [
"SDK for the Brandwatch API: Demo\nIntroduction\nThe goal of this notebook is to demonstrate the capabilities of the Python Software Development Kit for Brandwatch's API. The SDK was designed to address many of the challenges involved in building complex applications which interact with RESTful API's in general an... | [
"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 | Cap05/Notebooks/DSA-Python-Cap05-04-Heranca.ipynb | gpl-3.0 | [
"<font color='blue'>Data Science Academy - Python Fundamentos - Capítulo 5</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())",
"Herança",
"# Criando a classe ... | [
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
ML4DS/ML4all | U_lab1.Clustering/Lab_ShapeSegmentation_draft/LabSessionClustering.ipynb | mit | [
"Lab Session: Clustering algorithms for Image Segmentation\nAuthor: Jesús Cid Sueiro\nJan. 2017",
"%matplotlib inline\nimport numpy as np\nimport matplotlib.pyplot as plt\nfrom scipy.misc import imread",
"1. Introduction\nIn this notebook we explore an application of clustering algorithms to shape segmentation ... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
ogaway/Econometrics | Dummy.ipynb | gpl-3.0 | [
"構造変化、理論の妥当性のテスト\n『Rによる計量経済学』第9章「構造変化、理論の妥当性のテスト」をPythonで実行する。\nテキスト付属データセット(「k0901.csv」等)については出版社サイトよりダウンロードしてください。\nまた、以下の説明は本書の一部を要約したものですので、より詳しい説明は本書を参照してください。 \nダミー変数(Dummy Variable)\n例題9.1「定数項ダミー」\n以下のようにモデルを設定して回帰分析を行う。\n$Y_{i} = \\alpha + \\beta X_{i} + \\gamma D_{i} + u_{i}$",
"%matplotlib inline\n\n#... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
SatoshiNakamotoGeoscripting/SatoshiNakamotoGeoscripting | Lecture 11/.ipynb_checkpoints/Satoshi Nakamoto Lecture 11 Jupyter Notebook-checkpoint.ipynb | mit | [
"Team: Satoshi Nakamoto <br>\nNames: Alex Levering & Hèctor Muro <br>\nLesson 10 Exercise solution\nImport standard libraries",
"from numpy import mean\nimport os\nfrom os import makedirs,chdir\nfrom os.path import exists",
"Import non-standard libraries (install as needed)",
"from osgeo import ogr,osr\nimpor... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
wilomaku/IA369Z | dev/Autoencoderxclass.ipynb | gpl-3.0 | [
"Corpus callosum's shape signature for segmentation error detection in large datasets\nAbstract\nCorpus Callosum (CC) is a subcortical, white matter structure with great importance in clinical and research studies because its shape and volume are correlated with subject's characteristics and neurodegenerative disea... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
CrowdTruth/CrowdTruth-core | tutorial/notebooks/Multiple Choice Task - Person Type Annotation in Video.ipynb | apache-2.0 | [
"CrowdTruth for Multiple Choice Tasks: Person Type Annotation in Video\nIn this tutorial, we will apply CrowdTruth metrics to a multiple choice crowdsourcing task for Person Type Annotation from video fragments. The workers were asked to watch a video of about 3-5 seconds and then pick from a multiple choice list 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... |
samgoodgame/sf_crime | iterations/misc/Cha_Goodgame_Kao_Moore_W207_Final_Project_updated_08_19_2230.ipynb | mit | [
"Kaggle San Francisco Crime Classification\nBerkeley MIDS W207 Final Project: Sam Goodgame, Sarah Cha, Kalvin Kao, Bryan Moore\nEnvironment and Data",
"# Import relevant libraries:\nimport time\nimport numpy as np\nimport pandas as pd\nfrom sklearn.neighbors import KNeighborsClassifier\nfrom sklearn import prepro... | [
"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/Session13/Day2/02-Fast-GPs.ipynb | mit | [
"Fast GP implementations",
"%matplotlib inline\n\n%config InlineBackend.figure_format = 'retina'\n\nfrom matplotlib import rcParams\nrcParams[\"figure.dpi\"] = 100\nrcParams[\"figure.figsize\"] = 12, 4",
"Benchmarking GP codes\nImplemented the right way, GPs can be super fast! Let's compare the time it takes to... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
thehackerwithin/berkeley | code_examples/SQL/SQL_Tutorial-0.ipynb | bsd-3-clause | [
"Intro to SQL - The Hacker Within (2018-02-21)\nThis tutorial will show you the basics of SQL:\n* creating a table\n* inserting rows\n* querying with conditions\n* grouping and ordering\n* joining tables with a common field\n* aggregating rows using COUNT, MAX, etc.\n* alternates to SQL like pandas and Django\n* in... | [
"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... |
vzg100/Post-Translational-Modification-Prediction | old/Phosphorylation Sequence Tests -MLP -dbptm+ELM -EnzymeBenchmarks-VectorAvr..ipynb | mit | [
"Template for test",
"from pred import Predictor\nfrom pred import sequence_vector\nfrom pred import chemical_vector",
"Controlling for Random Negatve vs Sans Random in Imbalanced Techniques using S, T, and Y Phosphorylation.\nIncluded is N Phosphorylation however no benchmarks are available, yet. \nTraining da... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
briennakh/BIOF509 | Wk08/Wk08_Numpy_model_package_survey_inclass_exercises.ipynb | mit | [
"Week 8 - Implementing a model in numpy and a survey of machine learning packages for python\nThis week we will be looking in detail at how to implement a supervised regression model using the base scientific computing packages available with python.\nWe will also be looking at the different packages available for ... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
AllenDowney/ThinkBayes2 | examples/game_of_ur_soln.ipynb | mit | [
"Think Bayes\nThis notebook presents code and exercises from Think Bayes, second edition.\nCopyright 2018 Allen B. Downey\nMIT License: https://opensource.org/licenses/MIT",
"# Configure Jupyter so figures appear in the notebook\n%matplotlib inline\n\n# Configure Jupyter to display the assigned value after an ass... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
dduong1/DIMSUM-Algorithm | DIMSUM_FINAL_MACHRAOUI_DUONGPRUNIER.ipynb | gpl-3.0 | [
"IMPLEMENTATION DE L'ALGORITHME DIMSUM SOUS PIG\nDavid DUONG PRUNIER - Ismail MACHRAOUI\nMASTERE SPECIALISE DATA SCIENCE\nPour cette étude, nous allons implémenter l'algorithme DIMSUM décrit par Bosagh-Zadesh en 2012. Cet algorithme propose de trouver toutes les paires d'éléments semblables. \nLa littérature sur ce... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
dwiel/tensorflow_hmm | notebooks/gradient_descent_example.ipynb | apache-2.0 | [
"%pylab inline\n\nimport numpy as np\nimport tensorflow as tf\n\nfrom tensorflow_hmm import hmm\n\nfrom pylab import rcParams\nrcParams['figure.figsize'] = 15, 5\n\nP = np.array([[0.9, 0.1], [0.1, 0.9]])\nP = P**1\nP = P / np.sum(P,1)\nprint 'P', P\nhmm_tf = hmm.HMMTensorflow(P, np.array([0.0, 1.0]))\n\n# observati... | [
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
idekerlab/py2cytoscape | examples/New_wrapper_api_sample.ipynb | mit | [
"Introduction to py2cytoscape: Pythonista-friendly wrapper for cyREST\n\n<h1 align=\"center\">For</h1>\n\n\nby Keiichiro Ono - University of California, San Diego Trey Ideker Lab\nRequirments\n\nJava 8\nCytoscape 3.2.1+\ncyREST 1.1.0+\npy2cytoscape 0.4.2+\n\n\nQ. What is py2cytoscape?\nA. A Python package to drive ... | [
"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... |
besser82/shogun | doc/ipython-notebooks/metric/LMNN.ipynb | bsd-3-clause | [
"Metric Learning with the Shogun Machine Learning Toolbox\nBy Fernando J. Iglesias Garcia (GitHub ID: iglesias) as project report for GSoC 2013 (project details).\nThis notebook illustrates <a href=\"http://en.wikipedia.org/wiki/Statistical_classification\">classification</a> and <a href=\"http://en.wikipedia.org/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... |
BillyLjm/CS100.1x.__CS190.1x | lab1_word_count_student.ipynb | mit | [
"+ \nWord Count Lab: Building a word count application\nThis lab will build on the techniques covered in the Spark tutorial to develop a simple word count application. The volume of unstructured text in existence is growing dramatically, and Spark is an excellent tool for analyzing this type of data. In this lab,... | [
"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... |
tensorflow/federated | docs/tutorials/composing_learning_algorithms.ipynb | apache-2.0 | [
"Copyright 2022 The TensorFlow Authors.",
"#@title 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 ... | [
"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... |
ireapps/cfj-2017 | exercises/20. Exercise - Web scraping-working.ipynb | mit | [
"Let's scrape some death row data\nTexas executes a lot of criminals, and it has a web page that keeps track of people on its death row.\nUsing what you've learned so far, let's scrape this table into a CSV. Then we're going write a function to grab a couple pieces of additional data from the inmates' detail pages.... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
nvergos/DAT-ATX-1_Project | Notebooks/3. Dimensionality Reduction.ipynb | mit | [
"DAT-ATX-1 Capstone Project\n3. Dimensionality Reduction\nFor the final part of this project, we will extend our study of text classification. Using Principal Component Analysis and Truncated Singular Value Decomposition (methods for dimensionality reduction) we will attempt to replicate the same quality of modelin... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
mlperf/training_results_v0.5 | v0.5.0/google/cloud_v3.8/resnet-tpuv3-8/code/resnet/model/models/samples/outreach/demos/eager_execution.ipynb | apache-2.0 | [
"Copyright 2018 The TensorFlow Authors.\nLicensed under the Apache License, Version 2.0 (the \"License\");",
"# 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.... | [
"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... |
ucsd-ccbb/jupyter-genomics | notebooks/networkAnalysis/localization_colocalization_example/localization_colocalization_example.ipynb | mit | [
"Test localization and co-localization of two diseases, using network propagation\nTest on simulated networks, where we can control how localized and co-localized node sets are\nAuthor: Brin Rosenthal (sbrosenthal@ucsd.edu)",
"import numpy as np\nimport matplotlib.pyplot as plt\nimport seaborn\nimport networkx as... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
WormLabCaltech/mprsq | src/stats_tutorials/Model Selection.ipynb | mit | [
"Table of Contents\n<p><div class=\"lev1 toc-item\"><a href=\"#Generating-synthetic-data\" data-toc-modified-id=\"Generating-synthetic-data-1\"><span class=\"toc-item-num\">1 </span>Generating synthetic data</a></div><div class=\"lev1 toc-item\"><a href=\"#Line-fitting-using-Bayes'-theorem\" data-toc-mod... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
pycomlink/pycomlink | notebooks/outdated_notebooks/Spatial interpolation.ipynb | bsd-3-clause | [
"Table of Contents\n<p><div class=\"lev1 toc-item\"><a href=\"#Load-CML-example-data\" data-toc-modified-id=\"Load-CML-example-data-1\"><span class=\"toc-item-num\">1 </span>Load CML example data</a></div><div class=\"lev1 toc-item\"><a href=\"#Do-a-simple-standard-processing-to-get-rain-rates-for-each-C... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
eds-uga/csci1360-fa16 | lectures/L11.ipynb | mit | [
"Lecture 11: Objects and Classes\nCSCI 1360: Foundations for Informatics and Analytics\nOverview and Objectives\nIn this lecture, we'll delve into the realm of \"object-oriented programming,\" or OOP. This is a programming paradigm in which concepts and actions are \"packaged\" using the abstraction of objects: mod... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
jan-rybizki/Chempy | tutorials/4-Simple_stellar_population.ipynb | mit | [
"Simple Stellar Population (SSP)\nHere we will explain the central routine of Chempy. The observational counterpart of an SSP is the open cluster. All stars are approximately born at the same time, and from the same ISM abundances. Therefore the SSP is characterized by its total mass, its birth age and its initial ... | [
"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... |
dwhswenson/openpathsampling | examples/misc/tutorial_path_histogram.ipynb | mit | [
"Tutorial: Path Histogram\nThis gives a little overview of the option and behavior of the PathHistogram object. The PathHistogram is used for path density plots and free energy plots. It extends the basic SparseHistogram code by allowing for interpolation between bins, and by allowing one to normalize on a per-traj... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
zhuanxuhit/deep-learning | tv-script-generation/dlnd_tv_script_generation.ipynb | mit | [
"TV Script Generation\nIn this project, you'll generate your own Simpsons TV scripts using RNNs. You'll be using part of the Simpsons dataset of scripts from 27 seasons. The Neural Network you'll build will generate a new TV script for a scene at Moe's Tavern.\nGet the Data\nThe data is already provided for you. ... | [
"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... |
parkerzf/kaggle-expedia | notebooks/time_based_anlaysis.ipynb | bsd-3-clause | [
"# Display plots inline and change default figure size\n%matplotlib inline\nimport numpy as np\nimport pandas as pd\nimport seaborn as sns\nimport matplotlib.pyplot as plt\n\nfrom matplotlib.colors import LinearSegmentedColormap\nfrom matplotlib.lines import Line2D \n\nimport psycopg2\nimport pandas.io.sql as sqlio... | [
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
tritemio/multispot_paper | usALEX-5samples-E-corrected-all-ph.ipynb | mit | [
"usALEX-5samples - Template\n\nThis notebook is executed through 8-spots paper analysis.\nFor a direct execution, uncomment the cell below.",
"# data_id = \"7d\"",
"Load software and filenames definitions",
"from fretbursts import *\n\ninit_notebook()\nfrom IPython.display import display",
"Data folder:",
... | [
"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... |
amueller/odsc-masterclass-2017-morning | notebooks/00 - Data Loading.ipynb | mit | [
"Data Loading\nGet some data to play with",
"from sklearn.datasets import load_digits\nimport numpy as np\ndigits = load_digits()\ndigits.keys()\n\ndigits.data.shape\n\ndigits.data.shape\n\ndigits.target.shape\n\ndigits.target\n\nnp.bincount(digits.target)\n\nimport matplotlib.pyplot as plt\n%matplotlib inline\n#... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
neeasthana/ML-SQL | ML-SQL/Pyparsing tutorial.ipynb | gpl-3.0 | [
"Pyparsing Tutorial to capture ML-SQL language\nAuthors\nWritten by: Neeraj Asthana (under Professor Robert Brunner)\nUniversity of Illinois at Urbana-Champaign\nSummer 2016\nAcknowledgements\nFollowed Tutorial at: http://www.onlamp.com/lpt/a/6435\nDescription\nThis notebook is meant to experiment with pyparsing in... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
deepchem/deepchem | examples/tutorials/Physics_Informed_Neural_Networks.ipynb | mit | [
"<a href=\"https://colab.research.google.com/github/VIGNESHinZONE/Beginners-level-ML-projects/blob/master/Writing_Tutorial.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>\nTutorial 33: Physics Informed Neural Networks using JaxModel & PINN... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
GoogleCloudPlatform/training-data-analyst | courses/machine_learning/deepdive2/end_to_end_ml/labs/deploy_keras_ai_platform_babyweight.ipynb | apache-2.0 | [
"Deploy and predict with Keras model on Cloud AI Platform.\nLearning Objectives\n\nSetup up the environment\nDeploy trained Keras model to Cloud AI Platform\nOnline predict from model on Cloud AI Platform\nBatch predict from model on Cloud AI Platform\n\nIntroduction\nVerify that you have previously Trained your Ke... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
tensorflow/docs-l10n | site/en-snapshot/guide/keras/transfer_learning.ipynb | apache-2.0 | [
"Copyright 2020 The TensorFlow Authors.",
"#@title 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 ... | [
"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... |
NuGrid/NuPyCEE | DOC/Teaching/.ipynb_checkpoints/Section2.1-checkpoint.ipynb | bsd-3-clause | [
"Section 2.1: Tracing the origin of C\nResult: Identification of which star is responsible for the origin of C",
"import matplotlib.pyplot as plt\nimport sygma\nimport omega\nimport stellab\n\n#loading the observational data module STELLAB\nstellab = stellab.stellab()",
"Simulation of the Milky Way",
"# OMEGA... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
phoebe-project/phoebe2-docs | 2.1/tutorials/MESH.ipynb | gpl-3.0 | [
"'mesh' Datasets and Options\nSetup\nLet's first make sure we have the latest version of PHOEBE 2.1 installed. (You can comment out this line if you don't use pip for your installation or don't want to update to the latest release).",
"!pip install -I \"phoebe>=2.1,<2.2\"",
"As always, let's do imports and init... | [
"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... |
computational-class/cc2017 | data/06.data_cleaning_Tweets.ipynb | mit | [
"数据清洗之推特数据\n\n\n王成军\nwangchengjun@nju.edu.cn\n计算传播网 http://computational-communication.com\n数据清洗(data cleaning)\n是数据分析的重要步骤,其主要目标是将混杂的数据清洗为可以被直接分析的数据,一般需要将数据转化为数据框(data frame)的样式。\n本章将以推特文本的清洗作为例子,介绍数据清洗的基本逻辑。\n\n清洗错误行\n正确分列\n提取所要分析的内容\n介绍通过按行、chunk的方式对大规模数据进行预处理\n\n1. 抽取tweets样本做实验\n此节学生略过",
"bigfile = open('/Us... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
dolittle007/dolittle007.github.io | notebooks/gaussian-mixture-model-advi.ipynb | gpl-3.0 | [
"Gaussian Mixture Model with ADVI\nHere, we describe how to use ADVI for inference of Gaussian mixture model. First, we will show that inference with ADVI does not need to modify the stochastic model, just call a function. Then, we will show how to use mini-batch, which is useful for large dataset. In this case, wh... | [
"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... |
walkon302/CDIPS_Recommender | notebooks/.ipynb_checkpoints/Recommendation_Compare_Methods-checkpoint.ipynb | apache-2.0 | [
"Recommendation Methods:\nAlg 0: Most similar items to user's previous views\nOffline: \n1. For each item, calculate features on trained neural network $ f_j $\n2. For each user, look up previous views and average the features together of the previous visit $ f_i = \\sum_j f_j*I(i,j) $\n3. Store the features of the... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
CentroGeo/geoinformatica | vecindades_python/vecindades_2.ipynb | gpl-3.0 | [
"Parte 2. Cálculos en vecindades\nEn la primera parte del taller trabajamos los datos para calcular las variables que nos interesan y agruparlas por AGEB. Ahora, en esta segunda parte, vamos a partir de los datos ya procesados y vamos a realizar algunos cálculos a partir de los valores en los polígonos vecinos.\nEl... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
wangg12/caffe | examples/01-learning-lenet.ipynb | bsd-2-clause | [
"Python solving with LeNet\nIn this example, we'll explore learning with Caffe in Python, using the fully-exposed Solver interface.",
"import os\nos.chdir('..')\n\nimport sys\nsys.path.insert(0, './python')\nimport caffe\n\nfrom pylab import *\n%matplotlib inline",
"We'll be running the provided LeNet example (... | [
"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... |
anjsimmo/simple-ml-pipeline | jupyter_notebooks/traveltime_lineartime.ipynb | mit | [
"Design of traveltime_lineartime learner\nWe design a learner to predict Travel Time from the time of day.\nImport Data",
"# allow importing modules and datafiles up one directory\nimport os\nos.chdir('../')\n\nimport pandas as pd\nimport numpy as np\nimport datetime\nimport math\nimport datatables.traveltime\n\n... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
adrn/thejoker | docs/examples/1-Getting-started.ipynb | mit | [
"%run notebook_setup",
"Getting started with The Joker\nThe Joker (pronounced Yo-kurr) is a highly specialized Monte Carlo (MC) sampler that is designed to generate converged posterior samplings for Keplerian orbital parameters, even when your data are sparse, non-uniform, or very noisy. This is not a general MC ... | [
"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... |
synthicity/activitysim | activitysim/examples/example_estimation/notebooks/01_estimation_mode.ipynb | agpl-3.0 | [
"Estimation Mode\nThis set of notebooks illustrates how to re-estimate ActivitySim's choice models. These models include\n\nschool_location\nworkplace_location\nauto_ownership\nfree_parking\ncdap\nmandatory_tour_frequency\nmandatory_tour_scheduling (work and school estimated seperately)\njoint_tour_frequency\njoin... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
mramanathan/pydiary_notes | functools_partial_usage.ipynb | gpl-3.0 | [
"26/May/2016:\n** Hey, what's this 'functools' thingy, huh !?!",
"import functools\n\ndef hello_doctor(greet_msg, greet_whom):\n return \"%s %s, Welcome to the world of robots.\" %(greet_msg, greet_whom)\n\n## this line works\n# hello_doctor = functools.partial(hello_doctor, \"R2-D2\")\n# hello_doctor(\"Dr.Sus... | [
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
DwangoMediaVillage/pqkmeans | tutorial/4_comparison_to_faiss.ipynb | mit | [
"Chapter 4: Comparison to faiss\nThis chapter contains the followings:\n\nSetup the experiment using SIFT1M\nSmall-scale comparison: N=10^5, K=10^3 (k-means with faiss-CPU and k-means with sklearn)\nLarge-scale comparison: N=10^6, K=10^4 (PQk-means, k-means with faiss-CPU, and k-measn with falss-GPU)\n\nRequisites:... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
computational-class/cjc2016 | code/08.06-regression.ipynb | mit | [
"Simple Linear Regression\nWe used the correlation function to measure the strength of the linear relationship between two variables. For most applications, knowing that such a linear relationship exists isn’t enough. We’ll want to be able to understand the nature of the relationship. This is where we’ll use simple... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
evanmiltenburg/python-for-text-analysis | Assignments-colab/ASSIGNMENT_RESIT_A.ipynb | apache-2.0 | [
"<a href=\"https://colab.research.google.com/github/cltl/python-for-text-analysis/blob/colab/Assignments-colab/ASSIGNMENT_RESIT_A.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>",
"%%capture\n!wget https://github.com/cltl/python-for-text... | [
"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... |
ES-DOC/esdoc-jupyterhub | notebooks/mohc/cmip6/models/hadgem3-gc31-hm/aerosol.ipynb | gpl-3.0 | [
"ES-DOC CMIP6 Model Properties - Aerosol\nMIP Era: CMIP6\nInstitute: MOHC\nSource ID: HADGEM3-GC31-HM\nTopic: Aerosol\nSub-Topics: Transport, Emissions, Concentrations, Optical Radiative Properties, Model. \nProperties: 69 (37 required)\nModel descriptions: Model description details\nInitialized From: -- \nNoteboo... | [
"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... |
KitwareMedical/ITKTubeTK | examples/TubeNumPyArrayAndPropertyHistograms.ipynb | apache-2.0 | [
"This notebook illustrates the TubeTK tube NumPy array data structure and how to create histograms of the properties of a VesselTube.\nFirst, import the function for reading a tube file in as a NumPy array, and read in the file.",
"import os\nimport sys\n\nfrom _tubetk_numpy import tubes_from_file\n\ntubes = tube... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
turbomanage/training-data-analyst | courses/machine_learning/deepdive2/image_classification/labs/2_mnist_models.ipynb | apache-2.0 | [
"MNIST Image Classification with TensorFlow on Cloud ML Engine\nThis notebook demonstrates how to implement different image models on MNIST using the tf.keras API.\nLearning Objectives\n\nUnderstand how to build a Dense Neural Network (DNN) for image classification\nUnderstand how to use dropout (DNN) for image cla... | [
"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... |
maxpumperla/elephas | examples/Spark_ML_Pipeline.ipynb | mit | [
"Spark ML model pipelines on Distributed Deep Neural Nets\nThis notebook describes how to build machine learning pipelines with Spark ML for distributed versions of Keras deep learning models. As data set we use the Otto Product Classification challenge from Kaggle. The reason we chose this data is that it is small... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
rddy/lentil | nb/model_explorations.ipynb | apache-2.0 | [
"from __future__ import division\n\nimport pickle\nimport os\nimport random\n\nfrom matplotlib import pyplot as plt\nimport numpy as np\n\nimport seaborn as sns\nsns.set_style('whitegrid')\n\nfrom lentil import datatools\nfrom lentil import models\nfrom lentil import est\nfrom lentil import evaluate\n\n%matplotlib ... | [
"code",
"markdown",
"code",
"markdown",
"code"
] |
tsavo-sevenoaks/garth | ipython_notebook_tutorial.ipynb | gpl-3.0 | [
"Text Using Markdown\nIf you double click on this cell, you will see the text change so that all of the formatting is removed. This allows you to edit this block of text. This block of text is written using Markdown, which is a way to format text using headers, links, italics, and many other options. Hit shift + en... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
SJSlavin/phys202-2015-work | assignments/assignment05/InteractEx04.ipynb | mit | [
"Interact Exercise 4\nImports",
"%matplotlib inline\nimport matplotlib.pyplot as plt\nimport numpy as np\n\nfrom IPython.html.widgets import interact, interactive, fixed\nfrom IPython.display import display",
"Line with Gaussian noise\nWrite a function named random_line that creates x and y data for a line with... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
AeroPython/Taller-PyConEs-2015 | Teoria III - Exploracion-Explotacion.ipynb | mit | [
"Simplifica tu vida con sistemas complejos y algoritmos genéticos\nParte 3 - El dilema Exploración - Explotación: feedback positivo y negativo\nCuando usamos algoritmos genéticos y sistemas complejos, en general, estaremos buscando optimizar funciones muy complicadas, de varios parámetros, a menudo incluso implícit... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
transcranial/keras-js | notebooks/layers/pooling/MaxPooling1D.ipynb | mit | [
"import numpy as np\nfrom keras.models import Model\nfrom keras.layers import Input\nfrom keras.layers.pooling import MaxPooling1D\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 arr]\n\n... | [
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
pligor/predicting-future-product-prices | 04_time_series_prediction/.ipynb_checkpoints/30_price_history_dataset_per_mobile_phone-arima-checkpoint.ipynb | agpl-3.0 | [
"# -*- coding: UTF-8 -*-\n#%load_ext autoreload\n%reload_ext autoreload\n%autoreload 2\n\nfrom __future__ import division\nimport tensorflow as tf\nfrom os import path, remove\nimport numpy as np\nimport pandas as pd\nimport csv\nfrom sklearn.model_selection import StratifiedShuffleSplit\nfrom time import time\nfro... | [
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
cavestruz/StrongCNN | notebooks/Bootstrap_Analysis.ipynb | mit | [
"(1) average the scores between the _0,_1,_2,_3 directions to get average score per image in each HOG configuration. \n(2) In each HOG configuration, calculate the Precision and Recall values. \n(3) \"Bootstrap\" or \"jacknife\" to get an error on the AUC for each HOG configuration, describe how you bootstrapped it... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
Lstyle1/Deep_learning_projects | autoencoder/Simple_Autoencoder_Solution.ipynb | mit | [
"A Simple Autoencoder\nWe'll start off by building a simple autoencoder to compress the MNIST dataset. With autoencoders, we pass input data through an encoder that makes a compressed representation of the input. Then, this representation is passed through a decoder to reconstruct the input data. Generally the enco... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
crystalzhaizhai/cs207_yi_zhai | homeworks/HW10/HW10.ipynb | mit | [
"Homework 10: SQL\nDue Date: Thursday, November 16th at 11:59 PM\nYou will create a database of the NASA polynomial coefficients for each specie.\nPlease turn in your database with your Jupyter notebook!\nQuestion 1: Convert XML to a SQL database\nCreate two tables named LOW and HIGH, each corresponding to data gi... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
zomansud/coursera | ml-classification/week-6/module-9-precision-recall-assignment-blank.ipynb | mit | [
"Exploring precision and recall\nThe goal of this second notebook is to understand precision-recall in the context of classifiers.\n\nUse Amazon review data in its entirety.\nTrain a logistic regression model.\nExplore various evaluation metrics: accuracy, confusion matrix, precision, recall.\nExplore how various m... | [
"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... |
SheffieldML/GPyOpt | manual/GPyOpt_context.ipynb | bsd-3-clause | [
"GPyOpt: using context variables\nJavier Gonzalez and Rodolphe Jenatton, Amazon.com\nLast updated Monday, July 2017\nIn this notebook we are going to see how to used GPyOpt to solve optimizaiton problems in which certain varaibles are fixed during the optimization phase. These are called context variables. For deta... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
therealAJ/python-sandbox | data-science/learning/ud2/Part 1 Exercise Solutions/Matplotlib Exercises .ipynb | gpl-3.0 | [
"<a href='http://www.pieriandata.com'> <img src='../Pierian_Data_Logo.png' /></a>\n\nMatplotlib Exercises\nWelcome to the exercises for reviewing matplotlib! Take your time with these, Matplotlib can be tricky to understand at first. These are relatively simple plots, but they can be hard if this is your first time... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
intel-analytics/analytics-zoo | apps/ray/parameter_server/sharded_parameter_server.ipynb | apache-2.0 | [
"This notebook is adapted from:\nhttps://github.com/ray-project/tutorial/tree/master/examples/sharded_parameter_server.ipynb\nSharded Parameter Servers\nGOAL: The goal of this exercise is to use actor handles to implement a sharded parameter server example for distributed asynchronous stochastic gradient descent.\n... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
liganega/Gongsu-DataSci | ref_materials/exams/2017/A02/midterm-a02.ipynb | gpl-3.0 | [
"from __future__ import division, print_function\nimport matplotlib.pyplot as plt\nimport numpy as np\n\n%matplotlib inline",
"파이썬 기본 자료형\n문제\n실수(부동소수점)를 하나 입력받아, 그 숫자를 반지름으로 하는 원의 면적과 둘레의 길이를 튜플로 리턴하는 함수 circle_radius를 구현하는 코드를 작성하라,\n```\n.\n```\n문자열 자료형\n아래 사이트는 커피 콩의 현재 시세를 보여준다.\nhttp://beans-r-us.appspot.co... | [
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
planetlabs/notebooks | jupyter-notebooks/analytics-snippets/roads_as_vector.ipynb | apache-2.0 | [
"Roads as Vectors\nThis notebook demonstrates converting the roads raster that is the output of the Analaytics feed into a vector dataset.\nIt demonstrates the following techniques for converting to vector:\n1. GDAL CLI\n2. Rasterio (no processing)\n3. Rasterio (with filtering and simplification)",
"import os\n\n... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
radu941208/DeepLearning | Sequence_Models/Emojify+-+v2.ipynb | mit | [
"Emojify!\nWelcome to the second assignment of Week 2. You are going to use word vector representations to build an Emojifier. \nHave you ever wanted to make your text messages more expressive? Your emojifier app will help you do that. So rather than writing \"Congratulations on the promotion! Lets get coffee and t... | [
"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... |
sandrofsousa/Resolution | Pysegreg/Pysegreg_notebook_distance.ipynb | mit | [
"Pysegreg run - Distance based\n Instructions\nFor fast processing, you can just change the following variables before running:\n* path/name at Input file cell (select the file you want to use)\n* bandwidth and weigth method at compute population intensity cell\n* file name in the variable fname at section Save res... | [
"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... |
markovmodel/adaptivemd | examples/tutorial/4_example_advanced_tasks.ipynb | lgpl-2.1 | [
"AdaptiveMD\nExample 4 - Custom Task objects\n0. Imports",
"from adaptivemd import Project, File, PythonTask, Task",
"Let's open our test project by its name. If you completed the first examples this should all work out of the box.\nOpen all connections to the MongoDB and Session so we can get started.",
"pro... | [
"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... |
cristhro/Machine-Learning | ejercicio 5/Practica 5.ipynb | gpl-3.0 | [
"Sacar la lista de 250 Pelis",
"from imdb import IMDb\nfrom datetime import datetime\nfrom elasticsearch import Elasticsearch\nes = Elasticsearch()\n\nia = IMDb()\nlistaPelis = ia.get_top250_movies()\nlistaPelis",
"Sacar toda la info de una peli para poder meterla en un diccionario y usarla en ElasticSearch, in... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
csaladenes/csaladenes.github.io | present/bi2/2020/ubb/az_en_jupyter2_mappam/sklearn_tutorial/05-Validation.ipynb | mit | [
"<small><i>This notebook was put together by Jake Vanderplas. Source and license info is on GitHub.</i></small>\nValidation and Model Selection\nIn this section, we'll look at model evaluation and the tuning of hyperparameters, which are parameters that define the model.",
"from __future__ import print_function, ... | [
"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... |
DJCordhose/ai | notebooks/rl/berater-v4.ipynb | mit | [
"<a href=\"https://colab.research.google.com/github/DJCordhose/ai/blob/master/notebooks/rl/berater-v4.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>\nBerater Environment v4\nChanges from v3\n\nclean up\nplot performance\nswitched back to ... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown",
"code"
] |
wuafeing/Python3-Tutorial | 02 strings and text/02.08 regexp for multiline partterns.ipynb | gpl-3.0 | [
"Previous\n2.8 多行匹配模式\n问题\n你正在试着使用正则表达式去匹配一大块的文本,而你需要跨越多行去匹配。\n解决方案\n这个问题很典型的出现在当你用点 (.) 去匹配任意字符的时候,忘记了点 (.) 不能匹配换行符的事实。 比如,假设你想试着去匹配 C 语言分割的注释:",
"import re\ncomment = re.compile(r\"/\\*(.*?)\\*/\")\ntext1 = '/* this is a comment */'\ntext2 = '''/* this is a\nmultiline comment */\n'''\ncomment.findall(text1)\n\n... | [
"markdown",
"code",
"markdown",
"code",
"markdown",
"code",
"markdown"
] |
MarsUniversity/ece387 | website/block_1_basics/lsn3/lsn3.ipynb | mit | [
"Python\nKevin J. Walchko\ncreated 16 Nov 2017\n\nHere we will use python as our programming language. Python, like any other language, is really vast and complex. We will just cover the basics we need.\nObjectives\n\nUnderstand\ngeneral syntax\nfor/while loops\nif/elif/else\nfunctions\ndata types: tuples, list, st... | [
"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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.