Skip to content

Instantly share code, notes, and snippets.

View aktech's full-sized avatar
🏠

Amit Kumar aktech

🏠
View GitHub Profile
@aktech
aktech / sgkit-pairwise-on-coiled.ipynb
Created November 12, 2020 12:08
sgkit-pairwise-on-coiled
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aktech
aktech / dask-report-16G-4cpu-2threads-parallel-50mb.html
Created November 12, 2020 10:33
dask-report-16G-4cpu-2threads-parallel-50mb.html
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
@aktech
aktech / env.yml
Created November 11, 2020 14:49
coiled_env
name: sgkit
channels:
- conda-forge
dependencies:
- numpy
- xarray
- dask[array]
- dask-ml
@aktech
aktech / symmetric_matrix.ipynb
Created November 9, 2020 21:28
Symmetric Matrix Dask
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aktech
aktech / pairwise-comparison.ipynb
Last active October 15, 2020 20:32
Pairwise comparison
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aktech
aktech / Jsshit.md
Created June 25, 2016 11:37
JS shit
function foo() {
  return typeof null === "undefined";
}

for(var i=0; i<10000; ++i) console.log(foo())
@aktech
aktech / Ubuntu virtualenv issue.md
Created June 7, 2016 10:53
Ubuntu virtualenv issue

Unfortunately, 14.04 shipped with a broken pyvenv. According to this launchpad thread the issue will be resolved in the upcoming 14.04-1

Using this method you can install a Pyvenv environment without pip and then manually install pip after the fact.

pyvenv-3.4 --without-pip myvenv
source ./myvenv/bin/activate
wget https://pypi.python.org/packages/source/s/setuptools/setuptools-3.4.4.tar.gz
tar -vzxf setuptools-3.4.4.tar.gz
cd setuptools-3.4.4
<div class="disqus">
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'iaktech'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
@aktech
aktech / GSoCReport.md
Last active August 29, 2015 14:27
GSoC 2015 Report Amit Kumar : Solvers
@aktech
aktech / Solveset Design.md
Created August 2, 2015 16:20
Solveset Design

Solving as a Set Transformation

Since now ConditionSet has been introduced, the solving of equations can be seen as set transformation. We can do the following things to solve equations:

  • Apply Various Set Transformations on the given Set.
  • Define a Metric of the usability or define a notion of better solution over others.
  • Different Transformation would be the nodes of the tree.