Saptarshi Basu's Blog, page 6
September 11, 2017
Why XGBoost ? and Why is it so Powerful in Machine Learning
#MachineLearning #Algorithms #Boosting #XGBoost #MLAlgorithms #DataScience
Why XGBoost ?Xgboost is short for eXtreme Gradient Boosting package.BTW what is boosting?
Quick Explanation
Two common terms used in ML is Bagging & BoostingBagging: It is an approach where you take random samples of data, build learning algorithms and take simple means to find bagging probabilities.Boosting: Boosting is similar, however the selection of sample is made more intelligently. We subsequently give more and more weight to hard to classify observations.Now coming back to XGBoost, what is it so important ?In broad terms, it’s the efficiency, accuracy and feasibility of this algorithm. It has both linear model solver and tree learning algorithms. So, what makes it fast is its capacity to do parallel computation on a single machine. It also has additional features for doing cross validation and finding important variables.
Features - XGBoostSpeed: it can automatically do parallel computation on Windows and Linux, with OpenMP. It is generally over 10 times faster than the classical gbm.Input Type: it takes several types of input data:Dense Matrix: R's dense matrix, i.e. matrix ;Sparse Matrix: R's sparse matrix, i.e. Matrix::dgCMatrix ;Data File: local data files ;xgb.DMatrix: its own class (recommended).Sparsity: it accepts sparse input for both tree booster and linear booster, and is optimized for sparse input ;Customization: it supports customized objective functions and evaluation functions.Numeric VS categorical variablesXgboost manages only numeric vectors.What to do when you have categorical data?A simple method to convert categorical variable into numeric vector is One Hot Encoding.
Tree Boosting in a Nutshell
We first briefly review the learning objective in tree boosting. For a given data set with n examples and m features a tree ensemble model (shown in Fig. above ) uses K additive functions to predict the output.
Industry Usage?
It has also been widely adopted by industry users, including Google, Alibaba and Tencent, and various startup companies. According to a popular article in Forbes, xgboost can scale with hundreds of workers (with each worker utilizing multiple processors) smoothly and solve machine learning problems involving Terabytes of real world data.
Why XGBoost ?Xgboost is short for eXtreme Gradient Boosting package.BTW what is boosting?
Quick Explanation
Two common terms used in ML is Bagging & BoostingBagging: It is an approach where you take random samples of data, build learning algorithms and take simple means to find bagging probabilities.Boosting: Boosting is similar, however the selection of sample is made more intelligently. We subsequently give more and more weight to hard to classify observations.Now coming back to XGBoost, what is it so important ?In broad terms, it’s the efficiency, accuracy and feasibility of this algorithm. It has both linear model solver and tree learning algorithms. So, what makes it fast is its capacity to do parallel computation on a single machine. It also has additional features for doing cross validation and finding important variables.
Features - XGBoostSpeed: it can automatically do parallel computation on Windows and Linux, with OpenMP. It is generally over 10 times faster than the classical gbm.Input Type: it takes several types of input data:Dense Matrix: R's dense matrix, i.e. matrix ;Sparse Matrix: R's sparse matrix, i.e. Matrix::dgCMatrix ;Data File: local data files ;xgb.DMatrix: its own class (recommended).Sparsity: it accepts sparse input for both tree booster and linear booster, and is optimized for sparse input ;Customization: it supports customized objective functions and evaluation functions.Numeric VS categorical variablesXgboost manages only numeric vectors.What to do when you have categorical data?A simple method to convert categorical variable into numeric vector is One Hot Encoding.

Tree Boosting in a Nutshell
We first briefly review the learning objective in tree boosting. For a given data set with n examples and m features a tree ensemble model (shown in Fig. above ) uses K additive functions to predict the output.
Industry Usage?
It has also been widely adopted by industry users, including Google, Alibaba and Tencent, and various startup companies. According to a popular article in Forbes, xgboost can scale with hundreds of workers (with each worker utilizing multiple processors) smoothly and solve machine learning problems involving Terabytes of real world data.

