GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Polaris000/BlogCode: Sample code from my blog posts on Medium and my personal website.

BranchesTags
Open more actions menu

Latest commit

 

History

74 Commits
74 Commits

Folders and files

NameName
Last commit message
Last commit date
BirthdayParadox
BirthdayParadox
 
 
CustomIntentClassifier
CustomIntentClassifier
 
 
DefectiveChessBoard
DefectiveChessBoard
 
 
DynamicProgramming
DynamicProgramming
 
 
FallbackExample
FallbackExample
 
 
JacobianAdjustment
JacobianAdjustment
 
 
MLE_Exponential
MLE_Exponential
 
 
MLFlowDemo/mlruns
MLFlowDemo/mlruns
 
 
MetricsMultilabel
MetricsMultilabel
 
 
NumpyOptimization
NumpyOptimization
 
 
PandasApply
PandasApply
 
 
PythonDecorators
PythonDecorators
 
 
PythonImportExample
PythonImportExample
 
 
RasaChatbot
RasaChatbot
 
 
RasaChatbot_v2
RasaChatbot_v2
 
 
StatisticalMoments
StatisticalMoments
 
 
TStat
TStat
 
 
XOR_Perceptron
XOR_Perceptron
 
 
requirements
requirements
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Code Samples from my blog posts

Untitled 51

This is a repository of code samples from my blogposts. I'm writing on Medium at the moment. You can find me here.


Articles

Link to the article Code Publish Date Topics
Seizing the Moment: The Hidden Silhouette of Data Code

Open In Colab
September, 2026 statistics, method-of-moments, mle, python
A Case for the T-statistic Code

Open In Colab
January, 2026 statistics, hypothesis-testing, python
Jacobian Adjustment in Probabilistic Models Code

Open In Colab
December, 2025 bayesian, probabilistic-modeling, jacobian
Pandas: apply, map or transform? Code January, 2023 jupyter-notebook, pandas, python
Improving the performance of NumPy code Code October, 2022 jupyter-notebook, numpy, pandas, matplotlib, numba
Dissecting the Birthday Paradox Code April, 2022 jupyter-notebook, statistics, pandas, matplotlib
How do Chatbots Understand? Code February, 2022 rasa, python, chatbot, nlu
Handling Chatbot Failure Gracefully Code December, 2021 rasa, python, chatbot, nlu
Evaluating Multi-label Classifiers Code November, 2021 classification, sklearn, ml, metrics
Rasa Chatbot v2 (not a post) Code October, 2021 rasa, python, chatbot, nlu
Building a Chatbot with Rasa Code September, 2021 rasa, python, chatbot, nlu
How Imports Work in Python Code June, 2021 python, imports
Python: Decorators in OOP Code January, 2021 python, oop, decorators
How Neural Networks Solve the XOR Problem Code November, 2020 python, jupyter-notebook, matplotlib
Understanding Dynamic Programming Code October, 2020 python, algorithms, dynamic programming
Understanding Maximum Likelihood Estimation TBA August, 2020 statistics
Visualizing the Defective Chessboard Problem Code Jan, 2020 algorithms

Star History Chart

Star History Chart

Checkout star-history.com to get a star plot like the one above.

Also, if you found this repository useful, please do leave a star!


Usage

  • Fork this repo
  • Clone it
https://github.com/Polaris000/BlogCode.git
  • Create an environment with the required packages installed. (More info below)
  • Navigate to a project
  • Check the README inside each project for information specific to it.

Managing environments and dependencies

  • Creating an environment is straightforward. Though there are a few ways to do it, conda is a reliable way to go about it. Install conda from here.

  • To create an environment run:

    $ conda create --name <env_name> python=3.8.10
    
  • After the setup is complete, activate the env.

    $ conda activate <env_name>
    
  • The packages required to run these code samples are mainly of two kinds:

    • Rasa dependencies
    • Python data visualization and machine learning libraries
  • If you want to install both, use requirements/requirements.txt in your env

    (env)$ pip install -r requirements/requirements.txt
    
  • If you want to install rasa dependencies, use requirements/rasa_requirements.txt in your env

    (env)$ pip install -r requirements/rasa_requirements.txt
    
  • If you want to install python machine learning dependencies only, use requirements/non_rasa_requirements.txt in your env

    (env)$ pip install -r requirements/non_rasa_requirements.txt
    

Notes

  • If you're interested in using Rasa X for a more visual experience while improving and conversing with your bot, you'll require these additional steps:
    • Downgrade pip to fix a circular dependency issue
      $ pip install pip==20.2
      
    • Install rasa x
      $ pip install install rasa-x==0.38.1 --extra-index-url https://pypi.rasa.com/simple
      

About

Sample code from my blog posts on Medium and my personal website.

Topics

blogbloggingchatbotclassificationcomputer-sciencedata-sciencemachine-learningmediumneural-networkperceptronprogrammingpythonrasasample-codesklearntutorial

Resources

Readme
MIT license
Activity

Stars

32 stars

Watchers

1 watching

Forks

26 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.