Skip to content

Latest commit

 

History

History
77 lines (56 loc) · 3.98 KB

File metadata and controls

77 lines (56 loc) · 3.98 KB

Regression-with-python-and-R

মাল্টিনোমিয়াল(বহুমুখী ) লজিস্টিক রিগ্রেশন(এমএলআর)ঃ লজিস্টিক(অবজেক্টর ) রিগ্রেশন একটি শ্রেণীবিভাগ অ্যালগরিদম। লজিস্টিক রিগ্রেশন ব্যবহার হয় ঘটনা = সম্ভাবনা এবং ঘটনা = ব্যর্থতা এগুলোর এর সম্ভাব্যতা খোঁজার জন্য ব্যবহৃত। প্রকৃতপক্ষে লজিস্টিক রিগ্রেশন ব্যবহার হয় নির্ভরশীল ভ্যারিয়েবলটি বাইনারিতে(0/1, সত্য / মিথ্যা, হ্যাঁ / না) থাকে। মাল্টিনোমিয়াল(বহুমুখী ) লজিস্টিক রিগ্রেশন (এমএলআর) হয় লিনিয়ার(রৈখিক) রিগ্রেশন এর নিরীক্ষণ বিশ্লেষণের একটি ফর্ম যখন নির্ভরশীল ভেরিয়েবলটি দুই স্তরের তুলনায় নমুনা।এটি ডাটা বর্ণনা এবং একটি নির্ভরশীল ভেরিয়েবল এবং এক বা একাধিক ক্রমাগত-স্তরের(ব্যবধান বা অনুপাত স্কেল)স্বাধীন ভেরিয়েবল এর মধ্যে সম্পর্ক ব্যাখ্যা করতে ব্যবহৃত হয়।

মাল্টিনোমিয়াল(বহুমুখী ) লজিস্টিক রিগ্রেশন (এমএলআর) এর একটি উদাহরণ দেখানো হলঃ

Multinomial logistic regrassion with R

Multinomial logistic regrassion with python

কিছু নমুনা ছবি হলওঃ

R programming দিয়ে করার পর ফলাফলঃ

alt text

Python programming দিয়ে করার পর ফলাফলঃ

alt text

Installation

For python in windows:

Firstly install python 3.6 .This version is best i think.

pip install numpy

pip install scipy 

pip install matplotlib

pip install sklearn

For python in Anaconda:

conda install numpy

conda install scipy

conda install sklearn

For R :

Firstly download RStudio.Then install some laibary. Such as-

install.packages("foreign")

install.packages("nnet")

install.packages("ggplot2")

install.packages("reshape2")

Built With

  • Python 3.6
  • RStudio
  • matplotlib
  • numpy
  • ggplot2
  • reshape2
  • nnet
  • foreign
  • scipy

Contributing

  1. Fork it
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

Authors

Shimanto

License

This project is licensed under the MIT License - see the LICENSE.md file for details