Published on September 11, 2017 06:16
August 18, 2017
INFOSYS BUYBACK AND YOUR CHANCE TO WIN
#StockTips #NSE #BSE #Sensex #INFY #Infosys #BuyBackInfy's buyback price at INR 1150 AND TOTAL AMOUNT OF INR 13,000 CRORE shows how much the Management is committed...
Also, this is one of the Biggest BUYBACK till date .
A very committed and trust worthy Management .
Interesting Fact : Yesterday, there has been huge buying at INFY Counter. Total traded quantity in BSE - 8157426 , NSE - 82202438
Can you ever imagine a share priced at avg 950-1000 to have such a VOLUME????
Think , the whole thing will be clear .
The Fall yesterday was a Manipulator stock brokers game, but it created GOOD OPPORTUNITY for COMMON MAN , Retail Investors.
Those who can hold for a year should hold , Expect it to reach atleast INR 1500 -1700 surely around August '18 .
This will be one of the biggest turnaround story .
Also, this is one of the Biggest BUYBACK till date .
A very committed and trust worthy Management .
Interesting Fact : Yesterday, there has been huge buying at INFY Counter. Total traded quantity in BSE - 8157426 , NSE - 82202438
Can you ever imagine a share priced at avg 950-1000 to have such a VOLUME????
Think , the whole thing will be clear .
The Fall yesterday was a Manipulator stock brokers game, but it created GOOD OPPORTUNITY for COMMON MAN , Retail Investors.
Those who can hold for a year should hold , Expect it to reach atleast INR 1500 -1700 surely around August '18 .
This will be one of the biggest turnaround story .

Published on August 18, 2017 23:45
WHY INFOSYS ? AND WHY IT SHOULD REACH 1200
Infosys to go ahead with share buyback
- Read more at: http://economictimes.indiatimes.com/articleshow/60113628.cms?utm_source=contentofinterest&utm_medium=text&utm_campaign=cppst
CLSA expects Infosys' buyback price at 10-20% premium http://economictimes.indiatimes.com/markets/stocks/news/clsa-expects-infosys-buyback-price-at-10-20-premium/articleshow/60113731.cms
Infosys has announced the buyback of shares worth 13000 crore on Aug 19th , 2017, which is expected to be completed in Oct, 2017 .The buyback price to be announced will be at 10-20% PREMIUM as per CLSA , considering last Wednesday’s closing price of INR 980/-
Considering the current market price of 924 as on Aug 18th, 2017, there is an upside of 30% with respect to the buyback price of 1200.
Arbitrage Opportunity Current market price per share as on Aug 18th , 2017 = 924 Buyback price per share = 1200 Gain from tendering shares in the buyback = 276 per share
So you can gain 276 per share ( 30 % ) by buying the stock at the current level in just 2-3 months
#INFY #INFOSYS #SENSEX #NIFTY #SHARE #SHAREBUYBACK #STOCKTIPS @BSE @NSE
- Read more at: http://economictimes.indiatimes.com/articleshow/60113628.cms?utm_source=contentofinterest&utm_medium=text&utm_campaign=cppst
CLSA expects Infosys' buyback price at 10-20% premium http://economictimes.indiatimes.com/markets/stocks/news/clsa-expects-infosys-buyback-price-at-10-20-premium/articleshow/60113731.cms
Infosys has announced the buyback of shares worth 13000 crore on Aug 19th , 2017, which is expected to be completed in Oct, 2017 .The buyback price to be announced will be at 10-20% PREMIUM as per CLSA , considering last Wednesday’s closing price of INR 980/-
Considering the current market price of 924 as on Aug 18th, 2017, there is an upside of 30% with respect to the buyback price of 1200.
Arbitrage Opportunity Current market price per share as on Aug 18th , 2017 = 924 Buyback price per share = 1200 Gain from tendering shares in the buyback = 276 per share
So you can gain 276 per share ( 30 % ) by buying the stock at the current level in just 2-3 months
#INFY #INFOSYS #SENSEX #NIFTY #SHARE #SHAREBUYBACK #STOCKTIPS @BSE @NSE

Published on August 18, 2017 03:39
BUY INFOSYS TODAY
#StockTips #Sensex BSE Nifty
Today - 18th August 2017
INFOSYS today has fallen 10% , it has never happened in last 10 years .....You can buy blindly today, as it's at rock bottom price of INR 925-926/- . With the buyback news ,it's going to give at-least 20% return in just 2 months .
Expect a price of INR 1200 around Diwali .
About Management and Sikka's exit , with kind of people around Infy they won't let such a good company to go stray .
#Infy #Infosys
INFOSYS today has fallen 10% , it has never happened in last 10 years .....You can buy blindly today, as it's at rock bottom price of INR 925-926/- . With the buyback news ,it's going to give at-least 20% return in just 2 months .
Expect a price of INR 1200 around Diwali .
About Management and Sikka's exit , with kind of people around Infy they won't let such a good company to go stray .
#Infy #Infosys

