From ac7745d4d2cf0528a2fed86929317c964868a904 Mon Sep 17 00:00:00 2001 From: THE-Spellchecker Date: Fri, 2 Jan 2026 17:02:11 -0600 Subject: [PATCH 1/4] Typographical Fixes --- content/c-sharp/concepts/classes/classes.md | 4 ++-- content/c-sharp/concepts/math-functions/terms/tanh/tanh.md | 2 +- content/c-sharp/concepts/strings/terms/split/split.md | 2 +- content/c/concepts/arrays/arrays.md | 4 ++-- .../c/concepts/arrays/terms/dynamic-arrays/dynamic-arrays.md | 2 +- content/c/concepts/memory-management/memory-management.md | 4 ++-- .../concepts/pointers/terms/double-pointer/double-pointer.md | 2 +- content/cpp/concepts/data-types/data-types.md | 2 +- content/cpp/concepts/maps/terms/empty/empty.md | 2 +- content/cpp/concepts/maps/terms/rbegin/rbegin.md | 2 +- content/cpp/concepts/maps/terms/swap/swap.md | 2 +- content/cpp/concepts/queues/terms/emplace/emplace.md | 2 +- content/cpp/concepts/unordered-map/terms/key-eq/key-eq.md | 2 +- .../unordered-map/terms/max-load-factor/max-load-factor.md | 2 +- 14 files changed, 17 insertions(+), 17 deletions(-) diff --git a/content/c-sharp/concepts/classes/classes.md b/content/c-sharp/concepts/classes/classes.md index 053ff4cf9e2..9152f2893ae 100644 --- a/content/c-sharp/concepts/classes/classes.md +++ b/content/c-sharp/concepts/classes/classes.md @@ -91,11 +91,11 @@ public class BankAccount { Static classes are defined using the `static` keyword and exclusively contain static members, such as methods, properties, and fields. Unlike regular classes, static classes cannot be instantiated with the `new` keyword. Instead, their members are accessed using the class name itself. These classes are commonly used for utility functions or to group related functionalities. -The `static` keyword forces all fields, methods, and properties to require this keyword. This means that if a user tries to create any of these without the `static` keyword, the code will not run and will produce a compile-time error. The reason behind this is that the user can not create an instance of a static class without using this keyword. Any methods, properties and fields that are not marked as `static` would be unreachable. +The `static` keyword forces all fields, methods, and properties to require this keyword. This means that if a user tries to create any of these without the `static` keyword, the code will not run and will produce a compile-time error. The reason behind this is that the user cannot create an instance of a static class without using this keyword. Any methods, properties and fields that are not marked as `static` would be unreachable. ### Example -In the example below, a static class called `MyStaticClass` is created. The commented out code shows what a user can not do with static classes. If these commented out pieces of code were to be uncommented, the code would not compile. The example also shows how properties and methods in the `MyStaticClass` class are created and used in the `CallingClass` class: +In the example below, a static class called `MyStaticClass` is created. The commented out code shows what a user cannot do with static classes. If these commented out pieces of code were to be uncommented, the code would not compile. The example also shows how properties and methods in the `MyStaticClass` class are created and used in the `CallingClass` class: ```cs using System; diff --git a/content/c-sharp/concepts/math-functions/terms/tanh/tanh.md b/content/c-sharp/concepts/math-functions/terms/tanh/tanh.md index d5d67313315..a3b4f8e4692 100644 --- a/content/c-sharp/concepts/math-functions/terms/tanh/tanh.md +++ b/content/c-sharp/concepts/math-functions/terms/tanh/tanh.md @@ -18,7 +18,7 @@ The **`Math.Tanh()`** method returns the hyperbolic tangent of a given angle in ## Syntax ```pseudo -Math.Tahn(x); +Math.Tanh(x); ``` This method accepts a single parameter,`x`, which is the angle in radians. It returns the hyperbolic tangent value of `x`. diff --git a/content/c-sharp/concepts/strings/terms/split/split.md b/content/c-sharp/concepts/strings/terms/split/split.md index 3cb8301f86e..b6341c0af87 100644 --- a/content/c-sharp/concepts/strings/terms/split/split.md +++ b/content/c-sharp/concepts/strings/terms/split/split.md @@ -80,7 +80,7 @@ class EqualsMethod { Console.WriteLine($"Substring: {sub}"); } - // To remove spaces alongwith the comma, specify ', ' as the delimiter. + // To remove spaces along with the comma, specify ', ' as the delimiter. subs = s1.Split(", "); foreach (var sub in subs) { diff --git a/content/c/concepts/arrays/arrays.md b/content/c/concepts/arrays/arrays.md index 43a02bde243..15a49da0957 100644 --- a/content/c/concepts/arrays/arrays.md +++ b/content/c/concepts/arrays/arrays.md @@ -55,13 +55,13 @@ In the syntax: - `value1, value2, ..., valueN`: The elements to be stored in the array. -This example declares and intializes the `grades` array with values: +This example declares and initializes the `grades` array with values: ```c int grades[] = {96, 90, 78, 84, 88, 92}; ``` -> **Note:** When arrays are initalized during declaration, the length is generally omitted. +> **Note:** When arrays are initialized during declaration, the length is generally omitted. ## Accessing Array Elements diff --git a/content/c/concepts/arrays/terms/dynamic-arrays/dynamic-arrays.md b/content/c/concepts/arrays/terms/dynamic-arrays/dynamic-arrays.md index 7e849d64da6..74f279a87e7 100644 --- a/content/c/concepts/arrays/terms/dynamic-arrays/dynamic-arrays.md +++ b/content/c/concepts/arrays/terms/dynamic-arrays/dynamic-arrays.md @@ -67,7 +67,7 @@ When the dynamically allocated memory is no longer needed, use [`free()`](https: The syntax for using `free()` is as follows: -```psuedo +```pseudo free(arr); ``` diff --git a/content/c/concepts/memory-management/memory-management.md b/content/c/concepts/memory-management/memory-management.md index 3f6a03b5964..c035175ece6 100644 --- a/content/c/concepts/memory-management/memory-management.md +++ b/content/c/concepts/memory-management/memory-management.md @@ -20,12 +20,12 @@ The memory allocation can be done either before or at the time of program implem In this type of allocation, the compiler allocates a fixed amount of memory during compile time and the operating system internally uses a data structure known as stack to manage the memory. -Exact memory requirements must be known in advance as once memory is allocated it can not be changed. +Exact memory requirements must be known in advance as once memory is allocated it cannot be changed. ```c int days; // Needs to be initialized or assigned some value at run time int snowfall = 0; // Normal variable -const int maxScore = 10; // Constant, can not be changed +const int maxScore = 10; // Constant, cannot be changed ``` ## Dynamic Memory Allocation diff --git a/content/c/concepts/pointers/terms/double-pointer/double-pointer.md b/content/c/concepts/pointers/terms/double-pointer/double-pointer.md index 6901eba5035..d916ee64ab6 100644 --- a/content/c/concepts/pointers/terms/double-pointer/double-pointer.md +++ b/content/c/concepts/pointers/terms/double-pointer/double-pointer.md @@ -67,5 +67,5 @@ Address of doublePointer: 0x7ffcbffdcc20 In the example: - `value` is an integer variable. -- `pointer` is a pointer tha stores the address of `value`. +- `pointer` is a pointer the stores the address of `value`. - `doublePointer` is a double pointer that stores the address of the pointer. diff --git a/content/cpp/concepts/data-types/data-types.md b/content/cpp/concepts/data-types/data-types.md index 30942539f23..62572b09245 100644 --- a/content/cpp/concepts/data-types/data-types.md +++ b/content/cpp/concepts/data-types/data-types.md @@ -124,7 +124,7 @@ std::cout << weight2 << std::endl; // Output: 122 ``` -Not all types can be converted. The example below shows a type that can not be accepted: +Not all types can be converted. The example below shows a type that cannot be accepted: ```cpp std::string s = static_cast(weight2); diff --git a/content/cpp/concepts/maps/terms/empty/empty.md b/content/cpp/concepts/maps/terms/empty/empty.md index e74a6e98df1..2f4067fa06d 100644 --- a/content/cpp/concepts/maps/terms/empty/empty.md +++ b/content/cpp/concepts/maps/terms/empty/empty.md @@ -3,7 +3,7 @@ Title: '.empty()' Description: 'Checks if a given map is empty.' Subjects: - 'Computer Science' - - 'Game Deelopment' + - 'Game Development' Tags: - 'Data Structures' - 'Documentation' diff --git a/content/cpp/concepts/maps/terms/rbegin/rbegin.md b/content/cpp/concepts/maps/terms/rbegin/rbegin.md index c9ebb5e6642..e988e8d452b 100644 --- a/content/cpp/concepts/maps/terms/rbegin/rbegin.md +++ b/content/cpp/concepts/maps/terms/rbegin/rbegin.md @@ -32,7 +32,7 @@ The function returns a reverse iterator that points to the last element of the c ## Example -The following exmaple demonstrates the usage of the `.rbegin()` function: +The following example demonstrates the usage of the `.rbegin()` function: ```cpp #include diff --git a/content/cpp/concepts/maps/terms/swap/swap.md b/content/cpp/concepts/maps/terms/swap/swap.md index 3a05bee47da..ac28ec8f1f2 100644 --- a/content/cpp/concepts/maps/terms/swap/swap.md +++ b/content/cpp/concepts/maps/terms/swap/swap.md @@ -28,7 +28,7 @@ map1.swap(map2); ## Example -The following example shows how the `swap()` funcrion works: +The following example shows how the `swap()` function works: ```cpp #include diff --git a/content/cpp/concepts/queues/terms/emplace/emplace.md b/content/cpp/concepts/queues/terms/emplace/emplace.md index b94c6ea2cfa..a5cabe9877e 100644 --- a/content/cpp/concepts/queues/terms/emplace/emplace.md +++ b/content/cpp/concepts/queues/terms/emplace/emplace.md @@ -29,7 +29,7 @@ queue.emplace(args...) Since C++17: A reference to the inserted element (the value returned by the underlying container's `emplace_back` method). -## Example 1: Enqueueing log entries into a queue +## Example 1: Enqueuing log entries into a queue In this example, log messages are constructed in place and enqueued for later processing: diff --git a/content/cpp/concepts/unordered-map/terms/key-eq/key-eq.md b/content/cpp/concepts/unordered-map/terms/key-eq/key-eq.md index 102e4060e49..c814c48e0a4 100644 --- a/content/cpp/concepts/unordered-map/terms/key-eq/key-eq.md +++ b/content/cpp/concepts/unordered-map/terms/key-eq/key-eq.md @@ -3,7 +3,7 @@ Title: '.key_eq()' Description: 'Returns the key equality comparison function used by the `unordered_map` container.' Subjects: - 'Computer Science' - - 'Data Scienec' + - 'Data Science' Tags: - 'Classes' - 'Map' diff --git a/content/cpp/concepts/unordered-map/terms/max-load-factor/max-load-factor.md b/content/cpp/concepts/unordered-map/terms/max-load-factor/max-load-factor.md index d391e98e2ae..bc89cc0a254 100644 --- a/content/cpp/concepts/unordered-map/terms/max-load-factor/max-load-factor.md +++ b/content/cpp/concepts/unordered-map/terms/max-load-factor/max-load-factor.md @@ -85,7 +85,7 @@ Raising the load factor allows more elements per bucket, delaying rehashing and This example sets a lower load factor to prioritize faster lookups in a time-critical application: -```codebye/cpp +```codebyte/cpp #include #include From 838bb9fb090997094f2be5cb413bcfd8dbaf72e6 Mon Sep 17 00:00:00 2001 From: THE-Spellchecker Date: Fri, 2 Jan 2026 23:39:12 -0600 Subject: [PATCH 2/4] More Typographical Fixes --- .../pointers/terms/double-pointer/double-pointer.md | 2 +- content/dart/concepts/map/terms/forEach/forEach.md | 4 ++-- content/dart/concepts/methods/methods.md | 2 +- content/dart/concepts/strings/strings.md | 2 +- .../terms/normal-distribution/normal-distribution.md | 2 +- content/html/concepts/comments/comments.md | 2 +- content/javascript/concepts/arrays/terms/reduce/reduce.md | 2 +- content/javascript/concepts/callbacks/callbacks.md | 2 +- .../dom-manipulation/terms/queryselector/queryselector.md | 2 +- .../javascript/concepts/rest-parameters/rest-parameters.md | 2 +- content/javascript/concepts/type-coercion/type-coercion.md | 4 ++-- .../kotlin/concepts/datetime/terms/asTimeZone/asTimeZone.md | 2 +- content/mysql/concepts/bit-functions/bit-functions.md | 2 +- .../mysql/concepts/built-in-functions/terms/unhex/unhex.md | 2 +- .../concepts/built-in-functions/terms/argmin/argmin.md | 2 +- .../concepts/built-in-functions/terms/nonzero/nonzero.md | 4 ++-- content/numpy/concepts/math-methods/terms/floor/floor.md | 2 +- content/numpy/concepts/math-methods/terms/round/round.md | 6 +++--- content/numpy/concepts/ndarray/terms/astype/astype.md | 2 +- content/numpy/concepts/random-module/terms/rand/rand.md | 2 +- .../numpy/concepts/random-module/terms/shuffle/shuffle.md | 2 +- .../built-in-functions/terms/to-datetime/to-datetime.md | 2 +- content/pillow/concepts/image/terms/getbbox/getbbox.md | 2 +- content/pillow/concepts/image/terms/resize/resize.md | 2 +- content/plotly/concepts/express/terms/box/box.md | 2 +- content/plotly/concepts/express/terms/scatter/scatter.md | 2 +- content/tensorflow/concepts/nn/nn.md | 4 ++-- content/uiux/concepts/first-click-test/first-click-test.md | 2 +- content/uiux/concepts/user-research/user-research.md | 4 ++-- 29 files changed, 36 insertions(+), 36 deletions(-) diff --git a/content/c/concepts/pointers/terms/double-pointer/double-pointer.md b/content/c/concepts/pointers/terms/double-pointer/double-pointer.md index d916ee64ab6..9b8911d27e6 100644 --- a/content/c/concepts/pointers/terms/double-pointer/double-pointer.md +++ b/content/c/concepts/pointers/terms/double-pointer/double-pointer.md @@ -67,5 +67,5 @@ Address of doublePointer: 0x7ffcbffdcc20 In the example: - `value` is an integer variable. -- `pointer` is a pointer the stores the address of `value`. +- `pointer` is a pointer that stores the address of `value`. - `doublePointer` is a double pointer that stores the address of the pointer. diff --git a/content/dart/concepts/map/terms/forEach/forEach.md b/content/dart/concepts/map/terms/forEach/forEach.md index 1486d06395b..341a7fbd729 100644 --- a/content/dart/concepts/map/terms/forEach/forEach.md +++ b/content/dart/concepts/map/terms/forEach/forEach.md @@ -40,7 +40,7 @@ map.forEach((key, value) => expression); ## Example 1 -The the following example, the `.forEach()` is used to print each key-value pair: +The following example, the `.forEach()` is used to print each key-value pair: ```dart void main() { @@ -66,7 +66,7 @@ Charlie is 35 years old. ## Example 2 -The the following example, The `.forEach()` method uses an arrow function to print each product and its price in a formatted string: +The following example, The `.forEach()` method uses an arrow function to print each product and its price in a formatted string: ```dart void main() { diff --git a/content/dart/concepts/methods/methods.md b/content/dart/concepts/methods/methods.md index b75d60ce4c4..6788817a293 100644 --- a/content/dart/concepts/methods/methods.md +++ b/content/dart/concepts/methods/methods.md @@ -394,7 +394,7 @@ void main() { } ``` -> Note: In the case of a short-hand method, a `return` keyword is not used in it's expression and will thus return the specified result by default. +> Note: In the case of a short-hand method, a `return` keyword is not used in its expression and will thus return the specified result by default. The output is following: diff --git a/content/dart/concepts/strings/strings.md b/content/dart/concepts/strings/strings.md index 673c54e4f36..efc27cc454c 100644 --- a/content/dart/concepts/strings/strings.md +++ b/content/dart/concepts/strings/strings.md @@ -19,7 +19,7 @@ A **`String`** is a sequence of characters (such as letters, numbers, and symbol Here is the syntax for single, double, and triple quoted strings in Dart: -```psuedo +```pseudo String singleQuoteString = 'This is a Dart string with a single quote.'; String doubleQuoteString = "This is a Dart string with double quotes."; String multiLineString = ''' diff --git a/content/data-science/concepts/data-distributions/terms/normal-distribution/normal-distribution.md b/content/data-science/concepts/data-distributions/terms/normal-distribution/normal-distribution.md index e881f7f0962..e4c8a62ef84 100644 --- a/content/data-science/concepts/data-distributions/terms/normal-distribution/normal-distribution.md +++ b/content/data-science/concepts/data-distributions/terms/normal-distribution/normal-distribution.md @@ -13,7 +13,7 @@ CatalogContent: - 'paths/data-science' --- -The **normal distribution**, otherwise known as the Gaussian distribution, is one of the most signifcant probability distributions used for continuous data. It is defined by two parameters: +The **normal distribution**, otherwise known as the Gaussian distribution, is one of the most significant probability distributions used for continuous data. It is defined by two parameters: - **Mean (μ)**: The central value of the distribution. - **Standard Deviation (σ)**: Computes the amount of variation or dispersion in the data. diff --git a/content/html/concepts/comments/comments.md b/content/html/concepts/comments/comments.md index 069cec9d8dd..c78096a05ee 100644 --- a/content/html/concepts/comments/comments.md +++ b/content/html/concepts/comments/comments.md @@ -72,7 +72,7 @@ This renders properly, but the following example would cause errors: ## Nested comments -Nested cooments are not recommended because they may cause unexpected behavior. An HTML comment ends at the first occurrence of a closing tag (`-->`), so anything written after that may be rendered on the page—even if it's intended to be hidden. Example: +Nested comments are not recommended because they may cause unexpected behavior. An HTML comment ends at the first occurrence of a closing tag (`-->`), so anything written after that may be rendered on the page—even if it's intended to be hidden. Example: ```html diff --git a/content/javascript/concepts/arrays/terms/reduce/reduce.md b/content/javascript/concepts/arrays/terms/reduce/reduce.md index abccf91d113..d1de53a2ec2 100644 --- a/content/javascript/concepts/arrays/terms/reduce/reduce.md +++ b/content/javascript/concepts/arrays/terms/reduce/reduce.md @@ -58,7 +58,7 @@ This example results in the following output: The callback function adds each `currentValue` to the `accumulator`, starting with an initial value of 0. -## Example 2: Using `array.reduce()` to Calulate Shopping Cart Total +## Example 2: Using `array.reduce()` to Calculate Shopping Cart Total This example shows how `.reduce()` in JavaScript can calculate the total price of items in a shopping cart, a common real-world scenario: diff --git a/content/javascript/concepts/callbacks/callbacks.md b/content/javascript/concepts/callbacks/callbacks.md index 0faa355c197..268d6da7694 100644 --- a/content/javascript/concepts/callbacks/callbacks.md +++ b/content/javascript/concepts/callbacks/callbacks.md @@ -118,7 +118,7 @@ var url = 'https://jsonplaceholder.typicode.com/posts/1'; // Sample API endpoint fetchData(url, handleResponse); // Call the fetch function and pass the callback ``` -In the code above, the `fetchData` function takes two arguments `url` and `handleResponse`. `url` is the API url from which we have to get the data. `handleResponse` is the callback funtion that gets executed when the network request returns either data or an error. +In the code above, the `fetchData` function takes two arguments `url` and `handleResponse`. `url` is the API url from which we have to get the data. `handleResponse` is the callback function that gets executed when the network request returns either data or an error. The output will look like this: diff --git a/content/javascript/concepts/dom-manipulation/terms/queryselector/queryselector.md b/content/javascript/concepts/dom-manipulation/terms/queryselector/queryselector.md index fea85afc55d..aad638513f5 100644 --- a/content/javascript/concepts/dom-manipulation/terms/queryselector/queryselector.md +++ b/content/javascript/concepts/dom-manipulation/terms/queryselector/queryselector.md @@ -133,7 +133,7 @@ The output generated by this example is as follows: ![A webpage showing a password field with a blue border and a menu with a highlighted 'Home' item, demonstrating complex selectors in querySelector](https://raw.githubusercontent.com/Codecademy/docs/main/media/querySelector_output2.png) -This example demonstrates using descendent selectors and attribute selectors to precisely target specific elements in a more complex DOM structure. The first selector targets an input with `type="password"` within the `#user-panel` element, while the second selector finds an element with class `"active"` within an element with class `"menu"`. +This example demonstrates using descendant selectors and attribute selectors to precisely target specific elements in a more complex DOM structure. The first selector targets an input with `type="password"` within the `#user-panel` element, while the second selector finds an element with class `"active"` within an element with class `"menu"`. ## Example 3: Dynamic Content Manipulation with querySelector diff --git a/content/javascript/concepts/rest-parameters/rest-parameters.md b/content/javascript/concepts/rest-parameters/rest-parameters.md index 2465a889901..16adb164882 100644 --- a/content/javascript/concepts/rest-parameters/rest-parameters.md +++ b/content/javascript/concepts/rest-parameters/rest-parameters.md @@ -70,7 +70,7 @@ class TestRest { this.successInsert = 'Successful insert!' this.error = 'Error!' this.errorNotFound = 'Data not found!' - this.errorNotAvaliable = 'Process not avaliable!' + this.errorNotAvaliable = 'Process not available!' this.errorAction = 'You will be redirected!' } } diff --git a/content/javascript/concepts/type-coercion/type-coercion.md b/content/javascript/concepts/type-coercion/type-coercion.md index f1daf442ad5..6e53007e8ce 100644 --- a/content/javascript/concepts/type-coercion/type-coercion.md +++ b/content/javascript/concepts/type-coercion/type-coercion.md @@ -76,9 +76,9 @@ NaN ## Boolean Type Coercion -To explicitly coerce a value into a boolean, the `Boolean()` function is used. A value undergoes implicit coercion when used in a test expression for an `if` statement, `for` loop, `while` loop, or a ternary expression. A value can also undergo implict coercion when used as the left-hand operand to the logical operators (`||`, `&&`, and `!`). +To explicitly coerce a value into a boolean, the `Boolean()` function is used. A value undergoes implicit coercion when used in a test expression for an `if` statement, `for` loop, `while` loop, or a ternary expression. A value can also undergo implicit coercion when used as the left-hand operand to the logical operators (`||`, `&&`, and `!`). -Nearly all possible values will convert into `true`, but only a handlful will convert into `false`. The values that will become false are: +Nearly all possible values will convert into `true`, but only a handful will convert into `false`. The values that will become false are: - `undefined` - `null` diff --git a/content/kotlin/concepts/datetime/terms/asTimeZone/asTimeZone.md b/content/kotlin/concepts/datetime/terms/asTimeZone/asTimeZone.md index c94da02b942..879a6e90eba 100644 --- a/content/kotlin/concepts/datetime/terms/asTimeZone/asTimeZone.md +++ b/content/kotlin/concepts/datetime/terms/asTimeZone/asTimeZone.md @@ -19,7 +19,7 @@ The **`.asTimeZone()`** method in Kotlin converts a `UtcOffset` object to a time ## Syntax -```psuedo +```pseudo fun UtcOffset.asTimeZone(): FixedOffsetTimeZone ``` diff --git a/content/mysql/concepts/bit-functions/bit-functions.md b/content/mysql/concepts/bit-functions/bit-functions.md index b5c3b10a017..ab16d4713bc 100644 --- a/content/mysql/concepts/bit-functions/bit-functions.md +++ b/content/mysql/concepts/bit-functions/bit-functions.md @@ -110,7 +110,7 @@ Comparison of each bit position: - If the bits are the same, the resulting bit is 0 - 5 in binary is represented as 101 and 0 in binary is represented as 000. -- Bit Position 2 is is the leftmost bit in a 3-bit binary number +- Bit Position 2 is the leftmost bit in a 3-bit binary number - Bit Position 1 is the middle bit in a 3-bit binary number - Bit Position 0 is the rightmost bit in a 3-bit binary number diff --git a/content/mysql/concepts/built-in-functions/terms/unhex/unhex.md b/content/mysql/concepts/built-in-functions/terms/unhex/unhex.md index 3d9cda18139..23e2e4cd0f8 100644 --- a/content/mysql/concepts/built-in-functions/terms/unhex/unhex.md +++ b/content/mysql/concepts/built-in-functions/terms/unhex/unhex.md @@ -14,7 +14,7 @@ CatalogContent: - 'paths/analyze-data-with-sql' --- -The **`UNHEX()`** [function](https://www.codecademy.com/resources/docs/mysql/built-in-functions) is a build-in function in MySQL that converts a hexadecimal string to its corresponding binary string. Useful when we have data stored in hexadecimal format we can use `UNHEX()` function to convert it to the original binary form making it usable and understandable. +The **`UNHEX()`** [function](https://www.codecademy.com/resources/docs/mysql/built-in-functions) is a built-in function in MySQL that converts a hexadecimal string to its corresponding binary string. Useful when we have data stored in hexadecimal format we can use `UNHEX()` function to convert it to the original binary form making it usable and understandable. ## Syntax diff --git a/content/numpy/concepts/built-in-functions/terms/argmin/argmin.md b/content/numpy/concepts/built-in-functions/terms/argmin/argmin.md index 034f91b353b..d4bfe6057e3 100644 --- a/content/numpy/concepts/built-in-functions/terms/argmin/argmin.md +++ b/content/numpy/concepts/built-in-functions/terms/argmin/argmin.md @@ -51,7 +51,7 @@ print(np.argmin(arr, axis=0)) # Minimum indices along columns print(np.argmin(arr, axis=1)) # Minimum indices along rows ``` -The output produced by the exammple code will be: +The output produced by the example code will be: ```shell 4 diff --git a/content/numpy/concepts/built-in-functions/terms/nonzero/nonzero.md b/content/numpy/concepts/built-in-functions/terms/nonzero/nonzero.md index 7f29e855040..40ae303b9b3 100644 --- a/content/numpy/concepts/built-in-functions/terms/nonzero/nonzero.md +++ b/content/numpy/concepts/built-in-functions/terms/nonzero/nonzero.md @@ -17,7 +17,7 @@ The **`.nonzero()`** function identifies and returns the indices of the non-zero ## Syntax -```psuedo +```pseudo numpy.nonzero(a) ``` @@ -75,7 +75,7 @@ print("Non-zero Indices:", nonzero_indices) print("Non-zero Values:", no_zero_array2) ``` -The outut for this example will be: +The output for this example will be: ```shell Array: [[1 2] diff --git a/content/numpy/concepts/math-methods/terms/floor/floor.md b/content/numpy/concepts/math-methods/terms/floor/floor.md index 55d5d7d4793..77afbb05b07 100644 --- a/content/numpy/concepts/math-methods/terms/floor/floor.md +++ b/content/numpy/concepts/math-methods/terms/floor/floor.md @@ -20,7 +20,7 @@ In the NumPy library, the **`.floor()`** method rounds down a number or an array ## Syntax -```psuedo +```pseudo numpy.floor(input, out=None) ``` diff --git a/content/numpy/concepts/math-methods/terms/round/round.md b/content/numpy/concepts/math-methods/terms/round/round.md index 71918d9c1ce..1f3a0d32a48 100644 --- a/content/numpy/concepts/math-methods/terms/round/round.md +++ b/content/numpy/concepts/math-methods/terms/round/round.md @@ -19,11 +19,11 @@ In the NumPy library, the **`.round()`** method rounds a number or an array of n ## Syntax -```psuedo +```pseudo numpy.round(array, decimals=0, out=None) ``` -- `array`: Represents either a single number or an array of numbers. Each element, wheather a float or integer, will be rounded. +- `array`: Represents either a single number or an array of numbers. Each element, whether a float or integer, will be rounded. - `decimal`: Optional parameter that specifies the number of decimal places to which the numbers or elements in the array will be rounded. The default value is 0, and it accepts both positive and negative integers. - `out`: Optional parameter that allows specifying an output array where the rounded results will be stored. If not provided, a new array will be created to store the rounded values. @@ -47,7 +47,7 @@ print("# Case 2") print(array_rounded) # Case 3: np.round() accepts an array, float or integer as it's first and only required parameter. It also accepts a second integer to indicate the decimal place. -# Printing with the repr() function will output the result with commas seperating the elements. +# Printing with the repr() function will output the result with commas separating the elements. unrounded_list = [4.5674, 19.3455, 56.3946] rounded_list = np.round(unrounded_list, 2) print("# Case 3") diff --git a/content/numpy/concepts/ndarray/terms/astype/astype.md b/content/numpy/concepts/ndarray/terms/astype/astype.md index 5e47924eb51..2bd2a9c60da 100644 --- a/content/numpy/concepts/ndarray/terms/astype/astype.md +++ b/content/numpy/concepts/ndarray/terms/astype/astype.md @@ -18,7 +18,7 @@ The **`.astype()`** function in NumPy allows changing the data type of the eleme ## Syntax -```psuedo +```pseudo ndarray.astype(dtype, order='K', casting='unsafe', subok=True, copy=True) ``` diff --git a/content/numpy/concepts/random-module/terms/rand/rand.md b/content/numpy/concepts/random-module/terms/rand/rand.md index 0a05454ee5e..ffeaf3bc515 100644 --- a/content/numpy/concepts/random-module/terms/rand/rand.md +++ b/content/numpy/concepts/random-module/terms/rand/rand.md @@ -56,7 +56,7 @@ fourD_array = np.random.rand(2, 4, 3) print("This is a 3D array with shape (2, 4, 3):", fourD_array, "\n") ``` -The possible ouput for this code can be: +The possible output for this code can be: ```shell This is a single float: 0.062282333140694646 diff --git a/content/numpy/concepts/random-module/terms/shuffle/shuffle.md b/content/numpy/concepts/random-module/terms/shuffle/shuffle.md index 0916ca2bf21..7126ed86ef4 100644 --- a/content/numpy/concepts/random-module/terms/shuffle/shuffle.md +++ b/content/numpy/concepts/random-module/terms/shuffle/shuffle.md @@ -51,7 +51,7 @@ np.random.shuffle(arr) print("Shuffled Array:", arr) ``` -This could could result in the following possible output: +This could result in the following possible output: ```shell Original Array: [1 2 3 4 5] diff --git a/content/pandas/concepts/built-in-functions/terms/to-datetime/to-datetime.md b/content/pandas/concepts/built-in-functions/terms/to-datetime/to-datetime.md index acb562370c0..e9b6812c023 100644 --- a/content/pandas/concepts/built-in-functions/terms/to-datetime/to-datetime.md +++ b/content/pandas/concepts/built-in-functions/terms/to-datetime/to-datetime.md @@ -142,7 +142,7 @@ Number of invalid dates converted to NaT: 1 Clean data shape: (4, 3) ``` -This example demonstrates handling real-world financial data where dates might be in different formats or contain invalid entries. Using `errors='coerce'` converts unparseable dates to NaT (Not a Time), allowing the analysis to continue with valid data. +This example demonstrates handling real-world financial data where dates might be in different formats or contain invalid entries. Using `errors='coerce'` converts unparsable dates to NaT (Not a Time), allowing the analysis to continue with valid data. ## Codebyte Example: Sensor Data Time Series Analysis diff --git a/content/pillow/concepts/image/terms/getbbox/getbbox.md b/content/pillow/concepts/image/terms/getbbox/getbbox.md index 9c6a7c663e7..81a88a60620 100644 --- a/content/pillow/concepts/image/terms/getbbox/getbbox.md +++ b/content/pillow/concepts/image/terms/getbbox/getbbox.md @@ -68,4 +68,4 @@ This code produces the following output: (0, 0, 672, 322) ``` -The output indicates that the non-zero (non-backround) area of the image starts at (0, 0) and extends to (672, 322). +The output indicates that the non-zero (non-background) area of the image starts at (0, 0) and extends to (672, 322). diff --git a/content/pillow/concepts/image/terms/resize/resize.md b/content/pillow/concepts/image/terms/resize/resize.md index 715e78101f4..a3eda63a64d 100644 --- a/content/pillow/concepts/image/terms/resize/resize.md +++ b/content/pillow/concepts/image/terms/resize/resize.md @@ -42,7 +42,7 @@ from PIL import Image # Original image is 2000x2000 pixels. img = Image.open('pillow-resize-earth.png') -# showccasing the original image +# showcasing the original image img.show() img_resized = img.resize((500, 500)) diff --git a/content/plotly/concepts/express/terms/box/box.md b/content/plotly/concepts/express/terms/box/box.md index 654887941ec..9f45d8d69f8 100644 --- a/content/plotly/concepts/express/terms/box/box.md +++ b/content/plotly/concepts/express/terms/box/box.md @@ -30,7 +30,7 @@ plotly.express.box(data_frame=None, x=None, y=None, color=None, labels=None, tit - `labels`: Key-value pairs with the original column names as the key and the custom column names as the value. - `title`: The title of the box plot. -Tthe only required parameter is `data_frame`, while all others are optional and used to customize the plot. +The only required parameter is `data_frame`, while all others are optional and used to customize the plot. > **Note:** The ellipsis (...) indicates that there can be additional optional arguments beyond those listed here. diff --git a/content/plotly/concepts/express/terms/scatter/scatter.md b/content/plotly/concepts/express/terms/scatter/scatter.md index bb6c02f314b..20f3096824b 100644 --- a/content/plotly/concepts/express/terms/scatter/scatter.md +++ b/content/plotly/concepts/express/terms/scatter/scatter.md @@ -27,7 +27,7 @@ plotly.express.scatter(data_frame=None, x=None, y=None, color=None, symbol=None, - `y`: The column name in `data_frame`, `Series` or array_like object for y-axis data. - `color`: The column name in `data_frame`, `Series` or array_like object specifying marker colors. - `symbol`: The column name in `data_frame`, `Series` or array_like object assigning marker symbols. -- `size`: The column name in `data_frame`, `Series` or array_like object assgining marker sizes. +- `size`: The column name in `data_frame`, `Series` or array_like object assigning marker sizes. Both the `x` and `y` parameters are required and represent either a string, integer, `Series`, or array-like object. Other parameters are optional and can modify plot features such as marker sizes and/or colors. If `data_frame` is missing, a `DataFrame` is constructed using the other arguments. diff --git a/content/tensorflow/concepts/nn/nn.md b/content/tensorflow/concepts/nn/nn.md index f90a2c9d117..126894c610c 100644 --- a/content/tensorflow/concepts/nn/nn.md +++ b/content/tensorflow/concepts/nn/nn.md @@ -35,7 +35,7 @@ A neural network in TensorFlow includes the following layers: The basic steps in the process of implementing a neural network with TensorFlow include: -1. **Collect and Load Data**: TensorFlow provides the [`tf.data.Dataset` API](https://www.tensorflow.org/api_docs/python/tf/data/Dataset) to create and prepocess a dataset from your input data. +1. **Collect and Load Data**: TensorFlow provides the [`tf.data.Dataset` API](https://www.tensorflow.org/api_docs/python/tf/data/Dataset) to create and preprocess a dataset from your input data. 2. **Build the Model**: The [Keras](https://www.tensorflow.org/guide/keras) high-level API provides functionality to construct different neural networks architectures in TensorFlow. The simplest type of model is the [`Sequential` model](https://www.tensorflow.org/guide/keras/sequential_model), which has a single input tensor and a single output tensor. @@ -43,6 +43,6 @@ The basic steps in the process of implementing a neural network with TensorFlow 4. **Compile the Model**: Keras [`Model.compile` method](https://www.tensorflow.org/api_docs/python/tf/keras/Model#compile) is used to configure the model's training process, specify how it should learn, and how to minimize errors. -5. **Train the Model**: The `Model.fit` method can be used to train the model for a choosen number of epochs (e.g., `model.fit(x_train, y_train, epochs=5)`). A higher number of epochs will require more computing power and time. +5. **Train the Model**: The `Model.fit` method can be used to train the model for a chosen number of epochs (e.g., `model.fit(x_train, y_train, epochs=5)`). A higher number of epochs will require more computing power and time. 6. **Use the Model**: The trained model is an object that can be used to pass in data and get predictions. TensorFlow provides several options to [save, serialize and export models](https://www.tensorflow.org/guide/keras/serialization_and_saving). diff --git a/content/uiux/concepts/first-click-test/first-click-test.md b/content/uiux/concepts/first-click-test/first-click-test.md index cb5f8ca652c..d948044c4c9 100644 --- a/content/uiux/concepts/first-click-test/first-click-test.md +++ b/content/uiux/concepts/first-click-test/first-click-test.md @@ -19,7 +19,7 @@ It is based on a simple but powerful insight: Analyzing these initial interactions allows teams to spot usability issues early and validate navigation patterns, content labels or layout choices. In the following example, the heatmap illustrates where users clicked first during a task, highlighting areas of interest and potential usability issues. -![Screenshot of a first click heatmap from a user interace](https://raw.githubusercontent.com/Codecademy/docs/main/media/first-click-heatmap.png) +![Screenshot of a first click heatmap from a user interface](https://raw.githubusercontent.com/Codecademy/docs/main/media/first-click-heatmap.png) ## Why Is the First Click Important? diff --git a/content/uiux/concepts/user-research/user-research.md b/content/uiux/concepts/user-research/user-research.md index 68b5e78e204..3dd30054779 100644 --- a/content/uiux/concepts/user-research/user-research.md +++ b/content/uiux/concepts/user-research/user-research.md @@ -28,9 +28,9 @@ _Reporting_: Finally, researchers will translate their analyzed data into an eas ## User Research Considerations -The considerations that designers should make in terms of user research are decribed below in detail. +The considerations that designers should make in terms of user research are described below in detail. -Designers must consider whether they working with _qualitative_ or _quantitative_ data. [Quantitative research](https://www.codecademy.com/resources/docs/uiux/quantitative-research) data can be expressed numerically, such as "75% of users who reach this page exit the site" or "65% of survey respondents are men aged 30-45." Quantitative research can take the form of site tracking, closed-ended survey questions, or behavioural assessment, among other methodologies. [Qualitative research](https://www.codecademy.com/resources/docs/uiux/qualitative-research) data typically expresses judgment or evaluation from individual respondents. A qualitative report might read, "User expressed difficulty discerning text from a background with colour combination A" or "Researcher observed user frustration trying to access feature B." Designers seeking qualitative data can utilize interviews, open-ended survey questions, or a number of other methodologies. Quantitative research paints a clearer, more reliable picture of a user base and their behaviours, while qualitative research allows for a more in-depth explanation of those behaviours. Effective researchers will use a variety of methodologies to identify and solve user problems. +Designers must consider whether they working with _qualitative_ or _quantitative_ data. [Quantitative research](https://www.codecademy.com/resources/docs/uiux/quantitative-research) data can be expressed numerically, such as "75% of users who reach this page exit the site" or "65% of survey respondents are men aged 30-45." Quantitative research can take the form of site tracking, closed-ended survey questions, or behavioural assessment, among other methodologies. [Qualitative research](https://www.codecademy.com/resources/docs/uiux/qualitative-research) data typically expresses judgement or evaluation from individual respondents. A qualitative report might read, "User expressed difficulty discerning text from a background with colour combination A" or "Researcher observed user frustration trying to access feature B." Designers seeking qualitative data can utilize interviews, open-ended survey questions, or a number of other methodologies. Quantitative research paints a clearer, more reliable picture of a user base and their behaviours, while qualitative research allows for a more in-depth explanation of those behaviours. Effective researchers will use a variety of methodologies to identify and solve user problems. When creating user research studies, designers will also consider whether they want to perform _attitudinal_ or _behavioural_ research. [Attitudinal research](https://www.codecademy.com/resources/docs/uiux/attitudinal-research) relies on self-reported data to discern users' opinions or preferences, while [behavioural research](https://www.codecademy.com/resources/docs/uiux/behavioral-research) observes user actions, either in real use cases or in controlled environments. Attitudinal research allows researchers to gather _more_ information; they might ask clarifying questions to further discussion in a focus group or include open-ended questions about reasons behind user preference in a survey. Behavioural research allows researchers to gather _reliable_ information; users may respond one way when considering a hypothetical but behave differently when using the product themselves. Both types of research can provide valuable insight in making design decisions. From 56bfb1dc247b2538969841b66bcc732ac6803055 Mon Sep 17 00:00:00 2001 From: THE-Spellchecker Date: Fri, 2 Jan 2026 23:39:12 -0600 Subject: [PATCH 3/4] Even More Typographical Fixes --- .../concepts/array-constructors/array-constructors.md | 2 +- content/python/concepts/built-in-functions/terms/open/open.md | 2 +- .../python/concepts/collections-module/terms/deque/deque.md | 2 +- content/python/concepts/dates/terms/date/date.md | 2 +- content/python/concepts/deque/terms/clear/clear.md | 2 +- content/python/concepts/enum/enum.md | 2 +- .../functools-module/terms/singledispatch/singledispatch.md | 2 +- .../functools-module/terms/total-ordering/total-ordering.md | 2 +- .../concepts/math-module/terms/math-isfinite/math-isfinite.md | 2 +- content/python/concepts/sets/terms/add/add.md | 2 +- .../statsmodels/terms/chi-squared-tests/chi-squared-tests.md | 4 ++-- .../statsmodels/terms/diagnostic-plots/diagnostic-plots.md | 2 +- content/python/concepts/statsmodels/terms/logit/logit.md | 2 +- .../statistical-distributions/statistical-distributions.md | 2 +- content/python/concepts/statsmodels/terms/t-tests/t-tests.md | 2 +- content/pytorch/concepts/autograd/autograd.md | 4 ++-- .../concepts/nn/terms/loss-functions/loss-functions.md | 2 +- .../pytorch/concepts/tensor-operations/terms/asinh/asinh.md | 2 +- content/pytorch/concepts/tensor-operations/terms/erfc/erfc.md | 2 +- .../tensor-operations/terms/floor-divide/floor-divide.md | 2 +- .../concepts/tensor-operations/terms/reshape-as/reshape-as.md | 2 +- content/pytorch/concepts/tensors/tensors.md | 2 +- content/pytorch/concepts/tensors/terms/arange/arange.md | 2 +- content/ruby/concepts/files/files.md | 2 +- .../concepts/scipy-signal/terms/find-peaks/find-peaks.md | 2 +- content/sklearn/concepts/clustering/clustering.md | 2 +- .../concepts/isotonic-regression/isotonic-regression.md | 2 +- .../multilabel-classification/multilabel-classification.md | 2 +- 28 files changed, 30 insertions(+), 30 deletions(-) diff --git a/content/postgresql/concepts/array-constructors/array-constructors.md b/content/postgresql/concepts/array-constructors/array-constructors.md index d270a293c9e..848b298c1b2 100644 --- a/content/postgresql/concepts/array-constructors/array-constructors.md +++ b/content/postgresql/concepts/array-constructors/array-constructors.md @@ -37,7 +37,7 @@ INSERT INTO example1 (numbers) VALUES (ARRAY[1, 2, 3, 4]); INSERT INTO example1 (numbers) VALUES ('{5, 6, 7, 8}'); ``` -When the example above is run it would create a a table name called `example1` with 2 rows. The `numbers` column contains a one-dimensional array of integers. +When the example above is run it would create a table name called `example1` with 2 rows. The `numbers` column contains a one-dimensional array of integers. `example1` table: diff --git a/content/python/concepts/built-in-functions/terms/open/open.md b/content/python/concepts/built-in-functions/terms/open/open.md index d4da65ed463..8978687db19 100644 --- a/content/python/concepts/built-in-functions/terms/open/open.md +++ b/content/python/concepts/built-in-functions/terms/open/open.md @@ -128,7 +128,7 @@ Mike Johnson works in HR and earns $65000 per year. This example demonstrates opening a CSV file with specific parameters. The `newline=""` parameter ensures consistent newline handling across different platforms, and `encoding="utf-8"` specifies the character encoding to properly handle international characters. -## Frequenty Asked Questionss +## Frequently Asked Questions
1. Does `open()` create a file in Python? diff --git a/content/python/concepts/collections-module/terms/deque/deque.md b/content/python/concepts/collections-module/terms/deque/deque.md index 4b9038cd182..c8fdca13327 100644 --- a/content/python/concepts/collections-module/terms/deque/deque.md +++ b/content/python/concepts/collections-module/terms/deque/deque.md @@ -23,7 +23,7 @@ my_deque = deque(iterable, maxlen) ``` - `my_deque`: The name of the deque object to be created. -- `iterable`: The iterable to be used for intializing the deque. +- `iterable`: The iterable to be used for initializing the deque. - `maxlen`: The maximum length for the deque. ## Example diff --git a/content/python/concepts/dates/terms/date/date.md b/content/python/concepts/dates/terms/date/date.md index 5b6a63ee30f..4db4205fff8 100644 --- a/content/python/concepts/dates/terms/date/date.md +++ b/content/python/concepts/dates/terms/date/date.md @@ -100,7 +100,7 @@ It's perfect for real-world scenarios like food, coupons, or subscription expira > **Note:** The outputs produced for all these example codes will vary depending on the input dates and the current date when the code is run. -## Frequenty Asked Questions +## Frequently Asked Questions
1. Can I use `.date()` on a `date` object? diff --git a/content/python/concepts/deque/terms/clear/clear.md b/content/python/concepts/deque/terms/clear/clear.md index e167b9e56de..a02eeb95451 100644 --- a/content/python/concepts/deque/terms/clear/clear.md +++ b/content/python/concepts/deque/terms/clear/clear.md @@ -46,7 +46,7 @@ print(f"Initial deque is as follows: {cars}") # Clearing the deque cars.clear() -# If statement to check if the deque has been sucessfully cleared +# If statement to check if the deque has been successfully cleared if not cars: print("the deque is empty") ``` diff --git a/content/python/concepts/enum/enum.md b/content/python/concepts/enum/enum.md index dcf8a0c759f..29a346aa2f2 100644 --- a/content/python/concepts/enum/enum.md +++ b/content/python/concepts/enum/enum.md @@ -36,7 +36,7 @@ class EnumName(Enum): The `enum` module provides the `Enum` class for creating enumerations. It also includes: -- `IntEnum`: Ensures that the values of the enuemration are integers. +- `IntEnum`: Ensures that the values of the enumeration are integers. - `Flag`: Allows combining constants with bitwise operations. - `Auto`: Automatically assigns values to the enumeration members. diff --git a/content/python/concepts/functools-module/terms/singledispatch/singledispatch.md b/content/python/concepts/functools-module/terms/singledispatch/singledispatch.md index 954c3ee4f5b..a15945282c1 100644 --- a/content/python/concepts/functools-module/terms/singledispatch/singledispatch.md +++ b/content/python/concepts/functools-module/terms/singledispatch/singledispatch.md @@ -34,7 +34,7 @@ def func(arg, ...): - `singledispatch()` returns a single-dispatch generic function object. - Additional implementations can be registered for different types using the .register(type) method on the generic function. -## Example 1: Creat a generic function `process` +## Example 1: Create a generic function `process` This example uses the `singledispatch` decorator to handle different input types in a custom way: diff --git a/content/python/concepts/functools-module/terms/total-ordering/total-ordering.md b/content/python/concepts/functools-module/terms/total-ordering/total-ordering.md index afbed3a2abd..04f8f9225e3 100644 --- a/content/python/concepts/functools-module/terms/total-ordering/total-ordering.md +++ b/content/python/concepts/functools-module/terms/total-ordering/total-ordering.md @@ -59,7 +59,7 @@ print(Number(5) >= Number(5)) print(Number(7) > Number(1)) ``` -The outout of this code is: +The output of this code is: ```shell True diff --git a/content/python/concepts/math-module/terms/math-isfinite/math-isfinite.md b/content/python/concepts/math-module/terms/math-isfinite/math-isfinite.md index ca022e1d961..4c3f8aea2f3 100644 --- a/content/python/concepts/math-module/terms/math-isfinite/math-isfinite.md +++ b/content/python/concepts/math-module/terms/math-isfinite/math-isfinite.md @@ -17,7 +17,7 @@ The **`math.isfinite()`** function returns `True` when a number is finite and `F ## Syntax -```psuedo +```pseudo math.isfinite(x) ``` diff --git a/content/python/concepts/sets/terms/add/add.md b/content/python/concepts/sets/terms/add/add.md index 100b4606a31..02a6aec2913 100644 --- a/content/python/concepts/sets/terms/add/add.md +++ b/content/python/concepts/sets/terms/add/add.md @@ -65,7 +65,7 @@ After adding string: {1, 2, 3, 4, 'hello'} The code demonstrates that adding an existing element (2) does not affect the set, while new elements are successfully added regardless of their data type. -## Example 2: Using Pythons's `.add()` in User Management System +## Example 2: Using Python's `.add()` in User Management System This example shows how to use `.add()` in a practical user management scenario where there is a need to track unique user IDs: diff --git a/content/python/concepts/statsmodels/terms/chi-squared-tests/chi-squared-tests.md b/content/python/concepts/statsmodels/terms/chi-squared-tests/chi-squared-tests.md index 96b9009dd56..21a21aacae5 100644 --- a/content/python/concepts/statsmodels/terms/chi-squared-tests/chi-squared-tests.md +++ b/content/python/concepts/statsmodels/terms/chi-squared-tests/chi-squared-tests.md @@ -18,7 +18,7 @@ The **Chi-Square test** in statsmodels is used to test whether observed proporti ## Syntax -```psuedo +```pseudo scipy.stats.chisquare(f_obs, f_exp=None, ddof=0, axis=0) ``` @@ -62,7 +62,7 @@ else: print("Fail to reject the null hypothesis: The proportions are not significantly different.") ``` -The code above generates the ouput as follows: +The code above generates the output as follows: ```shell Chi-square statistic: 38.0 diff --git a/content/python/concepts/statsmodels/terms/diagnostic-plots/diagnostic-plots.md b/content/python/concepts/statsmodels/terms/diagnostic-plots/diagnostic-plots.md index 603ee49a3a9..74772726c52 100644 --- a/content/python/concepts/statsmodels/terms/diagnostic-plots/diagnostic-plots.md +++ b/content/python/concepts/statsmodels/terms/diagnostic-plots/diagnostic-plots.md @@ -33,7 +33,7 @@ The `plot_partregress_grid()` method generates diagnostic plots for all explanat The syntax for using `plot_partregress_grid()` is: -```psuedo +```pseudo results.plot_partregress_grid() ``` diff --git a/content/python/concepts/statsmodels/terms/logit/logit.md b/content/python/concepts/statsmodels/terms/logit/logit.md index 439b888ff31..1b321281b0f 100644 --- a/content/python/concepts/statsmodels/terms/logit/logit.md +++ b/content/python/concepts/statsmodels/terms/logit/logit.md @@ -64,7 +64,7 @@ const -110.4353 2.23e+05 -0.000 1.000 -4.38e+05 4.38e+05 x1 44.2438 9.07e+04 0.000 1.000 -1.78e+05 1.78e+05 ============================================================================== -Complete Separation: The results show that there iscomplete separation or perfect prediction. +Complete Separation: The results show that there is complete separation or perfect prediction. In this case the Maximum Likelihood Estimator does not exist and the parameters are not identified. ``` diff --git a/content/python/concepts/statsmodels/terms/statistical-distributions/statistical-distributions.md b/content/python/concepts/statsmodels/terms/statistical-distributions/statistical-distributions.md index 45d5fce5964..6d834c17b56 100644 --- a/content/python/concepts/statsmodels/terms/statistical-distributions/statistical-distributions.md +++ b/content/python/concepts/statsmodels/terms/statistical-distributions/statistical-distributions.md @@ -66,7 +66,7 @@ for point, prob in zip(points, probabilities): print(f"P(X ≤ {point:.1f}) = {prob:.3f}") ``` -The code above generates the ouput as follows: +The code above generates the output as follows: ```shell Cumulative probabilities: diff --git a/content/python/concepts/statsmodels/terms/t-tests/t-tests.md b/content/python/concepts/statsmodels/terms/t-tests/t-tests.md index 1e8d639caec..5b95ad37e13 100644 --- a/content/python/concepts/statsmodels/terms/t-tests/t-tests.md +++ b/content/python/concepts/statsmodels/terms/t-tests/t-tests.md @@ -61,7 +61,7 @@ else: print("Fail to reject the null hypothesis: No significant difference from 10.") ``` -The code above generates the following ouput: +The code above generates the following output: ```shell t-statistic: -1.2545000963743562 diff --git a/content/pytorch/concepts/autograd/autograd.md b/content/pytorch/concepts/autograd/autograd.md index 01fd9850887..55ecc08b3be 100644 --- a/content/pytorch/concepts/autograd/autograd.md +++ b/content/pytorch/concepts/autograd/autograd.md @@ -166,7 +166,7 @@ tensor([[[27., 27., 27.], [27., 27., 27.]]], grad_fn=) ``` -Backpropogate with random numbers. +Backpropagate with random numbers. > **Note** This function will fail if the retained variables are not specified in earlier steps. @@ -177,7 +177,7 @@ y.backward(gradient) print(x.grad) ``` -This example results in the following ouptut: +This example results in the following output: ```shell Tensor([[[ 3.9394, 5.6904, 3.2610], diff --git a/content/pytorch/concepts/nn/terms/loss-functions/loss-functions.md b/content/pytorch/concepts/nn/terms/loss-functions/loss-functions.md index 7893357c0c3..561226e7498 100644 --- a/content/pytorch/concepts/nn/terms/loss-functions/loss-functions.md +++ b/content/pytorch/concepts/nn/terms/loss-functions/loss-functions.md @@ -90,7 +90,7 @@ The output for this example will be as follows: ```shell Initial Loss: 1.0875437259674072 -Loss after one optimiation step: 1.0775121450424194 +Loss after one optimization step: 1.0775121450424194 ``` ## Example 2 diff --git a/content/pytorch/concepts/tensor-operations/terms/asinh/asinh.md b/content/pytorch/concepts/tensor-operations/terms/asinh/asinh.md index 2b8d5f2881f..4b4f1b149e9 100644 --- a/content/pytorch/concepts/tensor-operations/terms/asinh/asinh.md +++ b/content/pytorch/concepts/tensor-operations/terms/asinh/asinh.md @@ -20,7 +20,7 @@ The PyTorch method **`.asinh()`** returns the inverse hyperbolic sine of each el ## Syntax -```psuedo +```pseudo torch.asinh(input, *, out=None) → Tensor ``` diff --git a/content/pytorch/concepts/tensor-operations/terms/erfc/erfc.md b/content/pytorch/concepts/tensor-operations/terms/erfc/erfc.md index 44c64281f32..f180de8be08 100644 --- a/content/pytorch/concepts/tensor-operations/terms/erfc/erfc.md +++ b/content/pytorch/concepts/tensor-operations/terms/erfc/erfc.md @@ -14,7 +14,7 @@ CatalogContent: - 'paths/computer-science' --- -In PyTorch, the **`.erfc()`** function returns the complementary error function of of each element in the input [tensor](https://www.codecademy.com/resources/docs/pytorch/tensors). The complementary error function is written as: +In PyTorch, the **`.erfc()`** function returns the complementary error function of each element in the input [tensor](https://www.codecademy.com/resources/docs/pytorch/tensors). The complementary error function is written as: $$erfc(x)= 1 - \frac{2}{\sqrt{\pi}}\int_0^1 e^{-t^2} dt$$ diff --git a/content/pytorch/concepts/tensor-operations/terms/floor-divide/floor-divide.md b/content/pytorch/concepts/tensor-operations/terms/floor-divide/floor-divide.md index e6176442b4a..b40bf0c8d8a 100644 --- a/content/pytorch/concepts/tensor-operations/terms/floor-divide/floor-divide.md +++ b/content/pytorch/concepts/tensor-operations/terms/floor-divide/floor-divide.md @@ -36,7 +36,7 @@ It returns a new tensor of the same shape as the `input`, containing the result ## Example -In this example, we use `floor_divide()` to perform divison of two tensors `x` and `y` : +In this example, we use `floor_divide()` to perform division of two tensors `x` and `y` : ```py import torch diff --git a/content/pytorch/concepts/tensor-operations/terms/reshape-as/reshape-as.md b/content/pytorch/concepts/tensor-operations/terms/reshape-as/reshape-as.md index 0bbc9837595..415cf5a4d4b 100644 --- a/content/pytorch/concepts/tensor-operations/terms/reshape-as/reshape-as.md +++ b/content/pytorch/concepts/tensor-operations/terms/reshape-as/reshape-as.md @@ -42,7 +42,7 @@ import torch tensor_a = torch.arange(6) # Other tensor -# 2D tensor with shpae (2, 3) +# 2D tensor with shape (2, 3) tensor_b = torch.zeros(2, 3) # Reshape tensor_a to the shape of tensor_b diff --git a/content/pytorch/concepts/tensors/tensors.md b/content/pytorch/concepts/tensors/tensors.md index 68a96cb1ac7..3df0b335ee7 100644 --- a/content/pytorch/concepts/tensors/tensors.md +++ b/content/pytorch/concepts/tensors/tensors.md @@ -26,7 +26,7 @@ CatalogContent: Tensors can be created with several methods. If the values within the tensor do not matter, `torch.empty()` should be used: -```psuedo +```pseudo myTensor = torch.empty(dimension1Size, dimension2Size, dimensionNSize) ``` diff --git a/content/pytorch/concepts/tensors/terms/arange/arange.md b/content/pytorch/concepts/tensors/terms/arange/arange.md index 95802d896db..066ea1b45ef 100644 --- a/content/pytorch/concepts/tensors/terms/arange/arange.md +++ b/content/pytorch/concepts/tensors/terms/arange/arange.md @@ -1,6 +1,6 @@ --- Title: '.arange()' -Description: 'Returns a 1-dimentional tensor with values from a specified range.' +Description: 'Returns a 1-dimensional tensor with values from a specified range.' Subjects: - 'AI' - 'Data Science' diff --git a/content/ruby/concepts/files/files.md b/content/ruby/concepts/files/files.md index 83df36013b3..b9f4f06ba1c 100644 --- a/content/ruby/concepts/files/files.md +++ b/content/ruby/concepts/files/files.md @@ -28,7 +28,7 @@ Common modes include the following: | `r` | Read: Start from the beginning of the file. | | `r+` | Read and write: Start from the beginning of the file. | | `w` | Write: Start from the beginning of the file. | -| `w+` | Rread and write: Overwrite the existing or create a new one. | +| `w+` | Read and write: Overwrite the existing or create a new one. | | `a` | Append (write-only): Start writing from the end of the existing file or create a new one. | | `a+` | Append (read and write): Start reading and/or writing from the end of the existing file or create a new one. | diff --git a/content/scipy/concepts/scipy-signal/terms/find-peaks/find-peaks.md b/content/scipy/concepts/scipy-signal/terms/find-peaks/find-peaks.md index d73a9c83975..8c0e39bc254 100644 --- a/content/scipy/concepts/scipy-signal/terms/find-peaks/find-peaks.md +++ b/content/scipy/concepts/scipy-signal/terms/find-peaks/find-peaks.md @@ -27,7 +27,7 @@ scipy.signal.find_peaks(x, height=None, threshold=None, distance=None, prominenc - `prominence` (Optional): Minimum prominence of peaks. - `width` (Optional): Required width of peaks in samples. - `wlen` (Optional): Used for calculating the prominence of peaks; specifies the size of the window. -- `rel_height` (Otional): Used for measuring the width at relative height. +- `rel_height` (Optional): Used for measuring the width at relative height. - `plateau_size` (Optional): Specifies the size of flat peaks (plateaus). ## Example diff --git a/content/sklearn/concepts/clustering/clustering.md b/content/sklearn/concepts/clustering/clustering.md index 29749484371..bde828a26f3 100644 --- a/content/sklearn/concepts/clustering/clustering.md +++ b/content/sklearn/concepts/clustering/clustering.md @@ -40,7 +40,7 @@ Several methods can be used to evaluate clusters, including visual inspection, S Sklearn provides the `KMeans` class for implementing clustering. -```psuedo +```pseudo KMeans(n_clusters=8, *, init='k-means++', n_init= 'auto', max_iter=300, tol=0.0001, verbose=0, random_state=None, copy_x=True, algorithm='lloyd') ``` diff --git a/content/sklearn/concepts/isotonic-regression/isotonic-regression.md b/content/sklearn/concepts/isotonic-regression/isotonic-regression.md index 2ccd28fd650..d2e52d751ec 100644 --- a/content/sklearn/concepts/isotonic-regression/isotonic-regression.md +++ b/content/sklearn/concepts/isotonic-regression/isotonic-regression.md @@ -14,7 +14,7 @@ CatalogContent: - 'paths/intermediate-machine-learning-skill-path' --- -**Isotonic Regression** is a technique of using a free-form line to establish a non-linear path. The path is created by a set of data points. In this technique, predictor variables and target vairables increase or decrease, monotonically, in a non-oscilatory manner. The word "isotonic" (_iso_ and _tonos_) comes from the Greek, meaning _equal_ and _to stretch_, respectively. +**Isotonic Regression** is a technique of using a free-form line to establish a non-linear path. The path is created by a set of data points. In this technique, predictor variables and target variables increase or decrease, monotonically, in a non-oscillatory manner. The word "isotonic" (_iso_ and _tonos_) comes from the Greek, meaning _equal_ and _to stretch_, respectively. ## Syntax diff --git a/content/sklearn/concepts/multilabel-classification/multilabel-classification.md b/content/sklearn/concepts/multilabel-classification/multilabel-classification.md index 1a517c24ce3..79f626c2bf1 100644 --- a/content/sklearn/concepts/multilabel-classification/multilabel-classification.md +++ b/content/sklearn/concepts/multilabel-classification/multilabel-classification.md @@ -22,7 +22,7 @@ Scikit-learn offers tools like `OneVsRestClassifier`, `ClassifierChain`, and `Mu ## Syntax -Here's the syntax for using multiabel classification in sklearn: +Here's the syntax for using multilabel classification in sklearn: ```pseudo from sklearn.multioutput import MultiOutputClassifier From 3b52cf8ec967f9b1db674a13c0ea15bc14e70c21 Mon Sep 17 00:00:00 2001 From: THE-Spellchecker Date: Fri, 2 Jan 2026 23:39:12 -0600 Subject: [PATCH 4/4] Spacing Fix --- content/ruby/concepts/files/files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/ruby/concepts/files/files.md b/content/ruby/concepts/files/files.md index b9f4f06ba1c..4e541d894cf 100644 --- a/content/ruby/concepts/files/files.md +++ b/content/ruby/concepts/files/files.md @@ -28,7 +28,7 @@ Common modes include the following: | `r` | Read: Start from the beginning of the file. | | `r+` | Read and write: Start from the beginning of the file. | | `w` | Write: Start from the beginning of the file. | -| `w+` | Read and write: Overwrite the existing or create a new one. | +| `w+` | Read and write: Overwrite the existing or create a new one. | | `a` | Append (write-only): Start writing from the end of the existing file or create a new one. | | `a+` | Append (read and write): Start reading and/or writing from the end of the existing file or create a new one. |