SlideShare a Scribd company logo
1 of 27
Download to read offline
Neuron
Demo
The greatest value of a data is when it forces us to notice what we never expected to see.
How Neuron take care of my Data?
Contents
❖ Preliminaries
➢ Requirements for Launching Workbench
➢ Best Practices for Using Workbench
➢ Running the code
➢ How to Launch Workbench
■ Launch Workbench
■ Features on Dashboard
■ Features in Software
❖ Data Preparation Process
➢ Data Selection
➢ Data Pre-processing
➢ Data Transformation
❖ Model Building
➢ How to choose your algorithm
❖ Model Training
➢ How to Train your model on Neuron
➢ Transfer Learning
➢ How to use Transfer Learning
■ Steps for Pytorch Example
■ Steps for TensorFlow Example
❖ Model Evaluation
➢ Evaluation Metrics
➢ How to Evaluate Model on Neuron
Preliminaries
1. Requirements for
launching Workbench
Jupyter
Notebook
Zeppelin Notebook
Jupyter Console
Click on
“Notebook”
Launcher
Click on Python 3
Click on
“Console”
Click on Python3
Select “Create new
note”
Choose “Python 3”
Launcher
Create a directory. Whole work would be done on that “work” directory.
Create your own virtual environment using console.
Initialize the virtualenv using console.
Use command python text_file_name.py to use text run code on console
You can run code cell by cell in Jupyter or Zeppelin using console.
To run full notebook as script in console and in virtualenv type
ipython notebook_name.ipynb
2. Best Practices
3.Running the code
1. How to Launch Workbenches
Dashboard - General
options showing Available Softwares Deployed Software Total Members
Softwares - Provide
two options View Deployments New Deployments
Members - Options
include
View Members Invite Members
Create an account (manually or by Invitation) and log In
Click on Softwares
TT
New Deployment
Select option to choose instances of notebooks such as Jupyter or Zeppelin.
STEPS
Launch Workbench
Dashboard
gives access
to three
components
Features on Dashboard
Different
notebooks could
be deployed in
“New
Deployment”
Deployed
softwares can
be used in
“View
Deployments”
Features in Software
Access link
of Deployed
Software
Train or Deploy
model using
different scripts
Delete deployed
Software
Click on
“Connection
info”
You get to the
Connection
Information
Page.
Here you get
the Access
link to use
the deployed
software.
Launcher Page
Your Workbench is Ready!For Zeppelin
For Jupyter
Console
For Jupyter
Notebook
Data Preparation Process
Data Processing
Data Selection
Data
Transformation
Data
Preprocessing
Selected sample
represent entire
population
Handling Null Values
Feature Scaling
Scaling
Aggregation
Select subset of data
variables
Handling Categorical Variables
One-Hot Encoding
Multicollinearity
1. Data Selection
2. Data Preprocessing
Data Transformation
Model Building
How to choose your algorithm
STEPS
Categorize
Understand Data
Supervised Unsupervised ReinforcementSemi-supervised
Outputs
Inputs
Classification Regression Clustering
Find available algorithms based on
Analyze Process Transform
Accuracy Interpretability Scalability Complexity
Time to build, train, test
& model
Time to make predictions using
model
Business goal
Implement machine learning algorithms
Optimize hyperparameters
Load existing model on Neuron
Model Selection
Running different
models
Evaluating their
performance
Choose the relevant
for model building
Linear Regression , Logistic Regression or any other
Learning Rate, Row sampling, column sampling and so on.
Model Building
Model Training
Build the model using
above steps (save it to git
S3 or other location, if
saved already bring it to
workspace).
Train your model
using CLI
terminal of
workbench.
Create Workbench (if
not created in above
steps).
1. How to train your model on neuron
If building from scratch you
can choose to write code
(using notebook or python
script) and train the model.
Model Training
1. How to train your model on StackLabs
ow to train your model on StackLabs
Advantage of less
computational
resource and
training time.
Feature
extraction
re-used and main
processing
re-trained.
A model developed
to build original
dataset.
Can be done on
every
framework.consi
dering neuron.
2
531
2. Transfer Learning
A model developed for a task is
reused as starting point to build
another task.
Pre-Build
Model Import
from S3, Git or
wherever is
the location.
4
How to use Transfer Learning - Given two examples of Pytorch & TensorFlow but others
can also be used.
1
Save
data
in
data
folder
(default:data_raw
)
2
Run
thedatasetup
com
m
and
according
to
thedataset.
3
Run
there-training
com
m
and
according
to
thedataset
4
Run
theinferencecom
m
and
according
to
thedataset.
Steps for PyTorch Example:
Steps for TensorFlow Example:
1
Save
data
in
data
folder
divided
as
class/label
nam
e
2
Run
python
re-training
com
m
and
according
to
thedataset.
param
etersincludesm
odel_dir,
output_graph,output_labels,
im
age_dir.
3
Run
thepython
inference
com
m
and
according
to
your
datasetfolder.
1.EvaluationMetrics
The parameters using which we
evaluate the performance of a
model during training and after
training called metrics.
Model built trained and deployed
on neuron, can be evaluated on.
Accuracy, F1 Score, Confusion
Matrix, AUC, Mean Absolute
Error, Mean Squared Error,
Logarithmic Loss
Model Evaluation
Model Evaluation
2.HowtoEvaluatemodelonneuron
(Twomodesofevaluatingmodelonneuron)
a. Monitoring while
training
b. Evaluation after training
Using TensorBoard
d
Using Evaluation Matrix
Using tensorboardX
Using MXBoard