Published on August 18, 2017 00:27
August 17, 2017
THE BEST BALANCED PORTFOLIO OF SHARES - TO CREATE WEALTH
After a detailed research , I have come up with the most Balanced Portfolio which will create Wealth .
Stock Guru & Top Mutual Funds Analysed for creating the Portfolio:
Prof.Sanjay BakshiDolly KhannaTop Mutual FundsDSP Blackrock Micro Fund
Anil GoelPorinju VejiyathAyush Mittal
@BSE @SENSEX @BestStocks @NIFTY
Stock Guru & Top Mutual Funds Analysed for creating the Portfolio:
Prof.Sanjay BakshiDolly KhannaTop Mutual FundsDSP Blackrock Micro Fund
Anil GoelPorinju VejiyathAyush Mittal
@BSE @SENSEX @BestStocks @NIFTY


Published on August 17, 2017 11:22
August 15, 2017
DETAILED ANALYSIS ON TOP STOCK TO PICK -INDO COUNT INDUSTRIES
Indo Count Industries Ltd Textiles#BSE #NSE #StockTips #StockstoMultibagger
ANALYSIS:
1) CURRENTLY AT ALL TIME LOW
2) COMPANY HAS REDUCED DEBT
******CONSISTENT PROFIT GROWTH OF 80% FOR 5 YEARS CONSTANTLY
****** 45% RETURN ON EQUITY CONSTANTLY Market Cap.: ₹ 2,219.76 Cr.Current Price: ₹ 112.45Book Value: ₹ 43.49Stock P/E: 11.12Dividend Yield: 0.36%Face Value: ₹ 2.00Listed on BSE and NSECompany Website52 Week High/Low: ₹ 210.05 / ₹ 107.15PEG Ratio: 0.14Debt To Profit: 1.12%Operating profit: ₹ 373.77 Cr.Book value: ₹ 43.49Debt: ₹ 266.95 Cr.PB X PE: 28.80QoQ Sales: -14.56%Industry PE: 0.00EPS: ₹ 10.12Debt 3Years back: ₹ 330.15 Cr.Sales growth: -5.86%Debt to equity: 0.32Price to Free Cash Flow: -281.70Net worth: ₹ 826.55 Cr.Enterprise Value: ₹ 2,479.15Graham: ₹ 99.51Credit rating: 1.00Cash from operations last year: ₹ 181.98 Cr.Dividend Payout Ratio: 3.46%QoQ Profits: -34.49%Net profit: ₹ 199.69 Cr.Price to book value: 2.59EPS preceding year: ₹ 12.04Average return on equity 7Years: 49.30%Profit growth 5Years: 79.72%Profit growth 10Years: --Promoter holding: 58.94%Change in promoter holding 3Years: 3.45%Pledged percentage: 0.00%Dividend Payout: 3.46%Volume: 14,23,878.00
1) CURRENTLY AT ALL TIME LOW
2) COMPANY HAS REDUCED DEBT
******CONSISTENT PROFIT GROWTH OF 80% FOR 5 YEARS CONSTANTLY
****** 45% RETURN ON EQUITY CONSTANTLY Market Cap.: ₹ 2,219.76 Cr.Current Price: ₹ 112.45Book Value: ₹ 43.49Stock P/E: 11.12Dividend Yield: 0.36%Face Value: ₹ 2.00Listed on BSE and NSECompany Website52 Week High/Low: ₹ 210.05 / ₹ 107.15PEG Ratio: 0.14Debt To Profit: 1.12%Operating profit: ₹ 373.77 Cr.Book value: ₹ 43.49Debt: ₹ 266.95 Cr.PB X PE: 28.80QoQ Sales: -14.56%Industry PE: 0.00EPS: ₹ 10.12Debt 3Years back: ₹ 330.15 Cr.Sales growth: -5.86%Debt to equity: 0.32Price to Free Cash Flow: -281.70Net worth: ₹ 826.55 Cr.Enterprise Value: ₹ 2,479.15Graham: ₹ 99.51Credit rating: 1.00Cash from operations last year: ₹ 181.98 Cr.Dividend Payout Ratio: 3.46%QoQ Profits: -34.49%Net profit: ₹ 199.69 Cr.Price to book value: 2.59EPS preceding year: ₹ 12.04Average return on equity 7Years: 49.30%Profit growth 5Years: 79.72%Profit growth 10Years: --Promoter holding: 58.94%Change in promoter holding 3Years: 3.45%Pledged percentage: 0.00%Dividend Payout: 3.46%Volume: 14,23,878.00

