Answers.Body: <p>If the two inputs for the binary values are held to the domain set <span class="math-container">$\{0, 1\}$</span> during training, testing, and use, it will not break the network functionality, although the question is a good one. Why use so many bits to hold one?</p>
  
  <p><em>Theory of Holors: A Generalization of Tensors</em>, by Parry Moon and Domina Spencer (ISBNs 978-0521019002 and 0521019001), propose holors precisely because of this kind of limitation on the natural heterogeneity of numerical structure. Gibbs, Ricci, Einstein, and others used holors in their mathematical expressions but without the name holor. Holors are are conceptually related to objects in ontology and classes in object oriented design, but they are numbers, so they fit into mathematical expressions as scalars, vectors, matrices, vector fields, and other tensors do.</p>
  
  <p>This is the basis for Coplien's operator overload in C++ and one of the reasons the language is too mutable to be mastered by average applications programmers. Support for what Moon and Spenser called holors is also the basis of decoupled type safety in some of the early LISP object oriented frameworks.</p>
  
  <p>The current programming paradigm we seen in Java, Python, and other popular languages was set in FORTRAN, which was more attainable for average programmers, so we are stuck with homogeneous structure, even in AI libraries and GPUs. Therefore, once one number requires an IEEE 64 float, bytes and bits will use all 64.</p>
  
  <p>In artificial networks, this only matters in the very first multiplication with a parameter.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-26T19:18:35.573Z
Answers.Text: The question is clearly unclear (we don't know which framework/programming language the OP was using). No need to answer to such type of questions. First, ask for clarifications, then eventually answer to the question.
Answers.UserDisplayName: nbro
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-27T18:34:52.153Z
Answers.LastActivityDate: 2019-01-27T18:34:52.153Z
Answers.UserDisplayName: Douglas Daseeco
Body: <p>In my input tensor, I would like to use both integer values as well as booleans. For example, if there is a spelling difference between 2 texts, I want to set the value to true, and otherwise false. In the same tensor, I would like to assign a value to, for example, the maximum number of consecutive messages, which will be an integer. </p>
  
  <p>Am I allowed to use 0's and 1's for the booleans together with integers, or will it have any negative impact on the working of the network? The ANN wont see any difference between the binary and nonbinary values, but is it a problem?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-26T19:17:54.113Z
Comments.Text: Which framework, programming language, etc., are you using?
Comments.UserDisplayName: nbro
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-03-04T18:46:36.650Z
Comments.Text: TensorFlow for JavaScript @nbro
Comments.UserDisplayName: DaddyMike
Tags: <neural-networks>
Title: Nonbinary and binary values in input tensor
UserDisplayName: DaddyMike
ThreadText: # Nonbinary and binary values in input tensor
  
  (Asked by: username_0 on 2019-01-27)
  
  In my input tensor, I would like to use both integer values as well as booleans. For example, if there is a spelling difference between 2 texts, I want to set the value to true, and otherwise false. In the same tensor, I would like to assign a value to, for example, the maximum number of consecutive messages, which will be an integer.
  
  Am I allowed to use 0's and 1's for the booleans together with integers, or will it have any negative impact on the working of the network? The ANN wont see any difference between the binary and nonbinary values, but is it a problem?
  
  **Tags:** neural-networks
  > **Comments:**
  > **username_1**: Which framework, programming language, etc., are you using?  
  > **username_0**: TensorFlow for JavaScript @nbro  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-01-27. Score: -1 | Accepted answer
  
  If the two inputs for the binary values are held to the domain set $\{0, 1\}$ during training, testing, and use, it will not break the network functionality, although the question is a good one. Why use so many bits to hold one?
  
  *Theory of Holors: A Generalization of Tensors*, by Parry Moon and Domina Spencer (ISBNs 978-0521019002 and 0521019001), propose holors precisely because of this kind of limitation on the natural heterogeneity of numerical structure. Gibbs, Ricci, Einstein, and others used holors in their mathematical expressions but without the name holor. Holors are are conceptually related to objects in ontology and classes in object oriented design, but they are numbers, so they fit into mathematical expressions as scalars, vectors, matrices, vector fields, and other tensors do.
  
  This is the basis for Coplien's operator overload in C++ and one of the reasons the language is too mutable to be mastered by average applications programmers. Support for what Moon and Spenser called holors is also the basis of decoupled type safety in some of the early LISP object oriented frameworks.
  
  The current programming paradigm we seen in Java, Python, and other popular languages was set in FORTRAN, which was more attainable for average programmers, so we are stuck with homogeneous structure, even in AI libraries and GPUs. Therefore, once one number requires an IEEE 64 float, bytes and bits will use all 64.
  
  In artificial networks, this only matters in the very first multiplication with a parameter.
  
  > **Comments:**
  > **username_1**: The question is clearly unclear (we don't know which framework/programming language the OP was using). No need to answer to such type of questions. First, ask for clarifications, then eventually answer to the question.  
  
  ---
  
  