Skip to content

Instantly share code, notes, and snippets.

Avatar

Amit Kumar Jaiswal amitkumarj441

View GitHub Profile
@amitkumarj441
amitkumarj441 / Pinterest_dataset.md
Last active Oct 14, 2020
Pinterest Food Images Dataset for Recommendation Task
View Pinterest_dataset.md

Pinterest Image Dataset

We crawled the Pinterest dataset and is collected from Pinterest.com for content-based image recommendation task. The dataset consist of image samples of two food categories, namely, Spaghetti Bolognese and Zoodles.

However, due to the data sharing policy of Pinterest, we share only tiny samples of the actual collected dataset and its label.

The link below is a sample of images from Zoodle category with corresponding labels/Pins.

  1. Zoodle category labels (from Image Recommendation): https://bit.ly/2Ivfoo6
  2. Zoodle Image Category labelled data: https://bit.ly/3lM8PM5
View qkd.txt
https://www.etsi.org/deliver/etsi_gr/QKD/001_099/003/02.01.01_60/gr_QKD003v020101p.pdf
View bgrahm.txt
https://github.com/btgraham/SparseConvNet/tree/kaggle_Diabetic_Retinopathy_competition
View xgb_lgb_log.txt
For LGBM on F1 set
``````````````
working fold 0
fold 0
Training until validation scores don't improve for 200 rounds.
[1000] training's l1: 2.13847 valid_1's l1: 2.31434
[2000] training's l1: 1.81812 valid_1's l1: 1.90579
[3000] training's l1: 1.60539 valid_1's l1: 1.73527
[4000] training's l1: 1.43323 valid_1's l1: 1.64906
[5000] training's l1: 1.28761 valid_1's l1: 1.58606
@amitkumarj441
amitkumarj441 / h2o.txt
Last active Dec 15, 2018
Spin H2O 🚀
View h2o.txt
`````````````````````````````````````````````````````````
ith@ith-ThinkPad-W520:~$ pip install h2o
Collecting h2o
Downloading https://files.pythonhosted.org/packages/6e/e4/1b34202b4887f8187f72acaa178eb4ff87982a9583008c78e1929d8a5e23/h2o-3.22.0.2.tar.gz (120.6MB)
100% |████████████████████████████████| 120.6MB 344kB/s
Requirement already satisfied: requests in ./anaconda3/lib/python3.6/site-packages (from h2o) (2.11.1)
Collecting tabulate (from h2o)
Downloading https://files.pythonhosted.org/packages/12/c2/11d6845db5edf1295bc08b2f488cf5937806586afe42936c3f34c097ebdc/tabulate-0.8.2.tar.gz (45kB)
100% |████████████████████████████████| 51kB 5.3MB/s
Requirement already satisfied: future in ./anaconda3/lib/python3.6/site-packages (from h2o) (0.16.0)
View contract.txt
```
ith@ith-ThinkPad-W520:~/Practice/BCP2P$ truffle compile
Compiling ./contracts/Admin.sol...
Compiling ./contracts/FlightInsurance.sol...
Compiling ./contracts/FlightInterface.sol...
Compiling ./contracts/InsuranceInterface.sol...
Compiling ./contracts/Migrations.sol...
Compiling ./contracts/OraclizeTest.sol...
Compiling installed_contracts/SafeMath.sol...
Compiling installed_contracts/StringUtils.sol...
@amitkumarj441
amitkumarj441 / gist:f4e2cee2b389a711fd8b4be94e93aa16
Created Jul 15, 2018 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup
View gist:f4e2cee2b389a711fd8b4be94e93aa16

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@amitkumarj441
amitkumarj441 / ner.md
Last active Jul 14, 2018
Named entity recognition stuffs
View ner.md

CoNLL-2003 Shared Task: Language-Independent Named Entity Recognition

The CoNLL-2003 (Sang et al. 2003) shared task deals with language-independent named entity recognition as well (English and German).

Dataset

The CoNLL-2003 shared task data files contain four columns separated by a single space. Each word has been put on a separate line and there is an empty line after each sentence. The first item on each line is a word, the second a part-of-speech (POS) tag, the third a syntactic chunk tag and the fourth the named entity tag. The chunk tags and the named entity tags have the format I-TYPE which means that the word is inside a phrase of type TYPE. Only if two phrases of the same type immediately follow each other, the first word of the second phrase will have tag B-TYPE to show that it starts a new phrase. A word with tag O is not part of a phrase.

The English data is a collection of news wire articles from the Reuters Corpus. The annotation has been done

View lsa_log.txt
ith@ith-ThinkPad-W520:~$ ssh -i /home/ith/Downloads/cloud_mining.pem ubuntu@35.174.105.75
The authenticity of host '35.174.105.75 (35.174.105.75)' can't be established.
ECDSA key fingerprint is SHA256:Q4iQXcdjrdt3YKd9A8zhBz3cpEkw9rAgjSJcnkZ2dRs.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '35.174.105.75' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-1052-aws x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
@amitkumarj441
amitkumarj441 / v.py
Created Jan 28, 2018
Make vyper easy
View v.py
from web3 import Web3, HTTPProvider
from viper import compiler
from web3.contract import ConciseContract
from time import sleep
example_contract = open('./path/to/contract.v.py', 'r')
contract_code = example_contract.read()
example_contract.close()
cmp = compiler.Compiler()