Published on August 15, 2017 10:52
August 11, 2017
STOCKS FOR IMMEDIATE BUY - LONG TERM MULTIBAGGERS
STOCKS TO BUY IMMEDIATE @Sensex @bse_sensex @Nifty
AVANTI FEEDS, LT FOODS, INDO COUNT, PRAJ INDUSTRIES
1) AVANTI FEEDS
Current level - INR 1646
Expected Level - INR 2600
Time Period : By End October
Stellar result by AVANTI FEEDS ....This is going to double in a year...Long term player and wealth creator
Avanti Feeds Q1FY18 consolidated net profit rises 203.6% yoy
Avanti Feeds Ltd Q1FY18Consolidated Results Q1FY18: (Rs. in crore)Q1FY18YoY (%)Revenue998.237.8EBITDA225195.8EBITDA Margin (%)22.51,204Net Profit (adjusted)148.8203.6
2) LT Foods
Current Level - INR 57.95
Expected Level - INR 80
Time Period : By end September
#StockTips #Sensex #BSE #NSE #DaawatBasmatiLT Foods, which sells under Daawat brand ( Daawat Basmati Rice ) , today posted a 10.48 per cent jump in consolidated net profit at Rs 34.88 crore in the first quarter of this fiscal on strong sales.Very good stock to hold , as I have said earlier in my stock tips .
LT Foods Q1 net profit up 10.48% at Rs 34.88 crTotal income increased on a consolidated basis to Rs 77139 crore in the April-June period of 2017-18 fiscal from Rs 70945 crore in the year-ago period
3) INDO COUNT INDUSTRIES
Current Level - INR 115.10
Expected Level - INR 178
Time Period : By Dec , 2017
#StockTips #SENSEX #NIFTY #BSE #NSE #INDOCOUNTACCUMULATE INDO COUNT at this level , it's setting up a subsidiary in UAE and has been given a improved Credit Rating .At least 20% increase from current levels with immediate effect .
4) PRAJ INDUSTRIES
Current Level - INR 66.05
Expected Level - INR 110
Time Period : 1.5 Year
#StockTips #BSE #NSE #SENSEX #NIFTYPRAJ INDUSTRIES can be the next Big Turnaround Industry , the share has fallen a lot .Praj has about 300 customers who have been using its process to make ethanol from molasses.
Now, these companies will have an option to make isobutanol, too, with the latest technology, said Pramod Chaudhari, Executive Chairman, Praj Industries.Target is INR 110 in a Year and half .
Praj Industries, Gevo joint development agreement enters commercialisation phase
We have developed biobutanol and it is ready for commercialisation: Pramod Chaudhari, Praj IndustriesET Now|Updated: Aug 04, 2017, 01.49 PM IST
AVANTI FEEDS, LT FOODS, INDO COUNT, PRAJ INDUSTRIES
1) AVANTI FEEDS
Current level - INR 1646
Expected Level - INR 2600
Time Period : By End October
Stellar result by AVANTI FEEDS ....This is going to double in a year...Long term player and wealth creator
Avanti Feeds Q1FY18 consolidated net profit rises 203.6% yoy
Avanti Feeds Ltd Q1FY18Consolidated Results Q1FY18: (Rs. in crore)Q1FY18YoY (%)Revenue998.237.8EBITDA225195.8EBITDA Margin (%)22.51,204Net Profit (adjusted)148.8203.6
2) LT Foods
Current Level - INR 57.95
Expected Level - INR 80
Time Period : By end September
#StockTips #Sensex #BSE #NSE #DaawatBasmatiLT Foods, which sells under Daawat brand ( Daawat Basmati Rice ) , today posted a 10.48 per cent jump in consolidated net profit at Rs 34.88 crore in the first quarter of this fiscal on strong sales.Very good stock to hold , as I have said earlier in my stock tips .
LT Foods Q1 net profit up 10.48% at Rs 34.88 crTotal income increased on a consolidated basis to Rs 77139 crore in the April-June period of 2017-18 fiscal from Rs 70945 crore in the year-ago period
3) INDO COUNT INDUSTRIES
Current Level - INR 115.10
Expected Level - INR 178
Time Period : By Dec , 2017
#StockTips #SENSEX #NIFTY #BSE #NSE #INDOCOUNTACCUMULATE INDO COUNT at this level , it's setting up a subsidiary in UAE and has been given a improved Credit Rating .At least 20% increase from current levels with immediate effect .