More Related Content

What's hot

Automated Testing with Databases
Automated Testing with DatabasesAutomated Testing with Databases
Automated Testing with Databases
elliando dias
 
Actions in QTP
Actions in QTPActions in QTP
Actions in QTP
Anish10110
 
Qtp certification questions and answers
Qtp certification questions and answersQtp certification questions and answers
Qtp certification questions and answers
Ramu Palanki
 
ICPSR - Complex Systems Models in the Social Sciences - Lab Session 6 - Profe...
ICPSR - Complex Systems Models in the Social Sciences - Lab Session 6 - Profe...ICPSR - Complex Systems Models in the Social Sciences - Lab Session 6 - Profe...
ICPSR - Complex Systems Models in the Social Sciences - Lab Session 6 - Profe...
Daniel Katz
 
Qtp training session I
Qtp training session IQtp training session I
Qtp training session I
Aisha Mazhar
 
Building cautious software
Building cautious softwareBuilding cautious software
Building cautious software
Kyle Dyer
 

What's hot (19)

Application Profiling for Memory and Performance
Application Profiling for Memory and PerformanceApplication Profiling for Memory and Performance
Application Profiling for Memory and Performance
 
Automated Testing with Databases
Automated Testing with DatabasesAutomated Testing with Databases
Automated Testing with Databases
 
Learning Robotic Process Automation-81-167
Learning Robotic Process Automation-81-167Learning Robotic Process Automation-81-167
Learning Robotic Process Automation-81-167
 
Hadoop cluster performance profiler
Hadoop cluster performance profilerHadoop cluster performance profiler
Hadoop cluster performance profiler
 
Actions in QTP
Actions in QTPActions in QTP
Actions in QTP
 
Hp Quick Test Professional
Hp Quick Test ProfessionalHp Quick Test Professional
Hp Quick Test Professional
 
Qtp certification questions and answers
Qtp certification questions and answersQtp certification questions and answers
Qtp certification questions and answers
 
ICPSR - Complex Systems Models in the Social Sciences - Lab Session 6 - Profe...
ICPSR - Complex Systems Models in the Social Sciences - Lab Session 6 - Profe...ICPSR - Complex Systems Models in the Social Sciences - Lab Session 6 - Profe...
ICPSR - Complex Systems Models in the Social Sciences - Lab Session 6 - Profe...
 
Metadata extraction using Amazon Rekognition and Amazon SageMaker
Metadata extraction using Amazon Rekognition and Amazon SageMakerMetadata extraction using Amazon Rekognition and Amazon SageMaker
Metadata extraction using Amazon Rekognition and Amazon SageMaker
 
Building High Available and Scalable Machine Learning Applications
Building High Available and Scalable Machine Learning ApplicationsBuilding High Available and Scalable Machine Learning Applications
Building High Available and Scalable Machine Learning Applications
 
QTP Automation Testing Tutorial 2
QTP Automation Testing Tutorial 2QTP Automation Testing Tutorial 2
QTP Automation Testing Tutorial 2
 
Qtp training session I
Qtp training session IQtp training session I
Qtp training session I
 
Building cautious software
Building cautious softwareBuilding cautious software
Building cautious software
 
Gatling workshop lets test17
Gatling workshop lets test17Gatling workshop lets test17
Gatling workshop lets test17
 
1.qtp basics
1.qtp basics1.qtp basics
1.qtp basics
 
Qtp faqs
Qtp faqsQtp faqs
Qtp faqs
 
First QTP Tutorial
First QTP TutorialFirst QTP Tutorial
First QTP Tutorial
 
How to Record Scripts in JMeter? JMeter Script Recording Tutorial | Edureka
How to Record Scripts in JMeter? JMeter Script Recording Tutorial | EdurekaHow to Record Scripts in JMeter? JMeter Script Recording Tutorial | Edureka
How to Record Scripts in JMeter? JMeter Script Recording Tutorial | Edureka
 
Unit testing basics
Unit testing basicsUnit testing basics
Unit testing basics
 

Similar to PPT6: Neuron Demo

