Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions mostly concerned with managing data, without focus on pre-processing or modelling.
38
votes
Accepted
How does the validation_split parameter of Keras' fit function work?
You want to always split your data before the training process and then the algorithm should only be trained using the subset of the data for training. … The function as it is designed ensures that the data is separated in such a way that it always trains on the same portion of the data for each epoch. …
7
votes
Accepted
Purpose of weights in neural networks
And labels $y$ which will split our data into $y \in \{men, women\}$.
A random line in this space is defined as
$0 = -2x_2 + x_1 + 1$.
Assume this is our boundary line. … We need to tune these values using the training data. We usually call these trainable parameters the weights $w$ associated with the features $x$ and we also add a bias $b$. …
1
vote
Which graph will be appropriate for the visualization task?
This will give you scattered data in the y-direction digitized for each country. …
3
votes
Create a binary-classification dataset (python: sklearn.datasets.make_classification)
Let's build some artificial data. There are many ways to do this. I usually always prefer to write my own little script that way I can better tailor the data according to my needs. … DataFrame as
df = pd.DataFrame(data=data)
df.head()
A cleaner example
import numpy as np
n = 100
data = {'temperature': np.random.normal(14, 3, n),
'moisture': np.random.normal(96, 2, n …