4) PRAJ INDUSTRIES
Current Level - INR 66.05
Expected Level - INR 110
Time Period : 1.5 Year
#StockTips #BSE #NSE #SENSEX #NIFTYPRAJ INDUSTRIES can be the next Big Turnaround Industry , the share has fallen a lot .Praj has about 300 customers who have been using its process to make ethanol from molasses.
Now, these companies will have an option to make isobutanol, too, with the latest technology, said Pramod Chaudhari, Executive Chairman, Praj Industries.Target is INR 110 in a Year and half .
Praj Industries, Gevo joint development agreement enters commercialisation phase
We have developed biobutanol and it is ready for commercialisation: Pramod Chaudhari, Praj IndustriesET Now|Updated: Aug 04, 2017, 01.49 PM IST

Published on August 11, 2017 20:41
August 8, 2017
LONG TERM HOT PORTFOLIO-SHARES THAT CAN MAKE YOU A MILLIONAIRE
HORIZON : 5 + YEARS
EXPECTED 7-8 X Returns ....
@SENSEX @NIFTY50 #StockTips #ShareMarket #Multibaggers


Published on August 08, 2017 11:58
MULTIBAGGER STOCKS - IDENTIFY THE STOCKS WHICH CAN GIVE 500% RETURNS
FRESHTROP FRUITS
#ShareTips #TopShares #Sensex #BSE #NSE#NIFTY50
Run by a very sound Management from IIT Bombay , FRESHTROP FRUITS, leading exporter of fresh fruits from India to Europe .
net profit surged from Rs 2 lakh in 2010-11 to Rs 8.05 crore in 2015-16.
Company posted net profit of Rs 54 lakh, Rs 3.54 crore, Rs 5.65 crore and Rs 7.59 crore for FY12, FY13, FY14 and FY15, respectively. This showed an annual profit growth of over 200 per cent (CAGR) in the past five years. Shares of Freshtrop Fruit have surged 476 per cent in the past five years to Rs 92.10 on December 13 from Rs 16 on December 30, 2011.
#ShareTips #TopShares #Sensex #BSE #NSE#NIFTY50
Run by a very sound Management from IIT Bombay , FRESHTROP FRUITS, leading exporter of fresh fruits from India to Europe .
net profit surged from Rs 2 lakh in 2010-11 to Rs 8.05 crore in 2015-16.
Company posted net profit of Rs 54 lakh, Rs 3.54 crore, Rs 5.65 crore and Rs 7.59 crore for FY12, FY13, FY14 and FY15, respectively. This showed an annual profit growth of over 200 per cent (CAGR) in the past five years. Shares of Freshtrop Fruit have surged 476 per cent in the past five years to Rs 92.10 on December 13 from Rs 16 on December 30, 2011.


Published on August 08, 2017 10:41
August 6, 2017
SHARES TO BUY THIS WEEK
#StockTips #SENSEX #NIFTY50 #BSE #NSE #ShareMarket #Shares
Stocks, Shares to buy this week :
CEAT - had got beaten over 9% , right now at an attractive valuation.
INDO COUNT - GST rate on Textile coming down from 18% to merely 5%
AVANTI FEEDS - A very good Quarterly result on 10th August.
TATA STEEL - Huge momentum on the stock , from INR 434 to 575 in just 3 months , upside continues
#CEAT #INDOCOUNT #AVANTIFEEDS #TATASTEEL


Published on August 06, 2017 07:18