Skip to content

Instantly share code, notes, and snippets.

View ssarkar445's full-sized avatar
:shipit:
Focusing

Suman Sarkar ssarkar445

:shipit:
Focusing
View GitHub Profile
@ssarkar445
ssarkar445 / xgboost_incremental.ipynb
Created February 16, 2024 14:25 — forked from ylogx/xgboost_incremental.ipynb
XGBoost Incremental Learning
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"public_identifier": "suman-sarkar-40b62243",
"profile_pic_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/suman-sarkar-40b62243/profi le?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20231013%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20231013T141619Z& X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=4cece6b3bbe2724374e47154802e1c805c4f166ec58b9ddc263ab7de40ee5dee",
"background_cover_image_u rl": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/suman-sarkar-40b62243/cover?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a04 00b0000000001%2F20231013%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20231013T141619Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=15271 9eb30bb41812f398c2890997b8b941c46179d3389add2f8d441f430b11a",
"first_name": "Suman",
"last_name": "Sarkar",
"full_name": "Suman Sarkar",
"follower_count ": 501,
"occupation": "Application Developer at Oracle in Financial Service
@ssarkar445
ssarkar445 / MaLSTM
Created March 10, 2022 05:22 — forked from GKarmakar/MaLSTM
#Load required Keras libraries:
from keras.preprocessing.sequence import pad_sequences
from keras.models import Model
from keras.layers import Input, Embedding, LSTM, Merge
import keras.backend as K
from keras.optimizers import Adadelta
from keras.callbacks import ModelCheckpoint
I wrote a routine to clean text data
def text_to_word_list(text):
''' Pre process and convert texts to a list of words '''
@ssarkar445
ssarkar445 / ExcelCompare.py
Created March 1, 2022 10:09 — forked from VankatPetr/ExcelCompare.py
Compare 2 Excel files and create an Excel diff using Python
import pandas as pd
from pathlib import Path
#define parameters
#path to files
path_old=Path(r'C:\Users\owner\Documents\old.xlsx')
path_new=Path(r'C:\Users\owner\Documents\new.xlsx')
#list of key column(s)
key=['id']
#sheets to read in