Skip to content

Instantly share code, notes, and snippets.

View jkotra's full-sized avatar
🎯
Focusing

Jagadeesh Kotra jkotra

🎯
Focusing
View GitHub Profile
import mxnet as mx
from mxnet import nd, gluon, autograd
from mxnet.gluon import nn
import mxnet.ndarray as F
class Net(gluon.Block):
def __init__(self, **kwargs):
super(Net, self).__init__(**kwargs)
with self.name_scope():
#include <iostream>
#include <fstream>
#include <string>
#include <array>
using namespace std;
class Cycling{
private:
float place_finished;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jkotra
jkotra / prime.cpp
Created March 9, 2019 13:18
Prime number generator.
#include <iostream>
using namespace std;
void gen_prime(int limit);
int main() {
int limit;
cout << "generate prime numbers upto:";
@jkotra
jkotra / LSTM.ipynb
Created February 25, 2019 13:24
LSTM
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jkotra
jkotra / logonet.md
Created October 21, 2018 15:12
logonet desc

LogoNet

Logonet is a convolutional neural network model to detect brand logo in the given input image.

it can detect the following brand logo's: (updated - 21/10/2018)

['ups','dhl','fedex','aldi','cocacola','mcdonalds']

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jkotra
jkotra / FlowerClassification.ipynb
Created September 8, 2018 02:50
Flower Recognition/Classification with Keras - jagadeeshkotra
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jkotra
jkotra / xgb.py
Created August 29, 2018 17:30
taxi-xgb
parms = {'max_depth': 8,'learning_rate':0.07, 'eta': 0.03, 'subsample': 1, 'colsample_bytree': 0.8, 'objective': 'reg:linear', 'eval_metric': 'rmse', 'silent': 0}
reg = xgb.XGBRegressor(parms=parms,n_jobs=6)
reg = xgb.train(parms, dtrain, num_boost_round=500)