Skip to content
Dr James Froggatt
  • Website security (& ethical hacking)
  • Web programming services
  • Website development
  • Prices
  • Blog
  • Contact
  • Toggle website search
Menu Close
  • Website security (& ethical hacking)
  • Web programming services
  • Website development
  • Prices
  • Blog
  • Contact
  • Toggle website search

arrays

Splitting arrays

  • Post author:admin
  • Post published:February 3, 2019
  • Post category:Lists and Arrays/Python and Neural Networks
  • Post comments:0 Comments

There are many different ways to split arrays, but commonly this method is used in creating training and testing sets in neural networks. from numpy import array a = array([[1,2,3,4,5],[6,7,8,9,10],[11,12,13,14,15],[16,17,18,19,20]])…

Continue ReadingSplitting arrays

Normalizing and denormalizing data

  • Post author:admin
  • Post published:January 25, 2019
  • Post category:Lists and Arrays/Manipulating CSV files/Python and Neural Networks
  • Post comments:0 Comments

Given the following code: # import required to process csv files with pandas import pandas as pd #for array manipulation import numpy as np # use pandas to import a…

Continue ReadingNormalizing and denormalizing data

Python lists and arrays

  • Post author:admin
  • Post published:January 20, 2019
  • Post category:Lists and Arrays/Python and Neural Networks
  • Post comments:0 Comments

Lists and arrays in Python are quite similar but they're certainly not the same. Let's create a list and an array in python and see the differences. Creating a list…

Continue ReadingPython lists and arrays

Arrays in methods

  • Post author:admin
  • Post published:November 21, 2011
  • Post category:Arrays
  • Post comments:0 Comments

Passing arrays in methods Outputs: 7 9 11 13 We pass our array james to the changearray method which adds 5 to each element.

Continue ReadingArrays in methods

Simple arrays

  • Post author:admin
  • Post published:November 21, 2011
  • Post category:Arrays
  • Post comments:0 Comments

Outputs: 3 Note: new use 'new' above because an array is actually an object Outputs: 4 (the index of arrays starts at zero) Creating an array table Outputs: Index Value…

Continue ReadingSimple arrays

Search

Recent

  • Make grass than bends September 24, 2022
  • Making a png sprite map in InkScape (for later use in Javascript Game or any other game) September 24, 2022
  • Setting up node JS September 21, 2022

Categories

  • AJAX
  • Android Development
    • Activities and Intents
    • Android Examples
    • Big Nerd Ranch Notes
    • Fragments
    • Program Anatomy
  • CSS
  • GIT
  • HTML
  • Inkscape
  • Installations
    • VBulletin5
    • Wordpress
    • XAMPP
  • Java
    • "this" keyword
    • Abstract Classes & Interfaces
    • Arrays
    • Class Files
      • Abstract classes & methods
      • Final
      • Public, private, this
      • Static
      • Time Class
    • Compostition
    • Conditional operators
    • Constructors
      • Basics
      • Overloading Constructors
    • Decision statements
    • Enumeration
    • Inheritance
    • Inner classes
    • Interfaces
    • Java GUI
    • Java I/O
    • Keywords
      • Static
      • Super
    • Loops
    • Math Operators
    • Methods
      • Implicit & Explicit Parameters
      • Overloading
      • Overriding
      • Static Methods
      • Substring()
      • toString
    • Object Reference Preservation
    • Objects
      • Basics
      • Examples
    • Reference Types vs Primitive Types
    • Simple Programs
    • Specific Concepts
    • Variables
      • Basic Variables
      • Static variables
      • Variable Scope
  • Javascript
    • NodeJS
  • Javascript HTML DOM
  • Metatrader
  • Miscellaneous
    • Cooking recipes
    • DIY E-liquids
    • Go Pro 2
    • Holidays
    • Oakham School
    • Out and about on Android
    • Survivors Manchester
    • Trading
    • Wordle
    • Wordpress Stuff
  • Notepad++
  • PHP Programming
    • PHP Objects
    • PHP security
  • PMF
  • Python and Neural Networks
    • Latex
    • Lists and Arrays
    • Manipulating CSV files
    • Neural Network Notation
    • Sigmoids and tan
  • React and Node.js
  • SQL & Databases
    • SQL Specifics
    • World Map Manipulation

Copyright James Froggatt 2017-2020