Measurement .Net Performance with BenchmarkDotNet
Measurement .Net Performance with BenchmarkDotNetMeasurement .Net Performance with BenchmarkDotNet
Measurement .Net Performance with BenchmarkDotNet
Vasyl Senko
 
Net campus2015 antimomusone
Net campus2015 antimomusoneNet campus2015 antimomusone
Net campus2015 antimomusone
DotNetCampus
 

Similar to PPT6: Neuron Demo (20)

Measurement .Net Performance with BenchmarkDotNet
Measurement .Net Performance with BenchmarkDotNetMeasurement .Net Performance with BenchmarkDotNet
Measurement .Net Performance with BenchmarkDotNet
 
Gallio Crafting A Toolchain
Gallio Crafting A ToolchainGallio Crafting A Toolchain
Gallio Crafting A Toolchain
 
Net campus2015 antimomusone
Net campus2015 antimomusoneNet campus2015 antimomusone
Net campus2015 antimomusone
 
PREDICT THE FUTURE , MACHINE LEARNING & BIG DATA
PREDICT THE FUTURE , MACHINE LEARNING & BIG DATAPREDICT THE FUTURE , MACHINE LEARNING & BIG DATA
PREDICT THE FUTURE , MACHINE LEARNING & BIG DATA
 
Building an AI and ML Model Using KNIME and Python.pptx
Building an AI and ML Model Using KNIME and Python.pptxBuilding an AI and ML Model Using KNIME and Python.pptx
Building an AI and ML Model Using KNIME and Python.pptx
 
Machine Learning Infrastructure
Machine Learning InfrastructureMachine Learning Infrastructure
Machine Learning Infrastructure
 
Qtp - Introduction to synchronization
Qtp -  Introduction to synchronizationQtp -  Introduction to synchronization
Qtp - Introduction to synchronization
 
May 2021 Spark Testing ... or how to farm reputation on StackOverflow
May 2021 Spark Testing ... or how to farm reputation on StackOverflowMay 2021 Spark Testing ... or how to farm reputation on StackOverflow
May 2021 Spark Testing ... or how to farm reputation on StackOverflow
 
Test Driven Development with Sql Server
Test Driven Development with Sql ServerTest Driven Development with Sql Server
Test Driven Development with Sql Server
 
Tips and tricks for data science projects with Python
Tips and tricks for data science projects with Python Tips and tricks for data science projects with Python
Tips and tricks for data science projects with Python
 
Performance Analysis of Idle Programs
Performance Analysis of Idle ProgramsPerformance Analysis of Idle Programs
Performance Analysis of Idle Programs
 
Ml goes fruitful
Ml goes fruitfulMl goes fruitful
Ml goes fruitful
 
Start with version control and experiments management in machine learning
Start with version control and experiments management in machine learningStart with version control and experiments management in machine learning
Start with version control and experiments management in machine learning
 
I want my model to be deployed ! (another story of MLOps)
I want my model to be deployed ! (another story of MLOps)I want my model to be deployed ! (another story of MLOps)
I want my model to be deployed ! (another story of MLOps)
 
How to Improve Computer Vision with Geospatial Tools
How to Improve Computer Vision with Geospatial ToolsHow to Improve Computer Vision with Geospatial Tools
How to Improve Computer Vision with Geospatial Tools
 
#DOAW16 - DevOps@work Roma 2016 - Testing your databases
#DOAW16 - DevOps@work Roma 2016 - Testing your databases#DOAW16 - DevOps@work Roma 2016 - Testing your databases
#DOAW16 - DevOps@work Roma 2016 - Testing your databases
 
Getting Started with Selenium
Getting Started with SeleniumGetting Started with Selenium
Getting Started with Selenium
 
Beginners - Get Started With Unit Testing in .NET
Beginners - Get Started With Unit Testing in .NETBeginners - Get Started With Unit Testing in .NET
Beginners - Get Started With Unit Testing in .NET
 
Automating Speed: A Proven Approach to Preventing Performance Regressions in ...
Automating Speed: A Proven Approach to Preventing Performance Regressions in ...Automating Speed: A Proven Approach to Preventing Performance Regressions in ...
Automating Speed: A Proven Approach to Preventing Performance Regressions in ...
 
Production ready big ml workflows from zero to hero daniel marcous @ waze
Production ready big ml workflows from zero to hero daniel marcous @ wazeProduction ready big ml workflows from zero to hero daniel marcous @ waze
Production ready big ml workflows from zero to hero daniel marcous @ waze
 

Recently uploaded

Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
AroojKhan71
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 

Recently uploaded (20)

Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
ALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptx
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
ELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptxELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptx
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 

