-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
119 additions
and
88 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
# Profile page | ||
# Profile page | ||
|
||
Your profile page shows some information about you (a bio and URL that you can customize) and all of your public projects. Right now, it doesn't do much, but as we implement more features we'll make it more useful. | ||
|
||
You can access a users profile page at https://studio.kobra.dev/user/ [insert username here], or by clicking on the user chip on a project page: | ||
|
||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,11 @@ | ||
import Image from 'next/image' | ||
import Bleed from 'nextra-theme-docs/bleed' | ||
import Callout from 'nextra-theme-docs/callout' | ||
|
||
# Kobra Onboarding | ||
# Welcome | ||
|
||
Hey! Welcome to Kobra! We're so happy that you're trying it out, and we'd love your feedback! Here are some basic instructions for how to get started with Kobra – we realy hope you won't have to use these instructions, but when you do, please take a note of it so we'll know which parts of the experience aren't intuitive | ||
Welcome to the Kobra docs! | ||
|
||
Do not open the specific steps unless you're stuck | ||
|
||
Here are the basic steps to creating a Kobra program (we're going to be creating a Simple Linear Regression): | ||
|
||
1. Upload dataset | ||
|
||
Download dataset [here](https://raw.githubusercontent.com/kobra-dev/datasets/main/Salary_Data.csv) | ||
|
||
- Upload the file | ||
|
||
In the top right, go to the file upload tab and upload your dataset. If this isn't intuitive, please make a note of it | ||
|
||
- Load in the dataset | ||
|
||
Go to the variables tab and create a variable for data | ||
|
||
 | ||
|
||
Set the data variable to a new dataframe – make the filename the same as the dataset you uploaded (the String block is in the text tab) | ||
|
||
 | ||
|
||
2. Create X and y variables | ||
- Create variables for X and y | ||
|
||
Go to the variables tab and create a variable for X and y | ||
|
||
- Set each variable to one column of the dataframe | ||
|
||
Drag out the "Get column" block from the dataframes tab | ||
|
||
 | ||
|
||
3. Create scatterplot | ||
- Add a scatterplot to the plot | ||
|
||
Get this blocks from the plots tab, and add it to your program | ||
|
||
 | ||
|
||
4. Click the run button to view your scatterplot (in data visualization tab) | ||
5. Create & Train Linear Regression Model | ||
- Create a variable for your linear regression model | ||
|
||
Go to the variables tab, and create a variable for a model | ||
|
||
- Set it to a linear regression model | ||
|
||
Drag out the linear regression model from the Linear Regression tab and set model to it | ||
|
||
 | ||
|
||
- Fit the linear regression model | ||
|
||
Drag out the `fit linear regression model` block and fit the model variable | ||
|
||
 | ||
|
||
6. Make prediction with linear regression | ||
- Make a prediction and print it out | ||
|
||
Drag out the print block from the text category, and then use the create text block to combine a string saying "Prediction (5 yrs experience)" and your predction | ||
|
||
 | ||
|
||
Add in a prediction block, where you're making a prediction with your linear regression model (in linear regression tab) | ||
|
||
 | ||
|
||
Full program | ||
|
||
- Full program | ||
|
||
 | ||
<Callout emoji="❗"> | ||
These docs are still a work-in-progress. Submit feedback on our [GitHub | ||
repo](https://github.com/kobra-dev/docs) or reach out to us directly | ||
([[email protected]](mailto:[email protected])) if you have any questions. | ||
</Callout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"index": "Introduction", | ||
"dataframes": "DataFrames", | ||
"onboarding": "Onboarding", | ||
"feature-overview": "Feature overview" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
import Image from 'next/image' | ||
import Bleed from 'nextra-theme-docs/bleed' | ||
|
||
# Kobra Onboarding | ||
|
||
Hey! Welcome to Kobra! We're so happy that you're trying it out, and we'd love your feedback! Here are some basic instructions for how to get started with Kobra – our goal is for you to not have to use these instructions, so when you do, please take a note of it so we'll know which parts of the experience aren't intuitive. | ||
|
||
Here are the basic steps to creating a Kobra program (we're going to be creating a Simple Linear Regression): | ||
|
||
1. Upload dataset | ||
|
||
Download dataset [here](https://raw.githubusercontent.com/kobra-dev/datasets/main/Salary_Data.csv) | ||
|
||
Then, follow the instructions [here](/feature-overview/dataset-uploads#import-into-kobra) to import the dataset. | ||
|
||
- Use the dataset | ||
|
||
The DataFrames tab should have opened when you uploaded the file. Drag out the block with the name of the uploaded file (it's at the very top of the flyout). | ||
|
||
Then, go to the variables tab and create a variable for data | ||
|
||
 | ||
|
||
Set the data variable to the uploaded file block you got previously | ||
|
||
 | ||
|
||
2. Create X and y variables | ||
- Create variables for X and y | ||
|
||
Go to the variables tab and create a variable for X and y | ||
|
||
- Set each variable to one column of the dataframe | ||
|
||
Drag out the "Get column" block from the dataframes tab | ||
|
||
 | ||
|
||
3. Create scatterplot | ||
- Add a scatterplot to the plot | ||
|
||
Get this blocks from the plots tab, and add it to your program | ||
|
||
 | ||
|
||
4. Click the run button to view your scatterplot (in data visualization tab) | ||
5. Create & Train Linear Regression Model | ||
- Create a variable for your linear regression model | ||
|
||
Go to the variables tab, and create a variable for a model | ||
|
||
- Set it to a linear regression model | ||
|
||
Drag out the linear regression model from the Linear Regression tab and set model to it | ||
|
||
 | ||
|
||
- Fit the linear regression model | ||
|
||
Drag out the `fit linear regression model` block and fit the model variable | ||
|
||
 | ||
|
||
6. Make prediction with linear regression | ||
- Make a prediction and print it out | ||
|
||
Drag out the print block from the text category, and then use the create text block to combine a string saying "Prediction (5 yrs experience)" and your predction | ||
|
||
 | ||
|
||
Add in a prediction block, where you're making a prediction with your linear regression model (in linear regression tab) | ||
|
||
 | ||
|
||
Full program | ||
|
||
- Full program | ||
|
||
 |
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.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19d9a78
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: