repo_name
stringlengths
6
77
path
stringlengths
8
215
license
stringclasses
15 values
cells
list
types
list
pk-ai/training
machine-learning/deep-learning/udacity/ud730/1_notmnist.ipynb
mit
[ "Deep Learning\nAssignment 1\nThe objective of this assignment is to learn about simple data curation practices, and familiarize you with some of the data we'll be reusing later.\nThis notebook uses the notMNIST dataset to be used with python experiments. This dataset is designed to look like the classic MNIST data...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
mattgiguere/doglodge
code/.ipynb_checkpoints/bf_qt_scraping-checkpoint.ipynb
mit
[ "bf_qt_scraping\nThis notebook describes how hotel data can be scraped using PyQT.\nThe items we want to extract are:\n- the hotels for a given city\n- links to each hotel page\n- text hotel summary\n- text hotel description\nOnce the links for each hotel are determined, I then want to extract the following items p...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
tritemio/multispot_paper
out_notebooks/usALEX-5samples-E-corrected-all-ph-out-12d.ipynb
mit
[ "Executed: Mon Mar 27 11:39:24 2017\nDuration: 7 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 = \"None\"\n\ndata_id = \"12d\"\n\n# data_id = \"7d\"", "Load software and filenames definitions", ...
[ "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...
tritemio/multispot_paper
out_notebooks/usALEX-5samples-PR-raw-dir_ex_aa-fit-out-AexAem-17d.ipynb
mit
[ "Executed: Mon Mar 27 11:38:07 2017\nDuration: 10 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 = \"AexAem\"\n\ndata_id = \"17d\"\n\n# ph_sel_name = \"all-ph\"\n# data_id = \"7d\"", "Load softwa...
[ "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...
Juan-Mateos/coll_int_ai_case
notebooks/ml_topic_analysis_exploration.ipynb
mit
[ "Prototype pipeline for the analysis of ML arxiv data\nWe query arxiv to get papers, and then run them against Crossref event data to find social media discussion and Microsoft Academic Knowledge to find institutional affiliations\n```\nQuery Arxiv -> Paper repository -> Analysis -> Topic model -> Classify\n ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
jmschrei/pomegranate
tutorials/old/Tutorial_7_Parallelization.ipynb
mit
[ "pomegranate and parallelization\npomegranate supports parallelization through a set of built in functions based off of joblib. All computationally intensive functions in pomegranate are implemented in cython with the global interpreter lock (GIL) released, allowing for multithreading to be used for efficient paral...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
arsenovic/galgebra
examples/ipython/inner_product.ipynb
bsd-3-clause
[ "from __future__ import print_function\nfrom sympy import Symbol, symbols, sin, cos, Rational, expand, simplify, collect, S\nfrom galgebra.printer import Eprint, Get_Program, Print_Function, Format\nfrom galgebra.ga import Ga, one, zero\nfrom galgebra.mv import Nga\nFormat()\n\nX = (x, y, z) = symbols('x y z')\no3d...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
jbliss1234/ML
t81_558_class4_class_reg.ipynb
apache-2.0
[ "T81-558: Applications of Deep Neural Networks\nClass 4: Classification and Regression\n* Instructor: Jeff Heaton, School of Engineering and Applied Science, Washington University in St. Louis\n* For more information visit the class website.\nBinary Classification, Classification and Regression\n\nBinary Classifica...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
agmarrugo/sensors-actuators
notebooks/Ex_2_3.ipynb
mit
[ "The transfer function\nAnalytic form of transfer function. In certain cases the transfer function is available as an analytic expression. One common transfer function used for resistance temperature sensors (to be discussed in Chapter 3) is the Callendar– Van Duzen equation. It gives the resistance of the sensor a...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
rayjustinhuang/DataAnalysisandMachineLearning
Linear Programming with OR-Tools.ipynb
mit
[ "Linear Programming with OR-Tools\nIn this notebook, we do some basic LP solving with Google's OR-Tools. Problems used will be examples in Hamdy Taha's Operations Research: An Introduction, 9th Edition, which I have in paperback.", "from ortools.linear_solver import pywraplp", "Reddy Mikks model\nGiven the foll...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
RaRe-Technologies/gensim
docs/notebooks/nmslibtutorial.ipynb
lgpl-2.1
[ "Similarity Queries using Nmslib Tutorial\nThis tutorial is about using the (Non-Metric Space Library (NMSLIB)) library for similarity queries with a Word2Vec model built with gensim.\nWhy use Nmslib?\nThe current implementation for finding k nearest neighbors in a vector space in gensim has linear complexity via b...
[ "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...
dipanjanS/BerkeleyX-CS100.1x-Big-Data-with-Apache-Spark
Week 2 - Introduction to Apache Spark/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...
guillaume-chevalier/LSTM-Human-Activity-Recognition
LSTM.ipynb
mit
[ "<a title=\"Activity Recognition\" href=\"https://github.com/guillaume-chevalier/LSTM-Human-Activity-Recognition\" > LSTMs for Human Activity Recognition</a>\nHuman Activity Recognition (HAR) using smartphones dataset and an LSTM RNN. Classifying the type of movement amongst six categories:\n- WALKING,\n- WALKING_U...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
telegraphic/allantools
examples/gradev-demo.ipynb
gpl-3.0
[ "GRADEV: gap robust allan deviation\nNotebook setup & package imports", "%matplotlib inline\n\nimport pylab as plt\nimport numpy as np", "Gap robust allan deviation comparison\nCompute the GRADEV of a white phase noise. Compares two different\nscenarios. 1) The original data and 2) ADEV estimate with gap robust...
[ "markdown", "code", "markdown", "code", "markdown", "code" ]
ethen8181/machine-learning
model_selection/partial_dependence/partial_dependence.ipynb
mit
[ "<h1>Table of Contents<span class=\"tocSkip\"></span></h1>\n<div class=\"toc\"><ul class=\"toc-item\"><li><span><a href=\"#Partial-Dependence-Plot\" data-toc-modified-id=\"Partial-Dependence-Plot-1\"><span class=\"toc-item-num\">1&nbsp;&nbsp;</span>Partial Dependence Plot</a></span><ul class=\"toc-item\"><li><span>...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
eshlykov/mipt-day-after-day
statistics/hw-13/hw-13.3.ipynb
unlicense
[ "Теоретическое домашнее задание 13\nЗадача 3\nИспользуя метод линейной регрессии, постройте приближение функции $f$ многочленом третьей степени по следующим данным:\n|$f$|3.9|5.0|5.7|6.5|7.1|7.6|7.8|8.1|8.4| \n|---|---|---|---|---|---|---|---|---|---|\n|$x$|4.0|5.2|6.1|7.0|7.9|8.6|8.9|9.5|9.9|", "import numpy\nim...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
pycrystem/pycrystem
doc/demos/02 GaAs Nanowire - Phase Mapping - Orientation Mapping.ipynb
gpl-3.0
[ "Phase/Orientation Mapping\nThis tutorial demonstrates how to achieve phase and orientation mapping via scanning electron diffraction using both pattern and vector matching.\nThe data was acquired from a GaAs nanowire displaying polymorphism between zinc blende and wurtzite structures.\nThis functionaility has been...
[ "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...
davofis/computational_seismology
05_pseudospectral/cheby_derivative_solution.ipynb
gpl-3.0
[ "<div style='background-image: url(\"../../share/images/header.svg\") ; padding: 0px ; background-size: cover ; border-radius: 5px ; height: 250px'>\n <div style=\"float: right ; margin: 50px ; padding: 20px ; background: rgba(255 , 255 , 255 , 0.7) ; width: 50% ; height: 150px\">\n <div style=\"position:...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
ES-DOC/esdoc-jupyterhub
notebooks/cccr-iitm/cmip6/models/sandbox-1/ocean.ipynb
gpl-3.0
[ "ES-DOC CMIP6 Model Properties - Ocean\nMIP Era: CMIP6\nInstitute: CCCR-IITM\nSource ID: SANDBOX-1\nTopic: Ocean\nSub-Topics: Timestepping Framework, Advection, Lateral Physics, Vertical Physics, Uplow Boundaries, Boundary Forcing. \nProperties: 133 (101 required)\nModel descriptions: Model description details\nIni...
[ "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...
RobbieNesmith/PandasTutorial
Tutorial/Exercises-4.ipynb
mit
[ "%matplotlib inline\nimport pandas as pd\nimport seaborn as sbn\nsbn.set()\n\nfrom IPython.core.display import HTML\ncss = open('style-table.css').read() + open('style-notebook.css').read()\nHTML('<style>{}</style>'.format(css))\n\ntitles = pd.DataFrame.from_csv('data/titles.csv', index_col=None)\ntitles.head()\n\n...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
megatharun/basic-python-for-researcher
Tutorial 3 - Conditional Expression.ipynb
artistic-2.0
[ "<span style=\"color: #B40486\">BASIC PYTHON FOR RESEARCHERS</span>\nby Megat Harun Al Rashid bin Megat Ahmad\nlast updated: April 14, 2016\n\n<span style=\"color: #29088A\">3. Conditional Expressions</span>\n$Python$ conditional expressions include the <span style=\"color: #0000FF\">$if/elif/else$</span> statement...
[ "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" ]
stitchfix/d3-jupyter-tutorial
3d_meshing.ipynb
mit
[ "3D Visualization of a Convex Hull with D3\nThis notebook provides a simple example of convex hull visualization using D3.\nD3 Graph Methods\nSee accompanying d3_lib.py and the js and css folders.", "%matplotlib inline\nfrom IPython.core.display import HTML\nimport d3_lib\n\nHTML(d3_lib.set_styles(['basic_axis','...
[ "markdown", "code", "markdown", "code", "markdown", "code" ]
mvdbosch/AtosCodexDemo
Jupyter Notebooks/Explore the CBS Crime and Demographics Dataset.ipynb
gpl-3.0
[ "Atos Codex - Data Scientist Workbench\nExplore the CBS Crime and Demographics Dataset\nFirst check some of the environment specs and see what we have here", "%%bash\ncat /proc/cpuinfo | grep 'processor\\|model name'\n\n%%bash\nfree -g", "Import Python packages", "from __future__ import print_function\nimport...
[ "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...
ramseylab/networkscompbio
class08_components_python3.ipynb
apache-2.0
[ "CS446/546 - Class Session 8 - Components\nIn this class session we are going to find the number of proteins that are in the giant component of the (undirected) protein-protein interaction network, using igraph.", "from igraph import Graph\nfrom igraph import summary\nimport pandas\nimport numpy", "Step 1: loa...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
ES-DOC/esdoc-jupyterhub
notebooks/miroc/cmip6/models/sandbox-3/land.ipynb
gpl-3.0
[ "ES-DOC CMIP6 Model Properties - Land\nMIP Era: CMIP6\nInstitute: MIROC\nSource ID: SANDBOX-3\nTopic: Land\nSub-Topics: Soil, Snow, Vegetation, Energy Balance, Carbon Cycle, Nitrogen Cycle, River Routing, Lakes. \nProperties: 154 (96 required)\nModel descriptions: Model description details\nInitialized From: -- \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...
ES-DOC/esdoc-jupyterhub
notebooks/nuist/cmip6/models/sandbox-2/landice.ipynb
gpl-3.0
[ "ES-DOC CMIP6 Model Properties - Landice\nMIP Era: CMIP6\nInstitute: NUIST\nSource ID: SANDBOX-2\nTopic: Landice\nSub-Topics: Glaciers, Ice. \nProperties: 30 (21 required)\nModel descriptions: Model description details\nInitialized From: -- \nNotebook Help: Goto notebook help page\nNotebook Initialised: 2018-02-15...
[ "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/vertex-ai-samples
notebooks/official/ml_metadata/sdk-metric-parameter-tracking-for-custom-jobs.ipynb
apache-2.0
[ "# Copyright 2022 Google LLC\n#\n# 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 ...
[ "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...
dnxbjyj/python-basic
libs/ConfigParser/handout.ipynb
mit
[ "用ConfigParser模块读写conf配置文件\nConfigParser是Python内置的一个读取配置文件的模块,用它来读取和修改配置文件非常方便,本文介绍一下它的基本用法。\n数据准备\n假设当前目录下有一个名为sys.conf的配置文件,其内容如下:\n```bash\n[db]\ndb_host=127.0.0.1\ndb_port=22\ndb_user=root\ndb_pass=root123\n[concurrent]\nthread = 10\nprocessor = 20\n```\n注:配置文件中,各个配置项其实是用等号'='隔开的键值对,这个等号两边如果有空白符,在处理的时候都会...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
google/floq-client
samples/notebooks/Floq_Client_Colab_Tutorial.ipynb
apache-2.0
[ "Copyright 2021 Floq authors.\nLicensed under the Apache License, Version 2.0 (the \"License\");", "#@title Copyright 2021 Floq authors, All Rights Reserved.\n# 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...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
m2dsupsdlclass/lectures-labs
labs/09_triplet_loss/triplet_loss_totally_looks_like.ipynb
mit
[ "Triplet Loss on Totally Looks Like dataset\nThis notebook is inspired from this Keras tutorial by Hazem Essam and Santiago L. Valdarrama.\nThe goal is to showcase the use of siamese networks and triplet loss to do representation learning using a CNN. It will also showcase data generators and data augmentation tech...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
mne-tools/mne-tools.github.io
0.22/_downloads/243172b1ef6a2d804d3245b8c0a927ef/plot_60_maxwell_filtering_sss.ipynb
bsd-3-clause
[ "%matplotlib inline", "Signal-space separation (SSS) and Maxwell filtering\nThis tutorial covers reducing environmental noise and compensating for head\nmovement with SSS and Maxwell filtering.\n :depth: 2\nAs usual we'll start by importing the modules we need, loading some\nexample data &lt;sample-dataset&gt;,...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
atulsingh0/MachineLearning
BMLSwPython/01_GettingStarted_withPython.ipynb
gpl-3.0
[ "# import\nimport numpy as np\nimport scipy as sp\nimport timeit\nimport matplotlib.pyplot as plt\n\n%matplotlib inline", "Comparing the time", "start = timeit.timeit()\n\nX = range(1000)\n\npySum = sum([n*n for n in X])\n\nend = timeit.timeit()\n\nprint(\"Total time taken: \", end-start)", "Learning Scipy", ...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
uwkejia/Clean-Energy-Outlook
examples/Demo.ipynb
mit
[ "Examples\nImporting libraries", "from ceo import data_cleaning\nfrom ceo import missing_data\nfrom ceo import svr_prediction\nfrom ceo import ridge_prediction", "datacleaning\n\nThe datacleaning module is used to clean and organize the data into 51 CSV files corresponding to the 50 states of the US and the Dis...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
mne-tools/mne-tools.github.io
0.23/_downloads/c7633c38a703b9d0a626a5a4fa161026/psf_ctf_label_leakage.ipynb
bsd-3-clause
[ "%matplotlib inline", "Visualize source leakage among labels using a circular graph\nThis example computes all-to-all pairwise leakage among 68 regions in\nsource space based on MNE inverse solutions and a FreeSurfer cortical\nparcellation. Label-to-label leakage is estimated as the correlation among the\nlabels'...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
tensorflow/docs
site/en/guide/dtensor_overview.ipynb
apache-2.0
[ "Copyright 2019 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...
jbpoline/cnv_analysis
CNV_dangerosite.ipynb
artistic-2.0
[ "%pylab inline\n\nimport numpy as np\nimport scipy.stats as sst\nimport matplotlib.pyplot as plt\nimport os\nimport os.path as osp\nfrom __future__ import print_function\nfrom __future__ import division\nimport six\nimport cnv_util as util\nfrom datetime import datetime\nreload(util)", "Reading TSV files", "CWD...
[ "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" ]
wcmckee/signinlca
pggNumAdd.ipynb
mit
[ "# IPython log file\n\n#get_ipython().magic(u'logstart')\nimport random\nranumlis = []\nranlow = 0\nranhigh = 9\n\nfor ranez in range(10):\n randmun = random.randint(ranlow, ranhigh)\n ranumlis.append(randmun)\n\n ranlow = (ranlow + 10)\n ranhigh = (ranhigh + 10)\n\nprint ranumlis\n\nsavlis = op...
[ "code", "markdown", "code", "markdown", "code" ]
harishkrao/DSE200x
Week-7-MachineLearning/Weather Data Classification using Decision Trees.ipynb
mit
[ "<p style=\"font-family: Arial; font-size:2.75em;color:purple; font-style:bold\">\n\nClassification of Weather Data <br><br>\nusing scikit-learn\n<br><br>\n</p>\n\n<p style=\"font-family: Arial; font-size:1.75em;color:purple; font-style:bold\"><br>\nDaily Weather Data Analysis</p>\n\nIn this notebook, we will use s...
[ "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...
gaufung/Data_Analytics_Learning_Note
python-statatics-tutorial/advance-theme/Singleton.ipynb
mit
[ "Python 单例模式\n1 _new_ 方法\n\n_new_(cls, *args, **kwargs) 创建对象时调用,返回当前对象的一个实例;注意:这里的第一个参数是cls即class本身 \n_init_(self, *args, **kwargs) 创建完对象后调用,对当前对象的实例的一些初始化,无返回值,即在调用__new__之后,根据返回的实例初始化;注意,这里的第一个参数是self即对象本身", "class Singleton(object): \n def __new__(cls, *args, **kwargs): \n if not hasattr(cls, '_i...
[ "markdown", "code", "markdown", "code", "markdown", "code" ]
JackDi/phys202-2015-work
assignments/assignment09/IntegrationEx02.ipynb
mit
[ "Integration Exercise 2\nImports", "%matplotlib inline\nimport matplotlib.pyplot as plt\nimport numpy as np\nimport seaborn as sns\nfrom scipy import integrate", "Indefinite integrals\nHere is a table of definite integrals. Many of these integrals has a number of parameters $a$, $b$, etc.\nFind five of these in...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
serpilliere/miasm
doc/ir/lift.ipynb
gpl-2.0
[ "Prerequisite: the reader is encouraged to read the documentation of expression and locationdb before this part.\nMiasm Intermediate representation\nThe intermediate representation of Miasm allows to represent the side effects of instructions in a control flow graph. To summarise, here is the correspondence between...
[ "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...
bdestombe/flopy-1
examples/Notebooks/flopy3_ZoneBudget_example.ipynb
bsd-3-clause
[ "FloPy\nZoneBudget Example\nThis notebook demonstrates how to use the ZoneBudget class to extract budget information from the cell by cell budget file using an array of zones.\nFirst set the path and import the required packages. The flopy path doesn't have to be set if you install flopy from a binary installer. If...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
tensorflow/docs-l10n
site/ko/probability/examples/Bayesian_Gaussian_Mixture_Model.ipynb
apache-2.0
[ "Copyright 2018 The TensorFlow Probability Authors.\nLicensed under the Apache License, Version 2.0 (the \"License\");", "#@title Licensed under the Apache License, Version 2.0 (the \"License\"); { display-mode: \"form\" }\n# you may not use this file except in compliance with the License.\n# You may obtain a cop...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
JavierVLAB/DataAnalysisScience
AutoMPG/AutoMPG.ipynb
gpl-3.0
[ "<h1>Exploration of Auto MPG</h1>", "import math\nimport numpy\nimport pandas as pd\nimport matplotlib.pyplot as plt\n%matplotlib inline\n\nfrom sklearn.linear_model import LinearRegression\nfrom sklearn.metrics import mean_squared_error\n\n\ncars_names = ['mpg','cylinders','displacement','horsepower',\n ...
[ "markdown", "code", "markdown", "code", "markdown", "code" ]
Merinorus/adaisawesome
Homework/01 - Pandas and Data Wrangling/temp/Data Wrangling with Pandas.ipynb
gpl-3.0
[ "Table of Contents\n<p><div class=\"lev1\"><a href=\"#Data-Wrangling-with-Pandas\"><span class=\"toc-item-num\">1&nbsp;&nbsp;</span>Data Wrangling with Pandas</a></div><div class=\"lev2\"><a href=\"#Date/Time-data-handling\"><span class=\"toc-item-num\">1.1&nbsp;&nbsp;</span>Date/Time data handling</a></div><div cl...
[ "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...
diegocavalca/Studies
phd-thesis/benchmarkings/am207-NILM-project-master/CO.ipynb
cc0-1.0
[ "Karen Yu, Nick Vasios, Thibaut Perol\nAM207 Final Project\nEnergy Disaggregation from Non-Intrusive Load Monitoring\nDISAGGREGATION USING COMBINATORIAL OPTIMIZATION\nImporting Necessary Packages", "from __future__ import print_function, division\n\nimport numpy as np\nimport pandas as pd\nfrom os.path import joi...
[ "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...
amandersillinois/landlab
notebooks/tutorials/flexure/flexure_1d.ipynb
mit
[ "<a href=\"http://landlab.github.io\"><img style=\"float: left\" src=\"../../landlab_header.png\"></a>\nUsing the Landlab 1D flexure component\n<hr>\n<small>For more Landlab tutorials, click here: <a href=\"https://landlab.readthedocs.io/en/latest/user_guide/tutorials.html\">https://landlab.readthedocs.io/en/latest...
[ "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...
nick-youngblut/SIPSim
ipynb/bac_genome/fullCyc/trimDataset/dataset_info.ipynb
mit
[ "General info on the fullCyc dataset (as it pertains to SIPSim validation)\n\nSimulating 12C gradients\nDetermining if simulated taxon abundance distributions resemble the true distributions\nSimulation parameters to infer from dataset:\nInfer total richness of bulk soil community \nrichness of starting community\n...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
dianafprieto/SS_2017
02_NB_IntroductionNumpy.ipynb
mit
[ "<!-- <img src=\"files/images/python-screenshot.jpg\" width=\"600\"> -->\n<img src=\"imgs/header.png\">\nBasics of Numerical Python Arrays (numpy)\n1. In-place Arithmetics", "import numpy as np", "Case 1: a = a+b\nThe sum is first computed and resulting in a new array and the a is bound to the new array", "a ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
jingr1/SelfDrivingCar
TowDHistogramFilter/TowDHistogramFilter.ipynb
mit
[ "Two Dimensional Histogram Filter - Your First Feature (and your first bug).\nWriting code is important. But a big part of being on a self driving car team is working with a large existing codebase. On high stakes engineering projects like a self driving car, you will probably have to earn the trust of your manager...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
CivicKnowledge/metatab-py
examples/Pandas Reporter Example.ipynb
bsd-3-clause
[ "import pandas as pd\nimport numpy as np\nimport pandasreporter as pr\n\n\n# B17001, Poverty Status by Sex by Age\nb17001 = pr.get_dataframe('B17001', '140', '05000US06073', cache=True).ct_columns\n# B17024, Age by Ratio of Income to Poverty Level\nb17024 = pr.get_dataframe('B17024', '140', '05000US06073', cache=Tr...
[ "code", "markdown", "code", "markdown", "code" ]
tensorflow/examples
courses/udacity_intro_to_tensorflow_for_deep_learning/l08c04_time_windows.ipynb
apache-2.0
[ "Copyright 2018 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" ]
wcmckee/wcmckee.com
posts/niktrans.ipynb
mit
[ "<h1>NikTrans</h1>\n\nPython script to create Nikola sites from a list of schools. Edits conf.py file for site name and licence.", "import os\nimport json\n\nos.system('python3 nikoladu.py')\nos.chdir('/home/wcmckee/nik1/')\nos.system('nikola build')\nos.system('rsync -azP /home/wcmckee/nik1/* wcmckee@wcmckee.com...
[ "markdown", "code", "markdown", "code", "markdown", "code" ]
mcocdawc/chemcoord
Tutorial/Gradients.ipynb
lgpl-3.0
[ "Gradients", "import pandas as pd\nimport numpy as np\nimport chemcoord as cc\nimport sympy\nsympy.init_printing()\n\nmolecule = cc.Cartesian.read_xyz('MIL53_beta.xyz', start_index=1)\nr, theta = sympy.symbols('r, theta', real=True)", "Let's build the construction table in order to bend one of the terephtalic a...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
LimeeZ/phys292-2015-work
assignments/assignment08/InterpolationEx01.ipynb
mit
[ "Interpolation Exercise 1", "%matplotlib inline\nimport matplotlib.pyplot as plt\nimport seaborn as sns\nimport numpy as np\n\nfrom scipy.interpolate import interp1d", "2D trajectory interpolation\nThe file trajectory.npz contains 3 Numpy arrays that describe a 2d trajectory of a particle as a function of time:...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
mdbecker/daa_philly_2015
DataPhilly_Analysis.ipynb
mit
[ "Analyzing the Philadelphia Data Science Scene with Python\nInstructions\n\nThe latest version of this notebook can always be found and viewed online here. It's strongly recommended that you view the online version of this document.\nInstructions for setting up Jupyter Notebook and the required libraries can be fou...
[ "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...
ds-modules/LINGUIS-110
FormantsUpdated/Assignment.ipynb
mit
[ "Linguistics 110: Vowel Formants\nProfessor Susan Lin\nIn this notebook, we use both data from an outside source and that the class generated to explore the relationships between formants, gender, and height.\nTable of Contents\n1 - Exploring TIMIT Data\n2 - Using the Class's Data\n3 - Vowel Spaces\n4 - Variation 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...
lmoresi/UoM-VIEPS-Intro-to-Python
Notebooks/SolveMathProblems/0 - IntroductionToNumericalSolutions.ipynb
mit
[ "Numerical models\nWe start with the numerical solution of a very simple differential\nequation. In fact we choose something simple enough that we already \nknow the answer.\n\\[\n \\frac{d\\theta}{dt} = - k \\theta\n\\]\nThis is the equation which governs radioactive decay, in which case\n\\(\\theta \\) is ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
metpy/MetPy
dev/_downloads/9041777e133eed610f5b243c688e89f9/surface_declarative.ipynb
bsd-3-clause
[ "%matplotlib inline", "Surface Analysis using Declarative Syntax\nThe MetPy declarative syntax allows for a simplified interface to creating common\nmeteorological analyses including surface observation plots.", "from datetime import datetime, timedelta\n\nimport cartopy.crs as ccrs\nimport pandas as pd\n\nfrom...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
letsgoexploring/teaching
winter2017/econ129/python/Econ129_Winter2017_Homework2.ipynb
mit
[ "import matplotlib.pyplot as plt\nimport numpy as np\nimport pandas as pd\n%matplotlib inline", "Homework 2 (DUE: Thursday February 16)\nInstructions: Complete the instructions in this notebook. You may work together with other students in the class and you may take full advantage of any internet resources availa...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
besser82/shogun
doc/ipython-notebooks/converter/Tapkee.ipynb
bsd-3-clause
[ "Dimensionality Reduction with the Shogun Machine Learning Toolbox\nBy Sergey Lisitsyn (lisitsyn) and Fernando J. Iglesias Garcia (iglesias).\nThis notebook illustrates <a href=\"http://en.wikipedia.org/wiki/Unsupervised_learning\">unsupervised learning</a> using the suite of dimensionality reduction algorithms ava...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
texaspse/blog
media/f16-scientific-python/week2/Scientific Python Workshop 2.ipynb
mit
[ "First import pandas and numpy", "import pandas as pd\nimport numpy as np\n#Dont import matplotlib until we get to histogram example\nimport matplotlib.pyplot as plt\n#This next line tells jupyter to plot it in the same space\n%matplotlib inline", "Use pd.read_excel in order to open file. If it says file not fo...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
tensorflow/docs-l10n
site/ja/r1/tutorials/keras/overfit_and_underfit.ipynb
apache-2.0
[ "Copyright 2018 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...
ktaneishi/deepchem
examples/notebooks/Estimators.ipynb
mit
[ "Using DeepChem with Tensorflow Data and Estimators\nWhen DeepChem was first created, Tensorflow had no standard interface for datasets or models. We created the Dataset and Model classes to fill this hole. More recently, Tensorflow has added the tf.data module as a standard interface for datasets, and the tf.est...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
metpy/MetPy
v0.12/_downloads/e5685967297554788de3cf5858571b23/Natural_Neighbor_Verification.ipynb
bsd-3-clause
[ "%matplotlib inline", "Natural Neighbor Verification\nWalks through the steps of Natural Neighbor interpolation to validate that the algorithmic\napproach taken in MetPy is correct.\nFind natural neighbors visual test\nA triangle is a natural neighbor for a point if the\ncircumscribed circle &lt;https://en.wikipe...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
konkam/perceptron_guide
README.ipynb
gpl-3.0
[ "Guide: quelques étapes pour programmer un perceptron\nPréliminaire: charger des images en Python et les mettre sous forme de vecteur\nLes images\nAvec votre éditeur d'images préféré, vous pouvez créer une image et la sauvegarder sous un certain format, c'est à dire une manière d'encoder l'image. Ici on prendra l'e...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
betoesquivel/onforums-application
testdataextractor/TestDataExtractor.ipynb
mit
[ "Clustering test data and evaluating clustering technique with it", "from bs4 import BeautifulSoup\n\nf = open('../test_data/1957284403.ofs.gold.xml', 'r')\narticle_text = f.read();\nsoup = BeautifulSoup(article_text, \"lxml\")\n\ncomment = {\n \"bloggerId\": \"author\",\n \"sentences\": [], # all sentences...
[ "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...
MonicaGutierrez/PracticalMachineLearningClass
exercises/06-Titanic_cross_validation.ipynb
mit
[ "Exercise 06\nData preparation and model evaluation exercise with Titanic data\nWe'll be working with a dataset from Kaggle's Titanic competition: data, data dictionary\nGoal: Predict survival based on passenger characteristics\nThe sinking of the RMS Titanic is one of the most infamous shipwrecks in history. On A...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
Diyago/Machine-Learning-scripts
DEEP LEARNING/NLP/text analyses/NB-SVM strong linear baseline - classif.ipynb
apache-2.0
[ "Introduction\nThis kernel shows how to use NBSVM (Naive Bayes - Support Vector Machine) to create a strong baseline for the Toxic Comment Classification Challenge competition. NBSVM was introduced by Sida Wang and Chris Manning in the paper Baselines and Bigrams: Simple, Good Sentiment and Topic Classification. 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" ]
enakai00/jupyter_NikkeiLinux
No5/Figure11 - derivative_animation.ipynb
apache-2.0
[ "[4-1] 動画作成用のモジュールをインポートして、動画を表示可能なモードにセットします。", "import numpy as np\nimport matplotlib.pyplot as plt\nimport matplotlib.animation as animation\n%matplotlib nbagg", "[4-2] x=0.5における接線を描いて、その傾きを求める関数derivativeを定義します。", "def derivative(f, filename):\n fig = plt.figure(figsize=(4,4))\n images = []\n x0,...
[ "markdown", "code", "markdown", "code", "markdown", "code" ]
glouppe/scikit-optimize
examples/strategy-comparison.ipynb
bsd-3-clause
[ "Comparing surrogate models\nTim Head, July 2016.", "import numpy as np\nnp.random.seed(123)\n\n%matplotlib inline\nimport matplotlib.pyplot as plt\nplt.rcParams[\"figure.figsize\"] = (10, 6)\nplt.set_cmap(\"viridis\")", "Bayesian optimization or sequential model-based optimization uses a surrogate model\nto mo...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
NYUDataBootcamp/Projects
UG_S16/Jerry_Allen_Gender_Pay_Gap.ipynb
mit
[ "Gender Pay Gap Inequality in the U.S. and Potential Insights\nA Research Project at NYU's Stern School of Buinsess — May 2016 \nWritten by Jerry \"Joa\" Allen (joa218@nyu.edu)\nAbstract \nAlthough it has been a longstanding issue, the gender pay gap has been an especially touched upon topic in recent times. There...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
zhuanxuhit/deep-learning
embeddings/.ipynb_checkpoints/Skip-Grams-Solution-checkpoint.ipynb
mit
[ "Skip-gram word2vec\nIn this notebook, I'll lead you through using TensorFlow to implement the word2vec algorithm using the skip-gram architecture. By implementing this, you'll learn about embedding words for use in natural language processing. This will come in handy when dealing with things like translations.\nRe...
[ "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" ]
frainfreeze/studying
home/python/learningPython5thED/Learning python 5th ed..ipynb
mit
[ "Test your knowledge: Part II exercises\n1. The basics\nRun each of the following expressions, and try to\nexplain what’s happening in each case. Note that the semicolon in some of these\nis being used as a statement separator, to squeeze multiple statements onto a single\nline: for example, X=1;X assigns and then ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
sdpython/ensae_teaching_cs
_doc/notebooks/exams/td_note_2015.ipynb
mit
[ "1A.e - TD noté, 5 décembre 2014\nParcours de chemins dans un graphe acyclique (arbre).", "from jyquickhelper import add_notebook_menu\nadd_notebook_menu()", "Après chaque question, on vérifie sur un petit exemple que cela fonctionne comme attendu.\nExercice 1\nCe premier exercice aborde la problème d'un parcou...
[ "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...
jbwhit/WSP-312-Tips-and-Tricks
notebooks/07-Some_basics.ipynb
mit
[ "from __future__ import absolute_import, division, print_function", "Github\nhttps://github.com/jbwhit/OSCON-2015/commit/6750b962606db27f69162b802b5de4f84ac916d5\nA few Python Basics", "# Create a [list] \ndays = ['Monday', # multiple lines \n 'Tuesday', # acceptable \n 'Wednesday',\n 'Thur...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
hchauvet/beampy
doc-src/auto_tutorials/positioning_system.ipynb
gpl-3.0
[ "%matplotlib inline", "Beampy Positioning system\nBeampy has a positioning system that allows to make automatic, fixed or\nrelative positioning. The default behavior is set by the theme used in the\npresentation.\nThe default theme sets the coordinates to:\n\nx='center' which means that element is centered in the...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
Ric01/Uso-Google-Finance-Python3
Leer Precio Acciones Python 3.ipynb
gpl-3.0
[ "Tutorial: Uso de la libreria de Google Finance en Python para leer datos de acciones\nPaso 1: Importar las librerias necesarias", "from googlefinance import getQuotes \nimport time \nimport json \nimport os \nimport sys \nfrom IPython.display import clear_output", "Paso 2: Definir una funcion que imprime en fo...
[ "markdown", "code", "markdown", "code", "markdown", "code" ]
crystalzhaizhai/cs207_yi_zhai
lectures/L6/L6.ipynb
mit
[ "Lecture 6: Wednesday, September 20th 2017\nTowards Intermediate Python\nTopics:\n* Recap: How does this stuff really work?\n* Nested environments\n* Closures\n* Decorators\nNested Environments\nYou can nest the definitions of functions. When you do this, inner function definitions are not even evaluated until th...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
GoogleCloudPlatform/vertex-ai-samples
notebooks/community/sdk/sdk_automl_image_classification_batch.ipynb
apache-2.0
[ "# Copyright 2021 Google LLC\n#\n# 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 ...
[ "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...
omoju/Fundamentals
CS/Part_1_Complexity_RunTimeAnalysis.ipynb
gpl-3.0
[ "from IPython.display import display\nfrom IPython.display import HTML\nimport IPython.core.display as di # Example: di.display_html('<h3>%s:</h3>' % str, raw=True)\n\n# This line will hide code by default when the notebook is exported as HTML\ndi.display_html('<script>jQuery(function() {if (jQuery(\"body.notebook_...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
YuriyGuts/kaggle-quora-question-pairs
notebooks/unused/feature-oofp-nn-lstm-with-activations.ipynb
mit
[ "Feature: Out-Of-Fold Predictions and Feature Layer Activations from an LSTM\nIn addition to the output of the final network layer, the model will also output the activations of the intermediate feature layer.\nTo achieve this, we'll create a multi-output network (target output + activations output), and supply dum...
[ "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...
machow/siuba
docs/draft-old-pages/intro_sql_interm.ipynb
mit
[ "import matplotlib.cbook\n\nimport warnings\nimport plotnine\nwarnings.filterwarnings(module='plotnine*', action='ignore')\nwarnings.filterwarnings(module='matplotlib*', action='ignore')\n\n%matplotlib inline", "Querying SQL (advanced)\nNOTE: THIS DOC IS CURRENTLY IN OUTLINE FORM\nIn this tutorial, we'll use a da...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
jpilgram/phys202-2015-work
assignments/assignment10/ODEsEx03.ipynb
mit
[ "Ordinary Differential Equations Exercise 3\nImports", "%matplotlib inline\nimport matplotlib.pyplot as plt\nimport numpy as np\nimport seaborn as sns\nfrom scipy.integrate import odeint\nfrom IPython.html.widgets import interact, fixed", "Damped, driven nonlinear pendulum\nThe equations of motion for a simple ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
mne-tools/mne-tools.github.io
0.18/_downloads/7df5cd97aa959dd7e2627aba5e552081/plot_forward.ipynb
bsd-3-clause
[ "%matplotlib inline", "Head model and forward computation\nThe aim of this tutorial is to be a getting started for forward\ncomputation.\nFor more extensive details and presentation of the general\nconcepts for forward modeling. See ch_forward.", "import os.path as op\nimport mne\nfrom mne.datasets import sampl...
[ "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...
magenta/magenta-demos
jupyter-notebooks/Sketch_RNN_TF_To_JS_Tutorial.ipynb
apache-2.0
[ "In this notebook, I will show how to train the TensorFlow version of Sketch-RNN on a new dataset, and convert the weights of the TF model to a JSON format that is usable by Sketch-RNN-JS so that interactive web demos can be built.\nFor the purpose of this tutorial, I will be training on the dataset file called kan...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
outlace/Machine-Learning-Experiments
VariableOutput.ipynb
mit
[ "A recursive neural network that decides how many times to run itself\nProduces variable-length outputs for static-length inputs.", "import numpy as np\n\nX = np.array([[0,0],[0,1],[1,0],[1,1]])\ny = np.array([[0],[0,0],[0,0,0],[0,0,0,0]])\n\ndef sigmoid(x):\n return np.matrix(1.0 / (1.0 + np.exp(-x)))\n\ndef ...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
machow/siuba
docs/backends.ipynb
mit
[ "import pandas as pd\n\npd.set_option(\"display.max_rows\", 5)", "Backends\nQuick examples\npandas (fast grouped) _", "# pandas fast grouped implementation ----\nfrom siuba.data import cars\nfrom siuba import _\nfrom siuba.experimental.pd_groups import fast_mutate, fast_filter, fast_summarize\n\nfast_mutate(\n ...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
mne-tools/mne-tools.github.io
0.18/_downloads/c92aa91c680730c756234cdbc466c558/plot_introduction.ipynb
bsd-3-clause
[ "%matplotlib inline", "Overview of MEG/EEG analysis with MNE-Python\nThis tutorial covers the basic EEG/MEG pipeline for event-related analysis:\nloading data, epoching, averaging, plotting, and estimating cortical activity\nfrom sensor data. It introduces the core MNE-Python data structures\n:class:~mne.io.Raw, ...
[ "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...
VandyAstroML/Vanderbilt_Computational_Bootcamp
notebooks/Week_05/05_Numpy_Matplotlib.ipynb
mit
[ "Week 5 - Numpy & Matplotlib\nToday's Agenda\n\nNumpy\nMatplotlib\n\nNumpy - Numerical Python\nFrom their website (http://www.numpy.org/):\n\nNumPy is the fundamental package for scientific computing with Python. \n* a powerful N-dimensional array object\n* sophisticated (broadcasting) functions\n* tools for integr...
[ "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...
google/earthengine-api
python/examples/ipynb/UNET_regression_demo.ipynb
apache-2.0
[ "#@title Copyright 2020 Google LLC. { display-mode: \"form\" }\n# 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 b...
[ "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...
ES-DOC/esdoc-jupyterhub
notebooks/test-institute-2/cmip6/models/sandbox-3/atmos.ipynb
gpl-3.0
[ "ES-DOC CMIP6 Model Properties - Atmos\nMIP Era: CMIP6\nInstitute: TEST-INSTITUTE-2\nSource ID: SANDBOX-3\nTopic: Atmos\nSub-Topics: Dynamical Core, Radiation, Turbulence Convection, Microphysics Precipitation, Cloud Scheme, Observation Simulation, Gravity Waves, Solar, Volcanos. \nProperties: 156 (127 required)\nM...
[ "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...
winpython/winpython_afterdoc
docs/installing_julia_and_ijulia.ipynb
mit
[ "Installating Julia/IJulia\n1 - Downloading and Installing the right Julia binary in the right place", "import os\nimport sys\nimport io\nimport re\n\nimport urllib.request as request # Python 3\n\n# get latest stable release info, download link and hashes\ng = request.urlopen(\"https://julialang.org/downloads/\...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
mathnathan/notebooks
mpfi/probability blog post.ipynb
mit
[ "%matplotlib inline\nimport numpy as np\nimport matplotlib.pyplot as plt", "Introduction\nMachine learning literature makes heavy use of probabilistic graphical models\nand bayesian statistics. In fact, state of the art (SOTA) architectures, such as\n[variational autoencoders][vae-blog] (VAE) or [generative adver...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
ES-DOC/esdoc-jupyterhub
notebooks/ec-earth-consortium/cmip6/models/ec-earth3-cc/seaice.ipynb
gpl-3.0
[ "ES-DOC CMIP6 Model Properties - Seaice\nMIP Era: CMIP6\nInstitute: EC-EARTH-CONSORTIUM\nSource ID: EC-EARTH3-CC\nTopic: Seaice\nSub-Topics: Dynamics, Thermodynamics, Radiative Processes. \nProperties: 80 (63 required)\nModel descriptions: Model description details\nInitialized From: -- \nNotebook Help: Goto noteb...
[ "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...
greenca/diy-spectrometer
peak-detection.ipynb
mit
[ "Detecting Peaks in a Spectrum", "import spectrumlib\nimport matplotlib.pyplot as plt\nimport numpy as np\n%pylab inline\n\nfilename = 'shear.png'\nspectrum = spectrumlib.getSpectrum(filename)\n\nplt.plot(spectrum)", "First, find the relative maxima of the spectrum.", "from scipy.signal import argrelextrema\n...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
tanghaibao/goatools
notebooks/cell_cycle.ipynb
bsd-2-clause
[ "Cell Cycle genes\nUsing Gene Ontologies (GO), create an up-to-date list of all human protein-coding genes that are know to be associated with cell cycle.\n1. Download Ontologies, if necessary", "# Get http://geneontology.org/ontology/go-basic.obo\nfrom goatools.base import download_go_basic_obo\nobo_fname = down...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]
AkshanshChahal/BTP
Baseline 2.ipynb
mit
[ "Establishing a Baseline for the Problem\nUsing variety of regression algorithms (non linear)", "import pandas as pd\nimport numpy as np\nfrom sklearn.linear_model import LinearRegression\nfrom sklearn.model_selection import train_test_split\nfrom sklearn.metrics import mean_squared_error\nfrom math import sqrt\n...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
HWNi/data-512-a1
hcds-a1-data-curation.ipynb
mit
[ "A1 Data Curation\nStep1: Data Acquisition", "# Import packages that will be used in this assignment\nimport requests\nimport json\nimport pandas as pd\nimport matplotlib.pyplot as plt\n%matplotlib inline \nimport seaborn as sns\n", "To get the monthly traffic data on English Wikipedia from January 2008 through...
[ "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code" ]
baumanab/noaa_requests
NOAA_sandbox.ipynb
gpl-3.0
[ "import pandas as pd\nimport numpy as np\nfrom pandas.io import json\nimport requests\nimport os\nimport sys\nimport string\n\n\nNOAA_Token_Here= 'enter as string'", "Play with some basic functions adapted from tide data functions\nQuery Builder", "def query_builder(start_dt, end_dt, station, offset= 1):\n\n ...
[ "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown", "code", "markdown" ]