PPT6: Neuron Demo

  • 1. Neuron Demo The greatest value of a data is when it forces us to notice what we never expected to see. How Neuron take care of my Data?
  • 2. Contents ❖ Preliminaries ➢ Requirements for Launching Workbench ➢ Best Practices for Using Workbench ➢ Running the code ➢ How to Launch Workbench ■ Launch Workbench ■ Features on Dashboard ■ Features in Software ❖ Data Preparation Process ➢ Data Selection ➢ Data Pre-processing ➢ Data Transformation ❖ Model Building ➢ How to choose your algorithm ❖ Model Training ➢ How to Train your model on Neuron ➢ Transfer Learning ➢ How to use Transfer Learning ■ Steps for Pytorch Example ■ Steps for TensorFlow Example ❖ Model Evaluation ➢ Evaluation Metrics ➢ How to Evaluate Model on Neuron
  • 3. Preliminaries 1. Requirements for launching Workbench Jupyter Notebook Zeppelin Notebook Jupyter Console Click on “Notebook” Launcher Click on Python 3 Click on “Console” Click on Python3 Select “Create new note” Choose “Python 3” Launcher
  • 4. Create a directory. Whole work would be done on that “work” directory. Create your own virtual environment using console. Initialize the virtualenv using console. Use command python text_file_name.py to use text run code on console You can run code cell by cell in Jupyter or Zeppelin using console. To run full notebook as script in console and in virtualenv type ipython notebook_name.ipynb 2. Best Practices 3.Running the code
  • 5. 1. How to Launch Workbenches Dashboard - General options showing Available Softwares Deployed Software Total Members Softwares - Provide two options View Deployments New Deployments Members - Options include View Members Invite Members Create an account (manually or by Invitation) and log In Click on Softwares TT New Deployment Select option to choose instances of notebooks such as Jupyter or Zeppelin. STEPS
  • 8. Different notebooks could be deployed in “New Deployment” Deployed softwares can be used in “View Deployments” Features in Software
  • 9. Access link of Deployed Software Train or Deploy model using different scripts Delete deployed Software
  • 10. Click on “Connection info” You get to the Connection Information Page. Here you get the Access link to use the deployed software.
  • 12. Your Workbench is Ready!For Zeppelin For Jupyter Console For Jupyter Notebook
  • 13. Data Preparation Process Data Processing Data Selection Data Transformation Data Preprocessing Selected sample represent entire population Handling Null Values Feature Scaling Scaling Aggregation Select subset of data variables Handling Categorical Variables One-Hot Encoding Multicollinearity
  • 14. 1. Data Selection 2. Data Preprocessing
  • 15.
  • 17. Model Building How to choose your algorithm STEPS Categorize Understand Data Supervised Unsupervised ReinforcementSemi-supervised Outputs Inputs Classification Regression Clustering Find available algorithms based on Analyze Process Transform Accuracy Interpretability Scalability Complexity Time to build, train, test & model Time to make predictions using model Business goal
  • 18. Implement machine learning algorithms Optimize hyperparameters Load existing model on Neuron Model Selection Running different models Evaluating their performance Choose the relevant for model building Linear Regression , Logistic Regression or any other Learning Rate, Row sampling, column sampling and so on.
  • 20. Model Training Build the model using above steps (save it to git S3 or other location, if saved already bring it to workspace). Train your model using CLI terminal of workbench. Create Workbench (if not created in above steps). 1. How to train your model on neuron If building from scratch you can choose to write code (using notebook or python script) and train the model.
  • 22. 1. How to train your model on StackLabs ow to train your model on StackLabs Advantage of less computational resource and training time. Feature extraction re-used and main processing re-trained. A model developed to build original dataset. Can be done on every framework.consi dering neuron. 2 531 2. Transfer Learning A model developed for a task is reused as starting point to build another task. Pre-Build Model Import from S3, Git or wherever is the location. 4
  • 23. How to use Transfer Learning - Given two examples of Pytorch & TensorFlow but others can also be used. 1 Save data in data folder (default:data_raw ) 2 Run thedatasetup com m and according to thedataset. 3 Run there-training com m and according to thedataset 4 Run theinferencecom m and according to thedataset. Steps for PyTorch Example:
  • 24. Steps for TensorFlow Example: 1 Save data in data folder divided as class/label nam e 2 Run python re-training com m and according to thedataset. param etersincludesm odel_dir, output_graph,output_labels, im age_dir. 3 Run thepython inference com m and according to your datasetfolder.
  • 25. 1.EvaluationMetrics The parameters using which we evaluate the performance of a model during training and after training called metrics. Model built trained and deployed on neuron, can be evaluated on. Accuracy, F1 Score, Confusion Matrix, AUC, Mean Absolute Error, Mean Squared Error, Logarithmic Loss Model Evaluation
  • 27. 2.HowtoEvaluatemodelonneuron (Twomodesofevaluatingmodelonneuron) a. Monitoring while training b. Evaluation after training Using TensorBoard d Using Evaluation Matrix Using tensorboardX Using MXBoard